From patchwork Thu Jun 27 08:39:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 20424 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id D36E4BD87C for ; Thu, 27 Jun 2024 08:41:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2260462C97; Thu, 27 Jun 2024 10:41:11 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="n0ECOGCq"; dkim-atps=neutral Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 33FC062C94 for ; Thu, 27 Jun 2024 10:41:08 +0200 (CEST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45R8f4GU037613 for ; Thu, 27 Jun 2024 03:41:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719477664; bh=htMUTiPtkDrjPgwX3QyCqssYMyQ9T5/xoQcj22eMwZc=; h=From:To:CC:Subject:Date; b=n0ECOGCqpyE1E/qRyU3dPC/LX5TZ5L/QU7k8U/5yt0uVsag/lqLToTPEaKu0L6pKT CKNRJ8RUC52dEOmW/KNQvBBmsY7UjYKdNNmWwA+jB+oaYtI9nMhee0Y60K6WLipsrN 7pYFuIbYdW2Ei68Rr60zc3JNppmS2BA39DukVI98= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45R8f49S080092 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 27 Jun 2024 03:41:04 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 27 Jun 2024 03:41:04 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 27 Jun 2024 03:41:04 -0500 Received: from localhost (jluthra.dhcp.ti.com [172.24.227.116]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45R8f3AP012249; Thu, 27 Jun 2024 03:41:04 -0500 From: Jai Luthra To: CC: Jai Luthra Subject: [PATCH] libcamera: pipeline: simple: Enable Soft ISP for TI CSI-RX Date: Thu, 27 Jun 2024 14:09:38 +0530 Message-ID: <20240627083938.554370-1-j-luthra@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=991; i=j-luthra@ti.com; h=from:subject; bh=pRAuV0skJWAU8n6bjTUH/nFHx1w+4IJicuTCQCdI99c=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBmfSU4gUO/bng6JPOfpQL3cIbbra5MlVOWGOMg6 uC/1v0cpV6JAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZn0lOAAKCRBD3pH5JJpx RYZGD/9uVrATz5VWfhsfIW0XMLIp5ugkWikCCp/UsGaJ1ONF2EHIV+1zAzaqprFjGxUsLgJJEyO gAGmponLOTSPU5JfqH+W4bYk3/JWTV0wp9PwEPeasMEgPe/o+sPcCziG7FcHqI/wKRmm23GFt8f DdD0SbUR2dZkM//a6BQGzyNq95tn2mhq9EV8v5XE/9rdHfyP14iIk1zAq7CX92EYDMjH9a+Eo06 bxxoBEPgoNOVgKV9ou233AaLznIEYDSCgvmKjWhURhxOywtKOhCGQtnTD9tnHh7Gz2LQvPVe1v1 OHTtokP9APNp+h/DogxQuroK0acCuLxjZYhFGpW0tGHyHWl6sl7tCCXuSsUG/EWDUz5g1V//SwV YHGpu+6rm/wvec2KflAWiBS+P25U9P8UB0/v7sglmh8iM7rsBMY3J08jht/tQX+OYikSBT/I2Mi lBgHsDrEYTMmCus96YeTMyRofFp3cv3qe1qz9gN8z39dip9UNFfJPmA+npsucnfXeQuVZsdETWa tPjC5l29QZWr/ATU2eiC1X2rKTyDc6nbra2qJ2FNJtgURThjqDQUkGqVTMI5h1Km7kNqDtlJP3J Za4/TCA7/vxlGINF4W2NKYgzQagrT64UZb3JT+e9HfYhTvhPunyZ4n4Cqv8xOl1hW6rdvItASuH nvosGeNiqHxznLQ== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The j721e-csi2rx driver pipeline uses no converters, so enable the software ISP plugin support. This is handy for boards with AM62 SoC (like BeaglePlay) that have no HW ISP. Tested with IMX519 on SK-AM62 running a kernel built with dmabuf heap support. Signed-off-by: Jai Luthra Reviewed-by: Umang Jain Tested-by: Jai Luthra Tested-by: Milan Zamazal Reviewed-by: Kieran Bingham --- src/libcamera/pipeline/simple/simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index eb36578e..812c492e 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -198,7 +198,7 @@ namespace { static const SimplePipelineInfo supportedDevices[] = { { "dcmipp", {}, false }, { "imx7-csi", { { "pxp", 1 } }, false }, - { "j721e-csi2rx", {}, false }, + { "j721e-csi2rx", {}, true }, { "mtk-seninf", { { "mtk-mdp", 3 } }, false }, { "mxc-isi", {}, false }, { "qcom-camss", {}, true },