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 45EE33B27DF for ; Wed, 10 Jun 2026 09:05: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=1781082350; cv=none; b=ttD5rdCb3UWTX7xYYqHfOXDZ0ne/hYplkzKYWF0l2XlGAWPqyl3Nt7yTaLFuezCCt53hRIbWwiiGOJAt6FkXm7efIGdGtf5nNiOnGUmgw2ISmjSkbkFB57kh04KGyMDY5DpehGjG3Fos5daSVO0pc2+IcCaITByHpR0a/vMoStI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781082350; c=relaxed/simple; bh=SjbeGkZ14nH3FHoo2Fp8ZC9T+ZmoLwgWWghUJiFESRk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pSuODVKGjY/51KsqazwHMfFAeBtov6+j4Ytjca6dmZHtj+sAs4CW7H5bYLClGW9b9K/jqDYOjoy9UnIB8TXH6SR0uCRIJMC+itNwTVIDhLApvo8jeUd5DCSoknWGySGtTdtcvWFXYTDQ4/WuDnqIKUInkD3UlX4d7QVcB3xLdzQ= 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=PcF0+Ijg; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=KH+rrrr1; 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="PcF0+Ijg"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="KH+rrrr1" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65A7hmkx531543 for ; Wed, 10 Jun 2026 09:05: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= 2LeGRSc392ydFD5fvgT6QlW6NVIB2YHULelRqvgneF0=; b=PcF0+IjgrhwmQDrM HXnNpZ8BlAhTAQc5XQ5X3tRGcEiywVlp/tZ7xrZzlrhMlQb7VWnVZjH/2ntwOXRk +QQAxVRGnUVDvp8klb0wGS1RKeaJmerXEHt6QF0dVYIC4EYPNehVeIp2kvst+74a tej5La713HR/FvEQIgVVWFjlU2L9ExMtWhSFiGgn5GR2rlyh2WFzwfkF9FcNffmP L8ZH7wXY7IOEyWbdO8S0o9mY748pD8RSZ+4V+N0qQPn6/Jx3uD3rE7ndTCmZtOrL eFRYO7bRqLAoGJNxerH9KuMOYGwvPZnhYKKOVc7oZ5c+4uLBM1NMWAPiFelPlqRg gfYmZQ== Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eq0m1s0wc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 09:05:47 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-8cced8f230bso142128846d6.2 for ; Wed, 10 Jun 2026 02:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781082346; x=1781687146; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=2LeGRSc392ydFD5fvgT6QlW6NVIB2YHULelRqvgneF0=; b=KH+rrrr1/hI7DAkp8N3Wzd8pHqbc0bWs1h84oYX99tb9uRe94Rm2UJDHyFxCMHC/T4 ZodudPAKlJZfXkXrRHV0GbuBDGp7W0y6c9IzAhtMf7VkDQY5Q56HNtNVUyDXC2jOHlgY MahKllYu0wu6cIlWc77f0xXrrJu8TvJ+7hLKIzsVJAY9s5S4TwecEdBsx6anFHe2sJoA FTPiBhUugwtKAlZiBW/3QxRTGL15d8Bx+ImeJw73KZh69+JCy5w+wDKAwTvtatHj1IRt X8yuIr0LnIdz41FzQr9AVvpplUSUZUVgDPmsFvkEdIdaBxb6o+jWJoNN7hJ7Xp6Ht2vR lJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781082346; x=1781687146; h=content-transfer-encoding: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; bh=2LeGRSc392ydFD5fvgT6QlW6NVIB2YHULelRqvgneF0=; b=pxuYN+hG7ftiLU0iZEtGAZkHt6ljW589bV9sUBMlT8QCtCUq2ovADgYsfotFASlGFI iB6a+H9v/eQwiyygDH0wLE8xvkN6vCicuoS8LAiflPgGPyKyUMWjxxQHMGAjCAVvfNzn ouRrC+Zq9NwNRLb8Er/ETUBSjEm+BB4DZKNnzWcipIEqiHTE2Hk7/EL5iYtK7+EJYB69 oh7E+ZtVAstt0RMfXtA1/kXivdu1rEruYHL6ZL+zZ12fQ23NzrzL1VZQ9UC90vAnfDYv 8OlrLWGK2sAzK6V4+a/U74eegGPsqoSYAUuec8/9zyDBjv9l/GZ77eoekL5COtsl9B4o Vyaw== X-Forwarded-Encrypted: i=1; AFNElJ+fbpExgDr9JA+GjJTWw6CHfq7/IhGGUNc+xHvyJygma+hZK4Sh+qagPbXEdorHAAiSLwNGxUggmQd2kxQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyNpLEC0g47aQV3BoCbmjo5tGVD9yMngYC8HFrq7bjVXqXIFIxz 9vkG3Kt0LtaMiFRfgIi30a+NEScGqMM4f/+FCDJpti9jS8mpF4sy56aD7iA6/VY64iHDEiMyjjj FABVKB1kBs2jAPOqapdvdSGe4iQjvPRQFjHWHsi45+yoCk47q3Y9QdSOZgvq6dgsUFgU= X-Gm-Gg: Acq92OG3iVCZo7Q8BLPfkiGO/7q1rMNIH8+zd3b+IF+zkqTW4QmuoaZQO8+JcuVSOPu Z6t2OZwHFMZFgg2IkO4CvnHutM3iYnZdqqFRwssCXfnpa4vlLPWbUqYRdP2xuPEtjWeACqnbRDE YEmNGn/tV+EDQjK/3VIKorCCjNPmOgjtRzLeAmAgWp0jCL/GalUJQzXHe7UNVgaU7+WXr6NCtyo 0ZdsNlYtGV+6LpKqUs4YCrYC2hDAAnRVlvHBjn1X9a4m6fvZXk5T87PlC2+6uGYn+9/oYVZCS4z MXvTFa302pb0388ehovKum19VifjemWh0fFh5BzA71Co+ZZR48bKnwLaBLU/QNKKmBtxiFYt2bG fyTIXCAM+5yAc8RlamH9CqgR8dompKmIaItDOlDdwksJg7u7Y/gJ/noaID3RKgj3jBbI= X-Received: by 2002:a05:622a:30d:b0:516:de71:e21b with SMTP id d75a77b69052e-51795b0a1a7mr339248381cf.9.1781082346513; Wed, 10 Jun 2026 02:05:46 -0700 (PDT) X-Received: by 2002:a05:622a:30d:b0:516:de71:e21b with SMTP id d75a77b69052e-51795b0a1a7mr339247831cf.9.1781082346016; Wed, 10 Jun 2026 02:05:46 -0700 (PDT) Received: from [192.168.0.172] ([49.205.248.156]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bf0553fd86csm1166004366b.46.2026.06.10.02.05.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jun 2026 02:05:44 -0700 (PDT) Message-ID: Date: Wed, 10 Jun 2026 14:35:35 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: media: qcom,qcm2290-venus: document shikra Iris compatible To: Bryan O'Donoghue , Dikshita Agarwal , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jorge Ramirez-Ortiz , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260609-shikra_vpu-v1-0-3a32bb38b080@oss.qualcomm.com> <5YTsRTMAUGw0it3GAWHhKIh77_Hk823-xRJ4WxzQ-ENpdnC9-ttUvWhJI_CqFEetmFXcRel50GK_o2UMGzwZmg==@protonmail.internalid> <20260609-shikra_vpu-v1-1-3a32bb38b080@oss.qualcomm.com> <3d53b646-d5f2-4ca9-9d69-dc0899165c3d@kernel.org> Content-Language: en-US From: Vikash Garodia In-Reply-To: <3d53b646-d5f2-4ca9-9d69-dc0899165c3d@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjEwMDA4NSBTYWx0ZWRfXyOCqHMm6rmhI 3RawdJWD4JHGHfoxiBOrfOOWyAG06mG5zEeN99QBO6jg2/Kiret0AbFjACdAcfl7CFlVF1X173f Cn8QckM/ew+6MkP1SmYrdVEwNv3TFFJ0EJmAusLWBVotPSB2PJm3CLQthUwm8Lhlh2MASWulgMr upepq+0t5vKQhotFMHXXOfhT0Ilmqd69OHPBWZhYqxnguMTWBSDaOaoczATZRZq7V0iB53w6SJo HhqGYGXmlfAbLwgzTkZS57FCUK1BBJ6cYAvbmL4xuwJFMPQp9XUboFma6N3Zjsx2z/gVOPPyIbB M1GJZ5jgdq26WtHUWlObT46afSGu2B6NUpaWyZ989AmbyshYEs41UkLwosAm5bCWx3U7UVaCSVZ 96rhIEkzDjVg7veHpNRurUBxq7abXvQyio1Im91oQqsJtg8MoMUIfGeFznefQbkeVWImLBv+RDO 4hUS8r+RW0n3Vs0VUhg== X-Proofpoint-GUID: wvz4i5Dz8AbhHaaUR-FxC5MOSeaV_sNn X-Authority-Analysis: v=2.4 cv=UdJhjqSN c=1 sm=1 tr=0 ts=6a2928eb cx=c_pps a=7E5Bxpl4vBhpaufnMqZlrw==:117 a=tTcoO59C9ckK9alVnXkiOA==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Lgbjf1kSNvCM8hKjzQ4A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=pJ04lnu7RYOZP9TFuWaZ:22 X-Proofpoint-ORIG-GUID: wvz4i5Dz8AbhHaaUR-FxC5MOSeaV_sNn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_02,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606100085 On 6/10/2026 2:24 PM, Bryan O'Donoghue wrote: > On 10/06/2026 08:50, Vikash Garodia wrote: >> >> On 6/10/2026 2:07 AM, Bryan O'Donoghue wrote: >>> On 09/06/2026 17:15, Vikash Garodia wrote: >>>> Document the iris video accelerator used on shikra platforms by adding >>>> the qcom,shikra-iris compatible. >>>> >>>> Although QCM2290 and shikra share the same video hardware and overall >>>> integration, their SMMU programming differs. QCM2290 exposes separate >>>> stream IDs for the video hardware and the Xtensa path, requiring two >>>> explicit IOMMU entries, whereas shikra uses a masked SMR to collapse >>>> equivalent stream IDs into a single mapping. Due to QCM2290’s SID >>>> layout >>>> and Xtensa isolation requirements, such SMR masking is not >>>> applicable on >>>> QCM2290 platforms. >>>> Since shikra uses the same video hardware as QCM2290 and shares the >>>> same >>>> programming model and capabilities, it is added as a fallback >>>> compatible >>>> to qcom,qcm2290-venus, with conditional handling to allow either one or >>>> two IOMMU entries. >>>> >>>> Signed-off-by: Vikash Garodia >>>> --- >>>>    .../bindings/media/qcom,qcm2290-venus.yaml           | 20 ++++++++++ >>>> ++++++---- >>>>    1 file changed, 16 insertions(+), 4 deletions(-) >>>> >>>> diff --git a/Documentation/devicetree/bindings/media/qcom,qcm2290- >>>> venus.yaml b/Documentation/devicetree/bindings/media/qcom,qcm2290- >>>> venus.yaml >>>> index >>>> 5977e7d0a71b4fb5681f1c2094439c251366f01f..895533b9756690d075fd7729e3f805c8e72ff0df 100644 >>>> --- a/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml >>>> +++ b/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml >>>> @@ -15,12 +15,27 @@ description: >>>> >>>>    allOf: >>>>      - $ref: qcom,venus-common.yaml# >>>> +  - if: >>>> +      properties: >>>> +        compatible: >>>> +          contains: >>>> +            const: qcom,shikra-iris >>> >>> Should this be "iris" in a venus yaml ? >> >> given the vpu core was first enabled on venus and now it same core on a >> different SOC being enabled on iris. There are 2 ways to do this >> 1. Add the compat to existing schema which defines the binding for that >> core i.e existing patch >> 2. Write a new schema (or say duplicate it) with ...shikra-iris.yaml, >> but again, the shikra compat would fallback to "qcom,qcm2290-venus" >> compat. hence even iris yaml would then need to carry the venus *string*. >> >> I followed the first option. >> > > I'm confused here. Your fallback is qcm2290-venus. > > grep qcm2290-venus drivers/* -r > > drivers/media/platform/qcom/venus/core.c:    { .compatible = > "qcom,qcm2290-venus", .data = &qcm2290_res, }, As part of migrating soc support from venus to iris [1], the compat would be added to iris and shikra would fallback to it. [1] https://lore.kernel.org/linux-media/20260515-iris-ar50lt-v3-12-df3846e74347@oss.qualcomm.com/ > > So shouldn't it be shikra-venus ? > > --- > bod