From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 0854B446BF8 for ; Mon, 12 Oct 2026 07:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791789951; cv=none; b=VZRZyFqmb1TbFiRugUol7DdKKSuGOTGxszGmP3Kgz74a0J6XxgUUBeNoVH++R+dleMlrUsyMgapBiC9Q2uLtgKVyIxA/zMM8MdMslqIKlAwsuuKIf8JmPkTcylSTUghduEyGh3qpeJLJAoXiYGrTsXvcDBex4Jbq0Uaz0wtnKHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791789951; c=relaxed/simple; bh=2zyEq/VgBCcszsUxIMduV8bFDSXymxQnEYZbjCF+dpM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TtMBxKoCVnYTiOrEmELJcijFYMvB+U5bH3Aztoa5fCofRcM7gcRO565v2ZTX9fcYcUBui6Kw+1QiANbzsyn4DrlkhBpNlz+GGmZdVQA3yXrUM94hxMBEYy+qhwP1MNk1ruNZUU+UUACI/6R8fw3aOUhW+yWp5a/+TzguLf2/c30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YN13EJaI; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fn6AMDbV; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YN13EJaI"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fn6AMDbV" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69C55ugM4068700 for ; Mon, 12 Oct 2026 07:25:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= eVrFzhkPhx/K8T47whMXfQOfvS7XMcsmwu6sHgWPleg=; b=YN13EJaIvp73y27D Zh3me5UNfED3vH0Uxz/8SyqWMwoEJj6KnD2XLQoMmAJ5BI4VezkUmO5BwgUDnSXU ANJBjSN+RB8Yjt/0CnOD89TKVnl095sjcE3vpUbsz97Om+pg7Xw6fKMdx8dxlGKY Pycw7YF7B7aFQujH1w17S5dmkPvzIkxwzuP1/U/ca51JOfY0LZnPZKvKjKFyFy2d kmQ2sMYa4cKe+tnspfFXqJ5QFR8g/CmzNjKf6nAH2qXjo/d9xCFOTCzS+s0SIqVf /X9y9LyhPGnV5M8xvpTK+ScWcKNqB/hN0kEY55pQ8OuUwe1Z7aA07RmoDJ2Ra5Cp sWefBQ== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h7ehjnbkn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 12 Oct 2026 07:25:47 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-93cb71b1443so354187785a.2 for ; Mon, 12 Oct 2026 00:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1791789946; x=1792394746; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=eVrFzhkPhx/K8T47whMXfQOfvS7XMcsmwu6sHgWPleg=; b=fn6AMDbVjs8D6KIImLZCQS/QigkBG4R6jZ1k6ARKZK34kfGWNZEs/T46uvskRfC/oC yHgG5HnERcqvgLm+U4FNimuf1u4ctAdL4swQEi/qLM1rqLXltfdhz71JDu5ARAnRLm3I XdyiN/HbXwaDmDQbIPGbo+9/xUYH2F7MYmuB8SYLcSwxlvYTcHOGMcmOEPbGrEQKM6rm 6g3j8qq8oeBk8Py4K0d+L4OveI2e153ivAJ2NpZQMLetMGKf2pF83bWaYKXviz91/yoI fwm7Q1Tb2r4cXWpIsvmSz8RsPteGJHEzqUUyEJ03IAQbJuIwQYd/k9KYeZkQABm5wMdT IWdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791789946; x=1792394746; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eVrFzhkPhx/K8T47whMXfQOfvS7XMcsmwu6sHgWPleg=; b=Dz9UjFOkrWxwMHk/WEg5ZOKBEhPoqTVr+U35ttcHG2+vaYconkAZZ3mXulp7seFNIB GvnN/rKVS/k2O+/5fxwdIddwonQWFVXHyp0hPABwK5S7XHPJKa+LNwvocIDOHTii8r8S oLpM6C5QwRk8JCUVEqKIdmRvBTz2Qk0y7ZaBk62RzNfKIjhL1VLb96F4y4x/BFv5TlQB 7S5uj3BIzUtY+APd79FJEy20MRRhcAm6krlHH0o6SaNCxErycjGwdTSh823Tl7kVKMkz TR1iKM3bh9qPYF8BqOTA0paUVPfBzcVnjwWrPoO1Rkkc2Gw2BIZfYXNFIRXb+1bK7k/E rhXQ== X-Forwarded-Encrypted: i=1; AKwUvBx9kkKseF8HUIiuYzeSUXauVE8GNM+RylvmPLz30UZuQ87y5++z/jTWhk1jmc3OG+jN0WGMAQP7SoFqkQ==@vger.kernel.org X-Gm-Message-State: AFq9FYLq4z6EK/K81oUv//e3Pn8CGeJXli24/zTJgcgQT9whgs5GhAVj riXw/k6kZoEbEXGDOKGG1UwrDYnB+CVxCAPYOLP2eq3TLxfGB4JRPRtp1Uk8eQDOhPDASNxoySY SBuq/eYJ7Gfpwa52FjVkmzbSKpmT6Mm/jSCQ3RvwOV2WZZMDxGCLkQkfIL81SUJyFBA== X-Gm-Gg: AYBFou1tZuMJfh5MX8ZtkPg9Q9t0fSG1y1OaSZ6EIuunKJrzc1CxLHCaAXdeMWlXPwb P+8hu5p7M1dabqA9y3xRTDMm7D93Ng7+9yCQ+wokpZSZGEnuNQDi1DQ/ORRMglD7JJtyGB6Z60M PZOBnRlrJ6q68n/f++TAQKsUwoJE1Su5i7eZk+7sfrXTPxjafNrtRzBrFf+3zwpwaskzHsqHBxC m8GkFeqqJUluUgnUXk8TE91+GUZv+OeY2dgevlqxvZ8Dp4Eo/261g4eqjVcuw9E9jq29PQ4HpDZ MS5URPsB5fzsDXojb69QBCnVb2e66yJnTvkbIHtt+NkZGYJPmuw7XvF5MaaW0oZD5zcnJObE+Nr JAy8WusgbeTNWpX/mgY3CGXlv12EyW/DSwW5l7b0= X-Received: by 2002:a05:620a:31a7:b0:939:c71d:8d15 with SMTP id af79cd13be357-93ebd229eb4mr1472632685a.14.1791789946176; Mon, 12 Oct 2026 00:25:46 -0700 (PDT) X-Received: by 2002:a05:620a:31a7:b0:939:c71d:8d15 with SMTP id af79cd13be357-93ebd229eb4mr1472629785a.14.1791789945613; Mon, 12 Oct 2026 00:25:45 -0700 (PDT) Received: from [192.168.1.31] ([85.196.172.179]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a19f249692sm122840815e9.3.2026.10.12.00.25.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Oct 2026 00:25:44 -0700 (PDT) Message-ID: Date: Mon, 12 Oct 2026 10:25:42 +0300 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/8] media: qcom: camss: add V4L2 subdev streams API support To: Hitesh Patel Cc: Bryan O'Donoghue , Mauro Carvalho Chehab , Vladimir Zapolskiy , Loic Poulain , 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 References: <20260911062213.195007-1-gjorgji.rosikopulos@oss.qualcomm.com> <20260915121515.17207-1-hitesh@ebytelogic.com> Content-Language: en-US From: "Gjorgji Rosikopulos (Consultant)" In-Reply-To: <20260915121515.17207-1-hitesh@ebytelogic.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDEyMDAyOSBTYWx0ZWRfXw6i8YJcLlNUy 5O3ozBCGSjrtEYFRWIf211D+blb3Bk6kgDcbBsO8kwXCi0/tVwA1k+NQWXdrLth2ibz/p6+FUT+ QyX3l+aezbR/y0V37PnY6Os1QArKKGi8jXDOmyUobHJw1V/hem23h0h0u1mKk9P134Gto+DJAR1 7fhv/brbKf2dRlsVO6BobMCHDFM9uVyvkM9lH/4dE/n6Aox1sTZaXwyibih9X2BoIbtqqEl4rle SLsM+Z/NYD0FNe7eaMbZVWt6nZMgtpRKm8Y1HKD5h63g+JPmOdhgYRDFYldQKEPg09/qEKTTCiQ kuEq3rPBTFDsMLUMQcBit7Fr31YapRsd2p2G7vKB+4ZHigNp/fwidhezIeC4u/H5X3PSJB+EanZ YpzVOsngDvowkjrTzMTXqDdvllUtfkoS9/+MQZSvArp82QYmNYtmasoHQqFRKGPOs9TxB5ylq15 4uGxO5hke6hnaSZkwZA== X-Proofpoint-ORIG-GUID: 4FD3oxQrrJ73gQqnD48UGcDjRfkO8Rbm X-Authority-Analysis: v=2.4 cv=MpTHeGae c=1 sm=1 tr=0 ts=6acc8b7b cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=Q/e3f29T3Hw2hnAEzBPF7w==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=ZovgdgjKAAAA:8 a=EEfcIT1LpWLEK3Zwr9YA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=NFOGd7dJGGMPyQGDc5-O:22 a=VOxKbm1zgHvARWIDjr3b:22 X-Proofpoint-GUID: 4FD3oxQrrJ73gQqnD48UGcDjRfkO8Rbm X-Proofpoint-Spam-Info: AW1haW4tMjYxMDEyMDAyOSBTYWx0ZWRfX2HFTho359XzA YLqeOGWabLkVdsNgFxRv0xWN2wP+rnqt4sFbh5zHeWz+ZtXthyvGwE2jx5TA7dem7R3M7L+DrB5 Pg8Rs0csja8bVfY+mzJVFJ5iuJusWXc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-12_02,2026-10-09_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610120029 Hi Hitesh, Thank you for testing and verifying this—I really appreciate it. I don’t have the SER/DES setup on my side, so I’ll rely on your verification. On 9/15/2026 3:15 PM, Hitesh Patel wrote: > Hi Gjorgji, > > I tested this series on RB3 Gen2 (QCS6490 / SC7280) with two GMSL > cameras behind a MAX9296A deserializer, one camera per CSI-2 port, so > that the deserializer subdev heads two independent camss pipelines. > That is the case my own series [1] patches 6-8 tried to handle in > camss-video; with your series enabled on SC7280 they are not needed, > and I have dropped them from v2 of that series. > > Results with streams_enable set on the SC7280 CSIPHY/CSID/VFE > resources (patch below): > > - each camera alone, repeated start/stop: 5/5 and 5/5 > - both cameras streaming at the same time: works > - the second camera started and stopped 8 times while the first one > keeps streaming: 7/8, the first camera never disturbed. The one miss > is a sensor/serializer settling issue we see on every kernel when > the second camera is started within ~2 s of the first, unrelated to > camss. > - CSID test pattern generator still works. Thanks good to hear. > > One problem found, fixed by the first patch below: with the streams > API a non-lite CSID registers 4 pads, but camss_link_entities() still > links CSID source pad MSM_CSID_PAD_FIRST_SRC + j to line j of every > VFE. On SC7280 the non-lite csid0 is linked to vfe_lite0, which has > four lines, so it asks for source pad 4 and the driver fails to probe: > > 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 Hmm, i need to check, thank you for catching this. > > SM8250 does not see it because of csid_vfe_fixed_pairing. You may > prefer to fold the guard into patch 4, or keep all MSM_CSID_PADS_NUM > pads for the non-lite CSID; either works for me. Yes i will take a look and verify with other boards i have. Bryan has comment for that as well and most probably will be removed in v2 since the 4'th line on full IFE will be functional soon. > > A note on the test tree: the series applies cleanly to next-20260911, > but our board runs the qualcomm-linux qcom-next branch (v7.2), whose > camss-csiphy.c has a legacy/generic-PHY ops split that yours does not > know about. I ported the CSIPHY part by hand there (a second > csiphy_streams_v4l2_ops carrying the legacy core ops, and the > enable/disable_streams helpers calling csiphy_set_stream_legacy() when > csiphy->phy is not available). Worth keeping in mind if this series > is meant to land in qcom-next as well. > > The three VFE fixes in [1] (buffer done gating, write master > selection on 17x, VFE reset with another line streaming) are needed > on top of your series too for two RDI lines on one VFE; they are > independent and I have kept them in v2. Maybe they will need small rework afterm stream_api flag is changes with list of SoC's which support stream_api. > > [1] https://lore.kernel.org/linux-media/20260914133416.1030231-1-hitesh@ebytelogic.com/ > > Tested-by: Hitesh Patel > > Hitesh Patel (2): > media: qcom: camss: Do not link CSID source pads the CSID does not have > media: qcom: camss: Enable the streams API on SC7280 > > (the two patches follow as replies to this mail) Thanks i will look at them. ~Gjorgji