{"id":19410,"url":"https://patchwork.libcamera.org/api/1.1/patches/19410/?format=json","web_url":"https://patchwork.libcamera.org/patch/19410/","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":"<20240116091754.100654-2-paul.elder@ideasonboard.com>","date":"2024-01-16T09:17:52","name":"[libcamera-devel,1/3] ipa: rkisp1: Add IMX8MP_V10 version","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"a57f15f59b383e181b814876d307a12867721c56","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/1.1/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19410/mbox/","series":[{"id":4143,"url":"https://patchwork.libcamera.org/api/1.1/series/4143/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4143","date":"2024-01-16T09:17:51","name":"i.MX8MP support, plus misc fixes","version":1,"mbox":"https://patchwork.libcamera.org/series/4143/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19410/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19410/checks/","tags":{},"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 9D16FC328C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 16 Jan 2024 09:18:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 39299628B6;\n\tTue, 16 Jan 2024 10:18:35 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3AD34628AD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 16 Jan 2024 10:18:32 +0100 (CET)","from pyrite.hamster-moth.ts.net (h175-177-049-156.catv02.itscom.jp\n\t[175.177.49.156])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A367A3D9;\n\tTue, 16 Jan 2024 10:17:22 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1705396715;\n\tbh=M1cBQW1K2xGU/8SjiXVt7UtdIp5cFeWCtJ1uMDJ8Sgk=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=ytLY/epQ9f0R7mc56+hqVf7IoIwKdW+9vcNsixhzH+IT4rHKFntZOVIzwUZVHBgcS\n\tPkrcSJAlXDdLpqSnu31wyMkidBgJ8n0SYxHkZASmZz+sqTrt/hmaJ0Sjv+et5paftS\n\tkfFlrVG/LPpQzZhef+n/156PGdJvbfL9StxAoPcDD1V/mZNTKsxORQqiol9HGUjzMX\n\tdiQZlVzRso9bAcHj3fgBhK7Wgbo+OguUF/gqB563NizePfptax8cwrAchOajhfUp1/\n\tb8Q10vKsZiEnnbgPocQ2XsdbBzl7/QqlBb7GD32yCO9/MWEr79y3lyRm6MUPKZdY8a\n\t+59CeOJKMW8jg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1705396643;\n\tbh=M1cBQW1K2xGU/8SjiXVt7UtdIp5cFeWCtJ1uMDJ8Sgk=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=KBf4+UOsoO9oH9hjHg3knCmJ89wefpiRwtnAjSmgPvRZn/GaUGZdACb+F37FXNzcr\n\tNmPhRvdTygY3QujrUtWeWPJjOug/dI2rRaT8Hz4XZKIPDPJ4Ylj6r9iXKTGZxgpPTC\n\tH/WVzdiPfwfMMa1AThmpnplUjh/Sscfr2fx5xBbY="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"KBf4+UOs\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 16 Jan 2024 18:17:52 +0900","Message-Id":"<20240116091754.100654-2-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.39.2","In-Reply-To":"<20240116091754.100654-1-paul.elder@ideasonboard.com>","References":"<20240116091754.100654-1-paul.elder@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/3] ipa: rkisp1: Add IMX8MP_V10 version","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>","From":"Paul Elder via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Paul Elder <paul.elder@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add the version number for IMX8MP_V10, and initialize values for it.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n include/linux/rkisp1-config.h | 1 +\n src/ipa/rkisp1/rkisp1.cpp     | 1 +\n 2 files changed, 2 insertions(+)","diff":"diff --git a/include/linux/rkisp1-config.h b/include/linux/rkisp1-config.h\nindex ec7cde8cd..0ed3dca8f 100644\n--- a/include/linux/rkisp1-config.h\n+++ b/include/linux/rkisp1-config.h\n@@ -185,6 +185,7 @@ enum rkisp1_cif_isp_version {\n \tRKISP1_V11,\n \tRKISP1_V12,\n \tRKISP1_V13,\n+\tIMX8MP_V10,\n };\n \n enum rkisp1_cif_isp_histogram_mode {\ndiff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp\nindex 6544c925b..aa73b7db1 100644\n--- a/src/ipa/rkisp1/rkisp1.cpp\n+++ b/src/ipa/rkisp1/rkisp1.cpp\n@@ -128,6 +128,7 @@ int IPARkISP1::init(const IPASettings &settings, unsigned int hwRevision,\n \t/* \\todo Add support for other revisions */\n \tswitch (hwRevision) {\n \tcase RKISP1_V10:\n+\tcase IMX8MP_V10:\n \t\thwHistBinNMax_ = RKISP1_CIF_ISP_HIST_BIN_N_MAX_V10;\n \t\thwGammaOutMaxSamples_ = RKISP1_CIF_ISP_GAMMA_OUT_MAX_SAMPLES_V10;\n \t\thwHistogramWeightGridsSize_ = RKISP1_CIF_ISP_HISTOGRAM_WEIGHT_GRIDS_SIZE_V10;\n","prefixes":["libcamera-devel","1/3"]}