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 894DE38C2D8 for ; Fri, 31 Jul 2026 12:44:24 +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=1785501865; cv=none; b=bVK162Bab0NWYY1aOixgaJoJqQr4CXuq5joFzBzITM2IxOGnauWOi2rhaJHHWoOe+NcAOAJdOjtVmmYBZPRTl1pfL49TJBGT1JJZVXtiGhFVg9dq/NJHTwBbihIU5hg5gpq/Ozw0aHlRPVyIXhsCB9tEF2GO3FgrKtWn2Aw/5jQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785501865; c=relaxed/simple; bh=buwbiU/QnDmVP3ZSgK9+kJtoUmj1QC201dBWdkmBAfo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LMpa03RhPJZ9oAcd/NvMLLm5r/vDnekmjx8TOSzhlCS3/7KtZp6j1gChaGQK5BVpafSL2BhUVuEYLHIkCsSeuxEB+rLzGdFz5mQI+3+jBtDHIDYGfNIFATnNuUj2/7FFJtiZwFIcL5neIK2IeHnFCexx9HSTopzaKmDLt7PCru0= 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=BXuxWgBK; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=c8p1yZDB; 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="BXuxWgBK"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="c8p1yZDB" 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 66VBdBdb3371064 for ; Fri, 31 Jul 2026 12:44:24 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= adV90e68ZwaEoo0CTXVs/OkTtap6iN8ZseHU3dWUaqU=; b=BXuxWgBKwhRdidSz TlCcIF8k4sVcBeWUovBIRFLcPhU0CtE/eLc/gQInUKdpFfNzArIB4mxuVsy3U5pm aa9YAOmpWFkPF7/ed9+udgO8KrizqM1Vi7hRO2B1hcIKu8WB6NvHndGOWvsNoEIH ule/qr8mr4oF0sdKo4wnMe6p+AMib8a+tbIkR12WIadDTq4zBatfHe2J0YVkVCJq BUGa3eYjrkNb9QhLhFFl8UeGnUSHu9PrnY4d8nFSZHVogW70reAthMjXKkXFVEUW m7V9gpUxilWnFPbKwzQyzlLnmvD8JT76tH3VHg2iZXvttU36NeDSmnH/3L2K7K2A U/F9gw== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fru0y075r-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 31 Jul 2026 12:44:23 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cb11535e6a1so752604a12.0 for ; Fri, 31 Jul 2026 05:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785501863; x=1786106663; 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=adV90e68ZwaEoo0CTXVs/OkTtap6iN8ZseHU3dWUaqU=; b=c8p1yZDBQd4pJJdUZyruHUIDj7QM3t7g6G3ArfHEr7Dv0oTmKc1U2X/MXoP+NzH3Rn Hx0XxRSRQHlC8s+jUk+Va/B0uLguJR7HcCtMSd5JIYp4w8dEVOZgbI/tSVBB0fw3iDXB QwOTsu1UdS02TCGEyteHD1LUUI0lYS8AGVEvsrVV8FSxV6f2UDWRvPCbweMOfeSmsB5F fPPAjN8yO66BiTCvKtHIAeoiGoaWgeulruwJNIB+pDNjMQvd3EW3cFFk8AsgjvOiSWd+ xG8pMU1eZ6gEyQNypHaGOZOVFzjAub7o184Ja/Loe6OMp6qG5dbhYCjSgB74o1LMUjVe DWaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785501863; x=1786106663; 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=adV90e68ZwaEoo0CTXVs/OkTtap6iN8ZseHU3dWUaqU=; b=Twy/eTeD4vY8OVJ+4DryuFw80LULcnpSfGrbvdeenPsb4srI/l2sai80GkE+eHiPDc wlj6oN2COguSXW4Qe98NvB3KnCcNd61fQkMLgunNLf+SVQgGv1+BCumzrORB7FniqUaO QdT0X/lnBacBt1HIv2j/oQ4f8OZr7NneoOrP/uyFf6of/SJj49fugGr3ChA6Ys+uJnJB GiPy+BeGYOEOFuXNgbnKyfrlPFDSzEs4IdJVJIVJUcP12aAeShCfT1PgfLqt4dEsPmGy 48EtRZ0Otxw312uLFqTM5ClJk6ROksJ/gFKXPfVTGunNVCZs7ZFbrcKziLe4gRXgrxP1 +i6w== X-Forwarded-Encrypted: i=1; AHgh+RoWTx7e2bXBlV2RdIlYg/LgsNN+AcpJ75fFggixGuIYrHfnjad9vzThvp/2g938jS/csQiKXlFGgrl7@vger.kernel.org X-Gm-Message-State: AOJu0YyZwEWmCvQckGM9AbLF9vsm9OQRcasvZur43d9VSNLabO081XzB 23ZV2SBgW4DSXmmVpfSLd/YH3B3NN6cau9Z2FWrMd614AnMysAUFouHUpnfhYtHsFme3KfIl1TF mp5M2YDt23x7zDB0GGAQwMtFKBitpx4ekZZchonPEnglqsYfkju5E5QQv2RPPygHQ X-Gm-Gg: AR+sD10ObE6v9ScB92ZqKS42JMH5w/rnBiHnw2lkfPV/xGOxPW6amTW21TbzQeTzzZh Cl01n8fg2zDk5G6OBiEj5dRdPO28C1Iq+GwHKwrDKoMqAo8iNgYSagRZ/u4X0PamXXRPDIDZReF xmmutbUOUGfI8XGP9WVOP4I8w7PgGx7KGqobPvg1aQrkK9Umk47iUajMwSiiVyfyTMJdISG9gWv rbsVRBhHkjDBp7izi8rvAkTi/dnU+DFsKRZkbnU6Sd5qzd8dNAQIdSZPR9pPIVMSrDEtgzISpID hZPAdGq2il5+y+uzduxs2CytjJLdn4beuOGHqHXuo97K/e0XvFns9Du2SD6oggk2nCZ3HqWPp5M +j0mOaZRMha/93hd6lj+IeMUcNth4VOcu X-Received: by 2002:a17:90b:538e:b0:38f:7f60:ba35 with SMTP id 98e67ed59e1d1-38fb1127fecmr1723559a91.5.1785501863238; Fri, 31 Jul 2026 05:44:23 -0700 (PDT) X-Received: by 2002:a17:90b:538e:b0:38f:7f60:ba35 with SMTP id 98e67ed59e1d1-38fb1127fecmr1723540a91.5.1785501862822; Fri, 31 Jul 2026 05:44:22 -0700 (PDT) Received: from [10.206.103.83] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3153dd4e47dsm8878628eec.3.2026.07.31.05.44.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Jul 2026 05:44:22 -0700 (PDT) Message-ID: <4e948116-98fb-4814-9262-94161925a349@oss.qualcomm.com> Date: Fri, 31 Jul 2026 18:14:15 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/3] dt-bindings: media: qcom,qcm2290-venus: document shikra Iris compatible To: Dmitry Baryshkov Cc: Dikshita Agarwal , Bryan O'Donoghue , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jorge Ramirez-Ortiz , Stanimir Varbanov , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vishnu Reddy References: <20260721-shikra_vpu-v4-0-6dc5a8999b73@oss.qualcomm.com> <20260721-shikra_vpu-v4-1-6dc5a8999b73@oss.qualcomm.com> Content-Language: en-US From: Vikash Garodia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzMxMDA5NSBTYWx0ZWRfX7LDLBQ8McTTM dpFxRVY0QpxTbxyViLbkF7Iiu7MHP5EPxyVU0pFW1k+GWX2COePah3d+X7MK9uOyOMjSDZwqaj0 xmhsUQMxxVsScKJj6YwniNUf02091+Q= X-Authority-Analysis: v=2.4 cv=TcamcxQh c=1 sm=1 tr=0 ts=6a6c98a7 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=wH_4JSXJLmvH2XmrYx8A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzMxMDA5NSBTYWx0ZWRfX2a8EUp5k/BMK 7kWCNcvs15VSVQNRJiecWZtqmAUsYpQ1TIlR2/3MAQAKF1XMVH1fasLDAiSu+nW9o6VzJrj6U4Z /MnGSrMqzMgEf0KXCU6AHNzMGhXVS8x/tcHQzcF+h2xHrcwu+vM/bafQOjfXgwIZSqa6ryajEn4 CcOJp4qlA06OX3+IlFyK5+CyyYN4endw8GmfAnceHHKQ1L9/3qatWnJbQYGEboSah9sCsO6+J1a Sv8H0coHeUbWnUxjs8Zv0d+lda2PdTsSYYXc1AmlyeE1fvCl9K8IHrqZOtFmU4x/2cqMFYs+Rny USCeUQQD17OFN8DLvmNPA+BZyVfxKN6bv3NLYtNXvV1lRpLz18J2PXaYEqOUCsyh2rwmtL7YpUu YpSevpMYPmqi1nzld9QkpfRhRmU09kneYflOYNTKTf1QG7JxMcOGIqaL7WbVbzoi1I29sezgyat 4LIkHw96+qoLf79i3lg== X-Proofpoint-ORIG-GUID: WOASvOUHnhtW-3fNBoZ72-LHy30lrpOa X-Proofpoint-GUID: WOASvOUHnhtW-3fNBoZ72-LHy30lrpOa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-31_04,2026-07-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 phishscore=0 priorityscore=1501 suspectscore=0 spamscore=0 adultscore=0 clxscore=1015 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607310095 On 7/31/2026 5:27 PM, Dmitry Baryshkov wrote: > On Tue, Jul 21, 2026 at 11:02:25PM +0530, 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. > > This means that there are still two different streams, one for pixel and > one for non-pixel data. Stop using the mask and describe them > separately. One will go to the pixel node, another will go to the > non-pixel node. As you wrote, the hardware is the same as QCM2290, which > has two separate streams. AFAIU, SMR mask is an optimization to reduce the stream id configuration to SMMU hardware registers, separating out is _not_ recommended which again brings in additional register for programming the additional stream. Regards, Vikash> >> 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. >> Common schema is updated to accommodate the iova restriction of 600MB. >> VPU restricts usage of 600MB for specific streams, which could otherwise >> lead to device crash. >> >> Reviewed-by: Vishnu Reddy >> Signed-off-by: Vikash Garodia >