{"id":11311,"url":"https://patchwork.libcamera.org/api/1.1/covers/11311/?format=json","web_url":"https://patchwork.libcamera.org/cover/11311/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210216122624.27940-1-dafna.hirschfeld@collabora.com>","date":"2021-02-16T12:26:21","name":"[libcamera-devel,0/3] rkisp1: add an initial support to different hw revision","submitter":{"id":46,"url":"https://patchwork.libcamera.org/api/1.1/people/46/?format=json","name":"Dafna Hirschfeld","email":"dafna.hirschfeld@collabora.com"},"mbox":"https://patchwork.libcamera.org/cover/11311/mbox/","series":[{"id":1697,"url":"https://patchwork.libcamera.org/api/1.1/series/1697/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1697","date":"2021-02-16T12:26:21","name":"rkisp1: add an initial support to different hw revision","version":1,"mbox":"https://patchwork.libcamera.org/series/1697/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11311/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 9B6FCBD1EF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 16 Feb 2021 12:26:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DAB01637E5;\n\tTue, 16 Feb 2021 13:26:37 +0100 (CET)","from bhuna.collabora.co.uk (bhuna.collabora.co.uk\n\t[IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0251E60D37\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 16 Feb 2021 13:26:36 +0100 (CET)","from guri.fritz.box (unknown\n\t[IPv6:2a02:810a:880:f54:806:ee8a:d491:814b])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits))\n\t(No client certificate requested) (Authenticated sender: dafna)\n\tby bhuna.collabora.co.uk (Postfix) with ESMTPSA id B90F61F453AB;\n\tTue, 16 Feb 2021 12:26:30 +0000 (GMT)"],"From":"Dafna Hirschfeld <dafna.hirschfeld@collabora.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 16 Feb 2021 13:26:21 +0100","Message-Id":"<20210216122624.27940-1-dafna.hirschfeld@collabora.com>","X-Mailer":"git-send-email 2.17.1","Subject":"[libcamera-devel] [PATCH 0/3] rkisp1: add an initial support to\n\tdifferent hw revision","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"heiko@sntech.de, kernel@collabora.com","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"In kernel v5.11 the rkisp1 uapi had changed to support\ndifferent hardware versions. See [1]\nThis patchsets updates the uapi header and adds support\nto hardware version 10 only.\nIn the future we want to add support to version V12.\nSee revisions documentation at [2].\n\nThe patchset is based on v8 of the 3 IPA isolation patchsets.\n\n[1] https://patchwork.kernel.org/project/linux-media/list/?series=419197\n\n[2] https://www.kernel.org/doc/html/latest/admin-guide/media/rkisp1.html?highlight=revisions#revisions\n\n\nDafna Hirschfeld (3):\n  libcamera: media_device: add hwRevision method\n  src: rkisp1: return error from ipa's configure method if it fails\n  ipa: rkisp1: update the uapi to the latest kernel version\n\n include/libcamera/internal/media_device.h |  2 +\n include/libcamera/ipa/rkisp1.mojom        |  4 +-\n include/linux/rkisp1-config.h             | 88 ++++++++++++++++++++---\n src/ipa/rkisp1/rkisp1.cpp                 | 23 ++++--\n src/libcamera/media_device.cpp            |  1 +\n src/libcamera/pipeline/rkisp1/rkisp1.cpp  |  8 ++-\n 6 files changed, 104 insertions(+), 22 deletions(-)"}