From nobody Fri Sep 25 06:03:57 2026 Received: from MA0PR01CU009.outbound.protection.outlook.com (mail-southindiaazon11020125.outbound.protection.outlook.com [52.101.227.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACDFD3EE1FE; Wed, 16 Sep 2026 06:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.227.125 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789541681; cv=fail; b=DJTA/1uIkC6435i62HIzHCflTetYsFl7hotXnvs4HXCjDEsDFkzrpnNF8bNsAnwOYdP1nLR3ocQ8VVsj1/oia5Io3qz2rqcUtMZbqNBFQcazHPE9cu5db2HH04L6ZH2zugU+QANBJ+dQJ9jQB6FELRYlSk6DFQt83jJC4bHxc2s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789541681; c=relaxed/simple; bh=bPf2dl7temTDbJhUDBmvz72zSdfy2QG2TX0JPssYnPk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=qotQYStadMTzf3BzHN8FSflZOiLb/45WOI1EiZDsdZpEJSJrBsdVIBOPNpH82qKq53G+nvLUmnwfkfFWpx77ReNOP3qu3ZceGUgvN8PBQVrK2mI1+mv6/QsGtCTTMeN2lyfLzKOjp23ttLDr+YmCNAaK9DWm8/ohkNqt9BfGwJM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ebytelogic.com; spf=pass smtp.mailfrom=ebytelogic.com; arc=fail smtp.client-ip=52.101.227.125 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ebytelogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ebytelogic.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mpfxKCE0Wzmp3DbaEr0kW7wInShVQa1aZW98dX631NBwQWNAIcDZoDXu8ADlV78fwvSnaYOIXX/xkXCmTmCX7Uf6fywEjsOCdIaJpjasby1aYOrJVNwv5bvjKQ60U53gvu9WglzzmIIkzJ2Y+l73dQ1JcFCu+DqO2fmZshoeC3lEUPBc3nOckm22LIJZprJFdqkBWDWIS+30AQMrkw9V3SUnOOE+ZiVZJyhOBOpCBm7pqGe2L5TMUXexeCeIL02006C4lNC/rCAD5m1ARYNJ/UlPBl7cgGCnTD6kPYdZ6mC/ZscqYU8U9YqN9aefpTKtS3buLcnPHbCubhM9A0kK7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=08x6uP2phNEUvWj4gmufpxViKxxfECs0QQ4QPhUPqug=; b=Q/G/B49ja5yxX2x4R42aG5s2/0g2d95sMZj1Rm1haNhHbcBVMHAFpi1LtlP7bQiZTwT591J5aB+NyufTrPIfrDBcrtknlQLdjBbmRpZfBktCf/fph+C1Bt7aCjPAYzx8zdFahlyNTyYLuW7v/tEZ3ztfAMT31hU2qDyQdmrxdGAjg6qnvKXt5vDePDEJzEkE0IsbYK1Qk8EV0mWnNiHvVnd3UUoV8dsfu3Fr00fgxeNV594Mr2PC8Jc8nXdC0nmP3SULZnrYEw6k04WEif4cJVJbXDmvPN6d+7X0axUaJ5frXfVS1cDObZrJDVHLndRlejAPjkQ7Cwc/XGtW5MPkqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ebytelogic.com; dmarc=pass action=none header.from=ebytelogic.com; dkim=pass header.d=ebytelogic.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ebytelogic.com; Received: from PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM (2603:1096:c04:1::97) by MA0P287MB0330.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:b1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.9; Wed, 16 Sep 2026 06:54:34 +0000 Received: from PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM ([fe80::df75:6e8c:7def:a08e]) by PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM ([fe80::df75:6e8c:7def:a08e%6]) with mapi id 15.21.0428.009; Wed, 16 Sep 2026 06:54:33 +0000 From: Hitesh Patel To: Gjorgji Rosikopulos Cc: Bryan O'Donoghue , Vladimir Zapolskiy , Loic Poulain , Mauro Carvalho Chehab , Dmitry Baryshkov , Atanas Filipov , Jigarkumar Zala , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ravi@ebytelogic.com, Hitesh Patel Subject: [PATCH v3 1/2] media: qcom: camss: Do not link CSID source pads the CSID does not have Date: Wed, 16 Sep 2026 12:24:21 +0530 Message-ID: <20260916065422.819512-2-hitesh@ebytelogic.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260916065422.819512-1-hitesh@ebytelogic.com> References: <20260915121536.19207-1-hitesh@ebytelogic.com> <20260916065422.819512-1-hitesh@ebytelogic.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: PN2PEPF000001B1.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c04::d) To PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM (2603:1096:c04:1::97) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PN3PPF28092842E:EE_|MA0P287MB0330:EE_ X-MS-Office365-Filtering-Correlation-Id: ca1f5f5c-f30b-4af4-87d8-08df13bf5d53 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|10070799003|23010399003|18002099003|22082099003|10067099003|56012099006|4143699003; X-Microsoft-Antispam-Message-Info: BhDlmiW5gOhPSc17Snasjj3htrzj9lfT6OvXUUvebwyRQZYwGGy21IsjUEoJt72UVs3HJQ6endGHC+XbIGDIWPfR1N5Z3ueRmeob967qdwra95DEPSrbUshqZxKCGfvJdjDEQNUwcfViiDDipH2uNrBckkgGtupiwPod61ItE5tbDzlSg+J4WcsZ4ytkTvFxqM7/fDO+zw2J+nJjrA5Tt1KYUkQeqCvjOjRmNxW0vpnjHNQHCGlACSd9dy7oJAlnuH6t2PBt/YyZWzUvbOIkE4DWWYUhxYcgCARsslo04MUR6VKeKCJ4dp+uQWFZ12aA3xNdyc+3HxKdezZ04bE6VBwxOdvZ4lc8vlNuHv/JI8rMlSzoXrX69oyGf+VIn2PaTNB7qvq3MA3596e3c9UcZ7HeRt8nB5iKJwnnVOzEEgi8zqvtXoXH8l7GSlOPl60/Amge4OPgqQ+qb3d6OsTknpUrSbHBd0twYC5mxGSC6vHG25DpkC0ZavVv1SoEi6PzGpwdz3GmTb0qs/3hOxy/TK6tP4BjjotDgSG36le6Fh79h6+dCcLvtMNfCt0T2FIQOIZrElO686HJQa+Fk4WZC+Esl0F6Teb1oCMCtACK9PRxsIjG20w9oS11BHttSWx4ApwMkN7f+A6h50ZDv88uP6cjPYbuMY0BFTfDT4vME5A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(7416014)(376014)(10070799003)(23010399003)(18002099003)(22082099003)(10067099003)(56012099006)(4143699003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2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=?us-ascii?Q?QOPNoYqr7S5t51YzmbUi8O+M9FDKy/biGfo1psw6ej0KL5mVGOvDesydB+sE?= X-MS-Exchange-AntiSpam-MessageData-1: /rMefDNQxve05Q== X-OriginatorOrg: ebytelogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca1f5f5c-f30b-4af4-87d8-08df13bf5d53 X-MS-Exchange-CrossTenant-AuthSource: PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2026 06:54:33.7243 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 13bdb17c-4ae8-490c-90c1-ec8121ef96ee X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4zXDAiO2+hkRA0E3EJ8p0s1sa0XFYE9bh55NJ8P3wWD5EeC41WZt/GSKdbFeTBMaLnd9ERcytl3gqstfEEKQKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MA0P287MB0330 Content-Type: text/plain; charset="utf-8" With the streams API a non-lite CSID registers MSM_CSID_PADS_NUM - 1 pads, one source pad per RDI0..2, while a lite CSID keeps all MSM_CSID_PADS_NUM pads. camss_link_entities() still links source pad MSM_CSID_PAD_FIRST_SRC + j of every CSID to line j of every VFE. On SC7280 the non-lite csid0 is linked to vfe_lite0, which has four lines, so the loop asks for csid0 source pad 4: WARNING: drivers/media/mc/mc-entity.c:1150 media_create_pad_link qcom-camss acb3000.isp: Failed to link msm_csid0->msm_vfe3_rdi3 entities:= -22 qcom-camss acb3000.isp: probe with driver qcom-camss failed with error -22 SM8250 does not hit this because csid_vfe_fixed_pairing only links csid[i] to vfe[i]. Every other platform that links all CSIDs to all VFEs fails to probe as soon as streams_enable is set on a non-lite CSID. Skip the VFE lines for which the CSID has no source pad. This patch applies on top of Gjorgji Rosikopulos' series "media: qcom: camss: add V4L2 subdev streams API support" (see Link below); it does not build without it. Signed-off-by: Hitesh Patel Link: https://lore.kernel.org/r/20260911062213.195007-1-gjorgji.rosikopulos= @oss.qualcomm.com --- v3: no code change. Reference the prerequisite series with a Link: tag instead of a long URL in the text (checkpatch line-length warning). v2: no code change. Add the dependency to the commit message and as base-commit/prerequisite-patch-id trailers, so patchwork and the Media CI do not try to build the patches standalone. drivers/media/platform/qcom/camss/camss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/plat= form/qcom/camss/camss.c index 9bfb02903..0201debd4 100644 --- a/drivers/media/platform/qcom/camss/camss.c +++ b/drivers/media/platform/qcom/camss/camss.c @@ -5022,6 +5022,9 @@ static int camss_link_entities(struct camss *camss) struct v4l2_subdev *csid =3D &camss->csid[i].subdev; struct v4l2_subdev *vfe =3D &camss->vfe[k].line[j].subdev; =20 + if (MSM_CSID_PAD_FIRST_SRC + j >=3D csid->entity.num_pads) + continue; + ret =3D media_create_pad_link(&csid->entity, MSM_CSID_PAD_FIRST_SRC + j, &vfe->entity, --=20 2.43.0 base-commit: 68142f986ff04b2b70b31db00f719bf690f64a9a prerequisite-patch-id: 285e8b983e45d4184863e92ae99ebe46bb4f7020 prerequisite-patch-id: e8dce2cee0678cc20446f3a4a286c4a3c10d19f6 prerequisite-patch-id: d0bf82158d99863344c206a543d3e381b24a3b51 prerequisite-patch-id: ddffbfdffba948a608fc556a5ca81b9dabae7e00 prerequisite-patch-id: dca159c5eecf280ea7ce7c67f5da2364c8449759 prerequisite-patch-id: 220ee607579892058879cad0ed9344f6696313c8 prerequisite-patch-id: d7665451d090c8d4684c79736ac517d6c7ddc1fc prerequisite-patch-id: f297c801f0254862e4fc8440dbd27473a8b78159 From nobody Fri Sep 25 06:03:57 2026 Received: from MA0PR01CU009.outbound.protection.outlook.com (mail-southindiaazon11020125.outbound.protection.outlook.com [52.101.227.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D3913F1040; Wed, 16 Sep 2026 06:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.227.125 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789541683; cv=fail; b=iK0G/BBlgSAYQHYxZepsLbeDLJBooQRiyKr7wCg2USrLngdjBOmbKn9vpmoE4EMQt43nJS24k34YSODbp4Z+SdjUMrfyEMD+ZrOCo7+R9ZufnmjPpWtltMDDV8W25AsP/muxq6dMYgBe7R24PYJBTERVIiFsf7nSnaCv8TiAXDQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789541683; c=relaxed/simple; bh=+kCVru0R9K+Ctx7fWJzyjOzOr/GBpRL6Wtf5msp1eE0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=e0WKiMbgonCN5YxXfRroZgn5dj8kXK5Q69/UkM1OgOVoOWSfbI7VRJIP3+QoLy9r/VKtQBEOqIy2BiIShHTX1Vp4LAANsyE4PF2IEAdi65uc+EhtunYZCanfsVAooTGYSTHhW1Y+ne6mI55uk/AOUY0bFLTF7o0tY00iB7/zZbg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ebytelogic.com; spf=pass smtp.mailfrom=ebytelogic.com; arc=fail smtp.client-ip=52.101.227.125 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ebytelogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ebytelogic.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yW9mc5FxkDYCYnE7Rg+KZnzVqv5DJGC7+F+GgVzDjCSmlgfIlk/ZSTZ7Jcu7sD89x2z2FJayYWPqFOfCk0C4t8WRD0o9AzzegA7R9sB3XMzijzZF+Hq7lYWhA3tYyxxwsPiBHeUs8S+9nPNfX5nGl7icMgBn+NvWMM99FHVkJPXo8ug2KMiOx/Rg03Q1OhaDZggc+ap1tTfwDniFS43DWgGUMA9XVAOYXriwlOhYQngVjmyGAVWa3DaMte+EK1vgYtaNy+JV6srMFHu8r/yhtlWIJDxUJLTZ82VO01d9fsXBoQIKJ8own9MCloZ/mTtVOZfe4Z9c7UCxZGcS6D8DAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zyAaesjNJciu8X8jtU/RiXVtz+gtk5rvLQpsZjCT+n0=; b=lPv4a8p+QwGq59VjHvE0IkjNLudiQ+EWHkRAL0DMVOFAH1hcHpNLiE1FmP18KfSDjUCW5OKf7oNyxu6jLZXHSoPX2hWV1ikZR/hXu/d0IGXytPJ49TA1dMVcJlcYqlddXGtC5QKUIjJw9wra0vPXwVmFkkL1Kvto8hREJkeTMr17DFgaK5zrb4V6Ab+8mjsLzYiJe9EjVj8TBTPsavBvo7uK8cBoL+sigU/uLZTi7UDo/Mycxl9fmK4ECpmHrNCKhX8n/VBZT08UElmrtNLe6teUuRTVoIugNhd3M31fJ4IDyw/qXqKh/8HFvgqsXaqWEE4gzhQFZ+gul/TRhgIvEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ebytelogic.com; dmarc=pass action=none header.from=ebytelogic.com; dkim=pass header.d=ebytelogic.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ebytelogic.com; Received: from PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM (2603:1096:c04:1::97) by MA0P287MB0330.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:b1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.428.9; Wed, 16 Sep 2026 06:54:39 +0000 Received: from PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM ([fe80::df75:6e8c:7def:a08e]) by PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM ([fe80::df75:6e8c:7def:a08e%6]) with mapi id 15.21.0428.009; Wed, 16 Sep 2026 06:54:39 +0000 From: Hitesh Patel To: Gjorgji Rosikopulos Cc: Bryan O'Donoghue , Vladimir Zapolskiy , Loic Poulain , Mauro Carvalho Chehab , Dmitry Baryshkov , Atanas Filipov , Jigarkumar Zala , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ravi@ebytelogic.com, Hitesh Patel Subject: [PATCH v3 2/2] media: qcom: camss: Enable the streams API on SC7280 Date: Wed, 16 Sep 2026 12:24:22 +0530 Message-ID: <20260916065422.819512-3-hitesh@ebytelogic.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260916065422.819512-1-hitesh@ebytelogic.com> References: <20260915121536.19207-1-hitesh@ebytelogic.com> <20260916065422.819512-1-hitesh@ebytelogic.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: PN2PEPF000001B1.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c04::d) To PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM (2603:1096:c04:1::97) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PN3PPF28092842E:EE_|MA0P287MB0330:EE_ X-MS-Office365-Filtering-Correlation-Id: 100361a6-976b-49b5-f7b2-08df13bf60c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|10070799003|23010399003|18002099003|22082099003|10067099003|56012099006|4143699003; X-Microsoft-Antispam-Message-Info: 37D9BpdHxYWrUpytJP27WP2X9Mo9AQqk0wITkZJNNluPTlJELKMpBSn6H6IXk2sKDg37Rmf/bWRhPA1/eroIQK1WQ/t8u2hefkbB4vB5wW1lSarQ2P1TeBZViXO03lFDe3LhAd4kC38wXflvFpU+J9p9OOAP2i87YAcOYXRWXd4STNe6e1oT6M0cL9qnA7jf437wF+1KInsw3P8TFPCwigh+W586hUqLjvagXbkWgUQLYSYG+/37mumZPZksvu1wITDGujXQvOkyZ1GKe7s5OZLbKsLyV2/O1VFtFEtMSW9l5mZwFJBzlW+0BKxgCmK06rg9vwD8snHz+Q0UePtjlwGTGO7ZGWrZoLBcgryqqzN5r8ac1RDeMvFmEeyinMgvbTZHr1jPQIe9r0XKcasA0UOQtw3VkYDjeGn9+6yMHu8imYMgIYyNpNQuE3NiGm9ZWALTkktNJ9UjcjooRfAwlCIW6wcD5lAMMrA4TYivo7zjARHEiN/ijd2+w8NtCSO+iNP2HVeoS7NjSWPllKE7d49+aTVAwGMmQQT0QAryaJOfF8YS7A1wnoUxEn/CH4Zvk7VjKmHTPbSdzLUbTieuKlp/O1zOxq554QeY9BUSq+AsU8OdyY0amdqqW2ZvFKSy3Ay2xG7eeRQQQCUDh2JJXg1iW+6o8o/dSgoPebtC278= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(7416014)(376014)(10070799003)(23010399003)(18002099003)(22082099003)(10067099003)(56012099006)(4143699003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Sv7/5uVsvXBves8lW/xliprLSTU4W3KcjmQX/1WplkXypSi+wp/f4lwnsmeG?= =?us-ascii?Q?SOeqw0XdDnhaLKL6kd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q?ehaIljXisytf/H5csXWWDFU3U/HXk6Amchq8MQsZ4auX1iOAYkMaL4bSENSn?= =?us-ascii?Q?SMn8jaaMg/rGJLM+WLcIttSRlHM/BMJog9Nk4xAyFzFgZn4C3l7HkIa3aSDV?= =?us-ascii?Q?/RE6HpjtBcfkd/w96ggydLK67g+Yyi7uZVuL4fKiPlCzGUySRFy3VGIkoj6F?= =?us-ascii?Q?tihK7V1owz2ZbD2riMwQbog5fpce8zPzSip6485jIlp1WU5ueDcp1a7fhqoe?= =?us-ascii?Q?n89XKHYhJRZQ+uVG62f/JdnenVvxm3YgaW6K1N/4L1vIcChljojflmwXnDK8?= =?us-ascii?Q?6kNsy4wHIA4rP1BaMd+GDt43MUAy1v4ZNCd9bBS48Bre+UTN/wlZ0qWu14Yz?= =?us-ascii?Q?bjLGEYdd/fY6PCs/KCKbZS8VDeZ3j6RjEiYHHI45w4IfxOdOUh9gGjCGu4nr?= =?us-ascii?Q?bK06rXRhEuulgFN/+aA2jqMBewQHeKgys5proZcPDl9belbM4xG3pch7AJji?= =?us-ascii?Q?SiqtEJvfk2uE+r2FOCgsiPWFKjoWKb1E2OuazaG9v0Szpd0cDLKQsXLHuCJM?= =?us-ascii?Q?ysildzUHHwX6dyEP6zMDfZWf7cltrCSMjsh9MAVrp7DzxFxaqWR98kr0BJAC?= =?us-ascii?Q?jx3gSEMH2sAW/TOnxTkcZEP4sO4V+Ora3Pbe+c9+vvJElCNNGHKZEp6sdEEn?= =?us-ascii?Q?bCoQcBWvp4csMom5+IbMvC1Om7vvo118c/FGd0lEY+/DefKjWcwIFLa6pFcU?= =?us-ascii?Q?MibCPAXgb0/+5n2ZN5jkZMXKSLyXuUxRdrl57r8RZRycxslnvjtu+N/UCRCS?= =?us-ascii?Q?6a6T6fLbgnfpWzS+BFUIxKRzqpxmekqwrO3CiZPACs87w22sWwQCZvjTqGHC?= X-MS-Exchange-AntiSpam-MessageData-1: utDzh1jIO3Z1Cg== X-OriginatorOrg: ebytelogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: 100361a6-976b-49b5-f7b2-08df13bf60c1 X-MS-Exchange-CrossTenant-AuthSource: PN3PPF28092842E.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2026 06:54:39.5598 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 13bdb17c-4ae8-490c-90c1-ec8121ef96ee X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xZszOSeHX8pfJgSeAxZXMAdMxzhZdGNlAHf8uF00sse9gu/iKjmLVn4kCd/ubv20578quyfE3e9lChu1khYByA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MA0P287MB0330 Content-Type: text/plain; charset="utf-8" Set streams_enable on every CSIPHY, CSID and VFE line of SC7280, as done for SM8250. Tested on RB3 Gen2 (QCS6490) with two GMSL cameras behind a MAX9296A deserializer, one camera per CSI-2 port, so two independent pipelines share the deserializer subdev: both cameras stream concurrently, and each can be started and stopped repeatedly while the other keeps streaming, without the WARN in call_s_stream() and without the second pipeline tearing the first one down that the legacy s_stream path produces. The CSID test pattern generator keeps working. This patch applies on top of Gjorgji Rosikopulos' series "media: qcom: camss: add V4L2 subdev streams API support" (see Link below); it does not build without it. Signed-off-by: Hitesh Patel Link: https://lore.kernel.org/r/20260911062213.195007-1-gjorgji.rosikopulos= @oss.qualcomm.com --- v3: no code change. Reference the prerequisite series with a Link: tag instead of a long URL in the text (checkpatch line-length warning). v2: no code change. Add the dependency to the commit message and as base-commit/prerequisite-patch-id trailers, so patchwork and the Media CI do not try to build the patches standalone. drivers/media/platform/qcom/camss/camss.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/plat= form/qcom/camss/camss.c index 0201debd4..2023c0df2 100644 --- a/drivers/media/platform/qcom/camss/camss.c +++ b/drivers/media/platform/qcom/camss/camss.c @@ -2280,6 +2280,7 @@ static const struct camss_subdev_resources csiphy_res= _7280[] =3D { .reg =3D { "csiphy0" }, .interrupt =3D { "csiphy0" }, .csiphy =3D { + .streams_enable =3D true, .id =3D 0, .hw_ops =3D &csiphy_ops_3ph_1_0, .formats =3D &csiphy_formats_sdm845, @@ -2298,6 +2299,7 @@ static const struct camss_subdev_resources csiphy_res= _7280[] =3D { .reg =3D { "csiphy1" }, .interrupt =3D { "csiphy1" }, .csiphy =3D { + .streams_enable =3D true, .id =3D 1, .hw_ops =3D &csiphy_ops_3ph_1_0, .formats =3D &csiphy_formats_sdm845, @@ -2316,6 +2318,7 @@ static const struct camss_subdev_resources csiphy_res= _7280[] =3D { .reg =3D { "csiphy2" }, .interrupt =3D { "csiphy2" }, .csiphy =3D { + .streams_enable =3D true, .id =3D 2, .hw_ops =3D &csiphy_ops_3ph_1_0, .formats =3D &csiphy_formats_sdm845, @@ -2334,6 +2337,7 @@ static const struct camss_subdev_resources csiphy_res= _7280[] =3D { .reg =3D { "csiphy3" }, .interrupt =3D { "csiphy3" }, .csiphy =3D { + .streams_enable =3D true, .id =3D 3, .hw_ops =3D &csiphy_ops_3ph_1_0, .formats =3D &csiphy_formats_sdm845, @@ -2352,6 +2356,7 @@ static const struct camss_subdev_resources csiphy_res= _7280[] =3D { .reg =3D { "csiphy4" }, .interrupt =3D { "csiphy4" }, .csiphy =3D { + .streams_enable =3D true, .id =3D 4, .hw_ops =3D &csiphy_ops_3ph_1_0, .formats =3D &csiphy_formats_sdm845, @@ -2373,6 +2378,7 @@ static const struct camss_subdev_resources csid_res_7= 280[] =3D { .reg =3D { "csid0" }, .interrupt =3D { "csid0" }, .csid =3D { + .streams_enable =3D true, .is_lite =3D false, .hw_ops =3D &csid_ops_gen2, .parent_dev_ops =3D &vfe_parent_dev_ops, @@ -2392,6 +2398,7 @@ static const struct camss_subdev_resources csid_res_7= 280[] =3D { .reg =3D { "csid1" }, .interrupt =3D { "csid1" }, .csid =3D { + .streams_enable =3D true, .is_lite =3D false, .hw_ops =3D &csid_ops_gen2, .parent_dev_ops =3D &vfe_parent_dev_ops, @@ -2411,6 +2418,7 @@ static const struct camss_subdev_resources csid_res_7= 280[] =3D { .reg =3D { "csid2" }, .interrupt =3D { "csid2" }, .csid =3D { + .streams_enable =3D true, .is_lite =3D false, .hw_ops =3D &csid_ops_gen2, .parent_dev_ops =3D &vfe_parent_dev_ops, @@ -2430,6 +2438,7 @@ static const struct camss_subdev_resources csid_res_7= 280[] =3D { .reg =3D { "csid_lite0" }, .interrupt =3D { "csid_lite0" }, .csid =3D { + .streams_enable =3D true, .is_lite =3D true, .hw_ops =3D &csid_ops_gen2, .parent_dev_ops =3D &vfe_parent_dev_ops, @@ -2449,6 +2458,7 @@ static const struct camss_subdev_resources csid_res_7= 280[] =3D { .reg =3D { "csid_lite1" }, .interrupt =3D { "csid_lite1" }, .csid =3D { + .streams_enable =3D true, .is_lite =3D true, .hw_ops =3D &csid_ops_gen2, .parent_dev_ops =3D &vfe_parent_dev_ops, @@ -2475,6 +2485,7 @@ static const struct camss_subdev_resources vfe_res_72= 80[] =3D { .reg =3D { "vfe0" }, .interrupt =3D { "vfe0" }, .vfe =3D { + .streams_enable =3D true, .line_num =3D 3, .is_lite =3D false, .has_pd =3D true, @@ -2501,6 +2512,7 @@ static const struct camss_subdev_resources vfe_res_72= 80[] =3D { .reg =3D { "vfe1" }, .interrupt =3D { "vfe1" }, .vfe =3D { + .streams_enable =3D true, .line_num =3D 3, .is_lite =3D false, .has_pd =3D true, @@ -2527,6 +2539,7 @@ static const struct camss_subdev_resources vfe_res_72= 80[] =3D { .reg =3D { "vfe2" }, .interrupt =3D { "vfe2" }, .vfe =3D { + .streams_enable =3D true, .line_num =3D 3, .is_lite =3D false, .hw_ops =3D &vfe_ops_170, @@ -2551,6 +2564,7 @@ static const struct camss_subdev_resources vfe_res_72= 80[] =3D { .reg =3D { "vfe_lite0" }, .interrupt =3D { "vfe_lite0" }, .vfe =3D { + .streams_enable =3D true, .line_num =3D 4, .is_lite =3D true, .hw_ops =3D &vfe_ops_170, @@ -2573,6 +2587,7 @@ static const struct camss_subdev_resources vfe_res_72= 80[] =3D { .reg =3D { "vfe_lite1" }, .interrupt =3D { "vfe_lite1" }, .vfe =3D { + .streams_enable =3D true, .line_num =3D 4, .is_lite =3D true, .hw_ops =3D &vfe_ops_170, --=20 2.43.0 base-commit: 68142f986ff04b2b70b31db00f719bf690f64a9a prerequisite-patch-id: 285e8b983e45d4184863e92ae99ebe46bb4f7020 prerequisite-patch-id: e8dce2cee0678cc20446f3a4a286c4a3c10d19f6 prerequisite-patch-id: d0bf82158d99863344c206a543d3e381b24a3b51 prerequisite-patch-id: ddffbfdffba948a608fc556a5ca81b9dabae7e00 prerequisite-patch-id: dca159c5eecf280ea7ce7c67f5da2364c8449759 prerequisite-patch-id: 220ee607579892058879cad0ed9344f6696313c8 prerequisite-patch-id: d7665451d090c8d4684c79736ac517d6c7ddc1fc prerequisite-patch-id: f297c801f0254862e4fc8440dbd27473a8b78159