From nobody Sun Feb 8 12:14:47 2026 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 BF975219A71 for ; Mon, 26 Jan 2026 02:09:51 +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=1769393393; cv=none; b=GCNfq/t/QdAny3TPH2ju35AfqI+9jha4gwNM0Viff/y2xPHL3ECecpYD2bs0eV1kEBjES/gifwL4cUxZN6NMtZWakNsoCMV+TtHzaP9hbro03PVUT2osjiJIwsahvQ94LiaBF9YGJtJa6HFP8VsVc5Qc07IxcSq2MNcWMwAzrYI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769393393; c=relaxed/simple; bh=qAcp8mzrTR2YNg/h2RgYQ9MnbaU92InMMdC/2PvSTZA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gZvnBK+p6d1LitHgrtd6LPmOnaiOpQTbhvrDJWNzRcpmaYfetLJO4Rrm5q9sjD2uN79ZaQABtR65eP5hN6Thw0o/yX0WBO+8K91EDB4LYUGMEnpDja5KebMPREKH+pFWzCR/0T79Oo20oh4o108VBBGW6Hpi/cUVGml6nLtx6ow= 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=HAtayM8R; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=A95fjh5/; 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="HAtayM8R"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="A95fjh5/" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60OMxcgE2536581 for ; Mon, 26 Jan 2026 02:09:45 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= vLpoe2WrWglxJlT6bTDJn8G3/t1K7ubvAPno0YGycwM=; b=HAtayM8Rbe3a4ZBu FgvTS9y19sl4lSMpvSQ8frbSJcecF1hqsnYGodZPh24oymyTRw3lAi5plM8/nMoT sNv8/MOtG89AOV1wgpDC1G3jruzr6C8M93tSpI3SPfJMNROYca2OT3PBhqsvAg81 xIEJuO7grxa5h/tYrqkBV2rrss04venc3JEkHkT4oWCUzYL/awlNtaCPK0K7TZ04 mAPJ+mofjSe4HuUmc4X4aTm5nvMgfBMVC4iZHdF6PySyqXpWqSxRJ4Zf7PjKJRYW WzEL6sJHcN9VlWYru7jOqrYJVxPiMAkskp1RvQWcybe3g+0ZpiCP5/tMoNgmmV7V A1Qh0Q== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvwtyaja7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Jan 2026 02:09:44 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8c5297cfe68so757450185a.0 for ; Sun, 25 Jan 2026 18:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769393383; x=1769998183; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vLpoe2WrWglxJlT6bTDJn8G3/t1K7ubvAPno0YGycwM=; b=A95fjh5/y1uGg80140jlfzdg2xzO21t5pbn71BLI+Lrx2Fy0lxMvml/MjvZmV618kv J5pWUPCGVRw3WsLiWt8O8wqLq406us3w83qVqc1oTStq5YWYfyr1yqLgl7QJ5mzOCDAG 0u4/t2+/lUeZAda4vDSZOwtuU0Wdx2yc2+v9jXhaB14NE9MUfSytK7yTB2h70le7Xno2 EAVW6n51FoOCrAhvM6Hs6EvmBYGapdBKfn+ypDjK1Nh71MIwsusUJkNMphX1QeK4DDiR FmrOfMzJ4NfrqUuQF5rPhllM0NLYWtNqckrj2Qkogxso/zIoTkNpLvWv1GwN5LejG9eA xc7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769393383; x=1769998183; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vLpoe2WrWglxJlT6bTDJn8G3/t1K7ubvAPno0YGycwM=; b=qEQUAnX0Kl9qCQWURVpkTkQaER3Gpirfe48gTk0ZMDhBWcXbAP1IO1JoqI2fSt0K7c FKftlI1sv5R2G0BcQeNYj047X1BTKOtw8o+b3QzN9HPu+IwRxcsghKjo+G/0GfrzxqbQ plTnEt+oPoxOV3CJOHq1mABeHxInCYhlklHPA0VzX/S+zhdF3h1NS/CMwzqfz+iqnNHf Uvd8/mbGNP4hr6YLAr76NC9ekbTvdiOVdhKGAK5NgV2fH/gsI3ZP4ZhnZd+MAbwRrHkz b9XIQ13aUK5NqwFkYGPCVDNH2+bj/afwi3pQ2FnvoFsozLWcoOBmYpBr+DnXWoHa8Pu4 myxw== X-Forwarded-Encrypted: i=1; AJvYcCUide4kA06pygrSKax3ZnHLwCrx0T+7tWzj+YOyLDsjJy1a7tMnmDEK8pRwfYe8uWJ9mW4/YCb9Fyuo+D0=@vger.kernel.org X-Gm-Message-State: AOJu0YwwOSsz9ncAq4aGpPElQh7TIzIZsbBpwX4SjV1b8G1qPDPaRl+i v3Cb4LWcpDXXESK4F9Xv2JK2IgyDesXUn9kkWI5IJ5wsGOf9jH0I9dHoucvPgCcrC3nvNbz/1E8 cX58iWcVaDnLN7akCGlJJ2LfPywDCbH0UPWcrnBBrcX8j2INw2okUHs0mQCY/QmtHFm0= X-Gm-Gg: AZuq6aJzyX9FPaMoKasrcj8vNULmDL12mflruDU1gYcNZVa6LO1Sf2zYy85CAm9Q1NL Dmf/40sStbXKoSPCEp5xm5x0fNaZNylHQUs6V1rXcran+hPvD7XAln2vVyw1zM3lbVx3/u6fG/I C8bRQiD8EdPwCJeE1TUogz+V31c2F3yc0PtR0S7ucewg1vsO/X2OmYgv7F6ci0sPUba5ipNOevg L6CE00KxuON581++VY+J/P+7XnnqF6lPGvtTTQbt+YxEt5Bt8WVQu8Bx83Yoi95VuJyElx5g4tk gjCesiB6pQkEzwTIKebtRfzjJtf/ludexnb8I8g46BHQJOAaUHUBNvsxbUfBf1keZqJBB+Svn6Z zpAlRFr6zl9nbDjGrvCE/xKmfMF3zqbWM+1GntSm4dqxcQZ6mFZybTiTSirMYaYUoaNnjeZ9QHu Tzpu33Q3FQX92My8DG5qIrxhY= X-Received: by 2002:a05:620a:4723:b0:8c6:a034:9225 with SMTP id af79cd13be357-8c6f95cd6bfmr332109785a.35.1769393383472; Sun, 25 Jan 2026 18:09:43 -0800 (PST) X-Received: by 2002:a05:620a:4723:b0:8c6:a034:9225 with SMTP id af79cd13be357-8c6f95cd6bfmr332107185a.35.1769393382972; Sun, 25 Jan 2026 18:09:42 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-385d9faed52sm22778201fa.2.2026.01.25.18.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 18:09:42 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 26 Jan 2026 04:09:36 +0200 Subject: [PATCH v2 1/4] arm64: dts: qcom: sc7280-chrome-common: disable Venus Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260126-venus-iris-flip-switch-v2-1-b0ea05e1739a@oss.qualcomm.com> References: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> In-Reply-To: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stephan Gerhold , Douglas Anderson X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1231; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=qAcp8mzrTR2YNg/h2RgYQ9MnbaU92InMMdC/2PvSTZA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpdszj8gB0es0zPr2Dd/YWcc7q+IXX0RFuMrki1 wqx3nCCJv2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaXbM4wAKCRCLPIo+Aiko 1cW3CACUesFpfmmuc+SbBNU3gHUA/xi40138YmAFoXQ4wqUCRe5wphXpiuz5ZcaNdndOL6HSHsH 6nRkXQTbS8uaDBvZi55s65IT3IkpaAfAOmWj6rS9AksQ8bM9XWmVMFYS7HKgJsIufesc5JPiYUM bXwXw5+Cw1Ji2jDcozwYlqnwQzk22ryIVHkoGPq9aU3B8lqZ9D+5rGF3N7qVNNpjoDSwWtaxS6R 9y3IGVDQ7qh2vLeGdS11/IlNGRpzskADxsr6fksckyawKRCKzGcoSmhtW31RaG9MqUthbYxRNm0 Jx4vOKp3+4OGXQBOq4erQXyZvMWHKFwDTpxriacbz58xh5id X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-GUID: yggVnrIoLggs3JfOjTg7YeP3LgmiSifG X-Authority-Analysis: v=2.4 cv=BteQAIX5 c=1 sm=1 tr=0 ts=6976cce8 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=KKAkSRfTAAAA:8 a=cm27Pg_UAAAA:8 a=EUspDBNiAAAA:8 a=foIlI7qs2i6qjVKSRT4A:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-ORIG-GUID: yggVnrIoLggs3JfOjTg7YeP3LgmiSifG X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI2MDAxNyBTYWx0ZWRfX9YiyYXiBCeoY 1no+SholqqMdw9H0TzeJ8QzNq+yUxs/kcqNSOQA9telCpDV3mS/41PXNOg8C6KqJJ/K2bYKNkpc DRbD6Seed2GRPIY/agVpZtGMnwr/CY8kLS6SWjqQmEbkUq1D/+psxB1nwYrfYP56pmpatOOd/Iu i8blx/7qRqhPy2WjbJkvHiFfZMAblvSaNKH2Lo/+8n8MExdQJnABBykiWgH3SCvVvgrJmE5/AEw 4EJ2svwENCvNEcyIzc+kIxBbeaUntbmZCMvQcKqQtGBrTHXYbN5roV/Uk2dCDayo9TFVcCmi9ed WKlSILo0EE7krQFnkjwWnwsPoi6PZ79yvE/ajLDZtNEidmJlIAM8qayW+1SDuX64nC2VybPiiWa /pW3enmFmOzyCN8jw1py5oMW+jM4alVpjbEItYqTHEWB5+/hNEW0GzW67/GbuyylQlrgugOiVaP 8y1UAdxeEma9RO5L8SA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-25_06,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 phishscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601260017 Iris driver doesn't support non-PAS/TZ setup for setting up the Iris core. It's expected that the ABI that is going to be used in a long-term would be different from the defined venus-firmware subnode. Granted that the SC7280 Chromebooks were cancelled before reaching wide audience and granted the feature ABI changes, drop venus configuration for SC7280 ChromeOS devices. Suggested-by: Stephan Gerhold Cc: Douglas Anderson Signed-off-by: Dmitry Baryshkov Acked-by: Douglas Anderson Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi b/arch/arm6= 4/boot/dts/qcom/sc7280-chrome-common.dtsi index 617a39d32488..debf62baec9b 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi @@ -140,17 +140,6 @@ &scm { dma-coherent; }; =20 -&venus { - iommus =3D <&apps_smmu 0x2180 0x20>, - <&apps_smmu 0x2184 0x20>; - - status =3D "okay"; - - video-firmware { - iommus =3D <&apps_smmu 0x21a2 0x0>; - }; -}; - &watchdog { status =3D "okay"; }; --=20 2.47.3 From nobody Sun Feb 8 12:14:47 2026 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 BAEE0219319 for ; Mon, 26 Jan 2026 02:09:51 +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=1769393393; cv=none; b=nAwBO4ipgePDHDvZdmHyuS8PckTOTN+DjJPFt63fTd7cygGeSRs6sI5MZZdgwXQ///GyoMKRHG6kIIXbVF5/1uEfeA9BhazqOZ4aqO2Sy+IicxgY8UFE7kVvWMeU5wWSF323odpUcuUTdkzg4jQAsCSCKrw5vyfGTVANguJDM8w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769393393; c=relaxed/simple; bh=JEd3DfqN/K5qIES7JtABDfJMqyIJ9oHtt5fbP6+eFbM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b7KLupcatytD/1vqRPx3ebHPtrGOar9YeNkioc/CwXRtOsTSuirTiSgkKyRtalcI4GDtnSXhW7Myghz6Z5Kmsx8xqq0KwKqC4XzY03IqZRfzoZ2imOIlmMtd4Mj1FuJxBg2Je/YGXN07S/BgxKHXq7vwmeJDyY7dJhfzJo6SJFU= 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=Sa/pSIOb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=G5zpL9oU; 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="Sa/pSIOb"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="G5zpL9oU" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60PKPNLl436500 for ; Mon, 26 Jan 2026 02:09:45 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= YIDeFDRJGhAX/rPmOfgE7xD2TFlnPCZkaj2/8rl97Go=; b=Sa/pSIObmENZhzFc mFFCIjD2QZr1pQXht8BvI69YPxxTpEGKGOc3egJiYdg15AaBbqcjbGOvP/ybmYjm PM8aGwC/E8qJTR/F03YSWYX99M/bc2pSA+/EcZbwrt6y3bFgKHDKbrpmmYCnnNsf aMMRvLq6syX7/z+AM8ez/U0XFcxcsoIhj7pJdr/tyYa+eJa6DzN+jHHVkcPetfC0 4QBdvXTdQe3sX+Fp0Ga2vdJTw89O+DBGYTpXrmjZS02wUc/ojA50LjqQqUVZXWiT qadRqQd6L9Fj9LU+YjMoZnK7dqlxH4Pclx42MBJ2BLi3Leua5Vs9dTner38FYHjB JEgGuw== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvq9fu444-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Jan 2026 02:09:45 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c6a341ac9fso322717085a.3 for ; Sun, 25 Jan 2026 18:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769393385; x=1769998185; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=YIDeFDRJGhAX/rPmOfgE7xD2TFlnPCZkaj2/8rl97Go=; b=G5zpL9oU0lWvp7sJy3dlAiekS+6eRwk5sQnl4sIBuT5qRv69TIgqYB8133y8As9786 Alp2fT0nhYRqhDI8+6/KG7UmmOpQShJ7RUyKS+z77WIjn/J/vhiZWm63Ft+KuaF3tD/O +xb3xMOJZCfHGf5Ti6oeTW23j4XfGht+DLGWMC7T/coUmp0KndZAlm66IwJnb7Pg/caH RVknV29tDiW/gTvFCe4+9KFVu81kvxIMzVAcHdcbQuuYxDwLpoJYL2Lq3GUtet4RWROi VdD/S1SQZEOWavtXGaiY0C+F4VppkKybah7Yw2TIHnJ0pFg4nN0o/FXl1OrGKk4tG8Wa aa3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769393385; x=1769998185; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=YIDeFDRJGhAX/rPmOfgE7xD2TFlnPCZkaj2/8rl97Go=; b=sP4kWBu07Up0CaXot2G4uDPUafFd/w3udTmHZNnKLQMP57NMBnhCEgDIsbI+KYCgkq XgM++aPSzAP90X1nFGWOGnHc0bj8P1U0OdmWt7h0c9UZ2b+xou6jPjn8zrpmdvwnYzp4 veK9EtFKjOegxSq7cCRWqvbzoAXLdGK+8PVaaOJuemduOF6XFNuQGbZUL07Q5aOkaqZg 5yyuoD0iSGvH8FdJmr4HDLXn4nPhJv77+ia+Q2RqZ2bbmo3z3glVwzj5HeAwOwG0orj1 2oiQHmm7wYpg5jFGuxA6kP/jzCxTNk/+qP9F3oF2hoBrsflgBeEnWk7UGkPFZHM2aJTh fGZQ== X-Forwarded-Encrypted: i=1; AJvYcCV6ynv8kJkeEtCWAp5sQ+N2Ji50E6Su6soV6HroWu1Yj7AI/mWcutJF+b9w+nMUHmRPjl/B154K5E9EB3k=@vger.kernel.org X-Gm-Message-State: AOJu0YwGlNX69QFAXmjdx9Tuaqo41uCFgqIQIBMrps7dijcni23EXK1m +sqpJX8qxyOzmFbDxghulK5/PolztrOCRx0Tu/iYvZQQGbdvY3DHpEjSl8/uzeqbaEiDvY9oihV Bk92sRF0UcsUxvsXlUAhcW5yUD08T+MmV9Z6rA51MHNgEe698wnkeSQUihrQ5vo1V4gI= X-Gm-Gg: AZuq6aJcXaI4AmAdMSgTNYjhGOufbttFEvW7VVQt0Y9UO4lmSDvT4taCNcGHfxKI5Da pvJupt6SwV8qLFVgR14XEnZZm8Udp6AVkxOnxsyub4/+Ax4XMssIVBqDoA6qAurpK+lRJnWC1wM XPw/eYfw9Cw/k926/nN+V4DUMwCfA7NGfFKKmlADfznW5rPdR4mYEC49uJYXA8blWpL7cEI+N3y hE/lkhYGffLygkWc13yW+wC4F4W68sFFHxDV6cFaNzUGCwhBrjZ/7sxymfZmuO7ilJ5LTHIPh5o 4GYdFF+rcnp7xLPsqWWn3ZpLVyzlZ5h/1HRm4+QvJhh6HCsL81o9jWU5UdOvsJArYEtL3Yzv34V BN1sXtQwtMYv8j/W7RoFQB7jvqU0GX1ZFusmcbUcKlYgWoqHna3mAVrLZeQQzN6MPvpSPstFB6m RnYFrqYu63K3uNht5FTq3aSs4= X-Received: by 2002:a05:620a:3199:b0:8c6:9fc2:9f91 with SMTP id af79cd13be357-8c6f9590c5cmr354605485a.30.1769393384628; Sun, 25 Jan 2026 18:09:44 -0800 (PST) X-Received: by 2002:a05:620a:3199:b0:8c6:9fc2:9f91 with SMTP id af79cd13be357-8c6f9590c5cmr354603385a.30.1769393384211; Sun, 25 Jan 2026 18:09:44 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-385d9faed52sm22778201fa.2.2026.01.25.18.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 18:09:43 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 26 Jan 2026 04:09:37 +0200 Subject: [PATCH v2 2/4] media: dt-bindings: qcom,sc7280-venus: drop non-PAS support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260126-venus-iris-flip-switch-v2-2-b0ea05e1739a@oss.qualcomm.com> References: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> In-Reply-To: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1670; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=JEd3DfqN/K5qIES7JtABDfJMqyIJ9oHtt5fbP6+eFbM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpdszjKZbGDSiJEXw18Hmw3P7Py7hKEIulRnQGN KQO2K69Kw+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaXbM4wAKCRCLPIo+Aiko 1dB9B/0eFUGFn86X+dv5oRghrs+Ba8ZJJfGaJA9byKixkce2MnC9NzkBsZch12SgiDIb8ecSoox Au4cgPAOk/RdFbXGLEHVL66UewSOjO7mf/td4SmTNQo1T2VNV1axcORToenbLH2ZVMaidd5CorP eSohVbAjaGzG/4BXeoMbto439ctB9NntQuTylMwZE3Lo6qLZvgBc9gHatwy1YOrXOdiwEVsT+xS uzGpwP6Tn9Z3z0WxiQvpjYTUTOy1QLazJCLB5+Bp/mIKUNb6wOWrMXmjvXQEcBGpxl9vf+qXgMv x4+PdcLS0NR9dQzQ5mqWJMwY75YS7dvHfT1g8PDYrboX67tB X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-ORIG-GUID: l1wC8_gT0RS6IIeRVS4zOzUu0CRNjJiP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI2MDAxNyBTYWx0ZWRfXwXvvgeQPqbUr pTRMXADDL9DARUO9DS61VFUXJbxn7yLLJ9aH66Pe8rs/tJ1dpAfR7B0q/oP1bTRsSPJKxxRuAA+ VgOYGzkGxqbK1FGXqVpYuTeA2tMQrPSi0M/YVOHOLACJMMqOzXHmUtGw/xh0a63y6vwdQeRwqeR SO/U2r38EavFz9dDnj28yi8WanQGyNqY3j77x6jDST6vhizteMgTX26sxq+yxTb/qHsIdipieky IDHyILR7sLMilghoNEFad1eBb2H1h90uMSWZxdVCxUstFR1xNZnOjwOwY+ZKL838UgP6QTZLw+p RPuDmbwCxb8JDmA3Sw3TT/N1gPqAFMKP7T9K5NOr6pQ8TTkgeV5MyM+exbPeX2u8ci/i43mzMQO BQjymu8I9OwSVsZFY8vmT5VY7WUTKHUwBFDRn+RaqqrC+YJD5Duw8kQRwjuMnNQHnrLH35lmn9A Rt6zR91D6VvgAP2e5Rw== X-Authority-Analysis: v=2.4 cv=btlBxUai c=1 sm=1 tr=0 ts=6976cce9 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=zCM7-lDapuS4FQW10A4A:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-GUID: l1wC8_gT0RS6IIeRVS4zOzUu0CRNjJiP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-25_06,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 impostorscore=0 adultscore=0 clxscore=1015 suspectscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601260017 The only users of the non-PAS setup on SC7280 platform are the ChromeOS devices, which were cancelled before reaching end users. Iris, the alternative driver for the same hardware, does not support non-PAS setup. It is expected that in future both Venus and Iris devices will use different ABI for non-PAS (EL2) setup. In order to declare only the future-proof hardware description drop support for non-PAS setup from the SC7280 Venus schema (breaking almost non-existing SC7280 ChromeOS devices). Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml | 10 ++----= ---- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml= b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml index 413c5b4ee650..9725fcb761dc 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml @@ -43,8 +43,7 @@ properties: - const: vcodec_bus =20 iommus: - minItems: 1 - maxItems: 2 + maxItems: 1 =20 interconnects: maxItems: 2 @@ -120,12 +119,7 @@ examples: <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0= >; interconnect-names =3D "cpu-cfg", "video-mem"; =20 - iommus =3D <&apps_smmu 0x2180 0x20>, - <&apps_smmu 0x2184 0x20>; + iommus =3D <&apps_smmu 0x2180 0x20>; =20 memory-region =3D <&video_mem>; - - video-firmware { - iommus =3D <&apps_smmu 0x21a2 0x0>; - }; }; --=20 2.47.3 From nobody Sun Feb 8 12:14:47 2026 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 7D48022F74D for ; Mon, 26 Jan 2026 02:09:53 +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=1769393395; cv=none; b=OK0AnhR5efVnR44LpTlaqs3drJdXluxygmcNzu9M0KvItQnNYCMILT2lCTUTr/p54Ayf37oHx0k2i5X2rcw91LxNXA1Ki3zY4h0foF6IS3BmXd8+KZMXXljOYqo1obLiObl5iPLo+/MmdK0TGDlzwvmsvClaF0XjS3DEDnB8yo0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769393395; c=relaxed/simple; bh=ORuGJu/GYm3ysLTNkCgLVjQpY7Kb/lBszYo0stjQqf0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VeSa7LiqvvRQgVajkUdtNdGcKKFiTYOfavSA6115m1NQEVfaeu15lpZBcUqrGQCGhb+Q+VxXU3Cl+YDWdNU7IluP2HaszCxrf/9Nap+Suz/UqEiX+ffXT36yPrUpCjJyqzHh+H3muaKOZh/ROshlq3UFa0mRx8+AhRAg8GMKDlw= 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=WM3+tfEo; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Fi1JMiDv; 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="WM3+tfEo"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Fi1JMiDv" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60PKwZLe502053 for ; Mon, 26 Jan 2026 02:09: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= j/zW9gokZY/MJ8KbPgs9FrhMrPwOjvcqW0w4aTXvpFo=; b=WM3+tfEotiwK4gai Yot+Mq7P+ULEMhSUcLTPM+YTk80pTYz4DNf2OIPUapfKnEw5NNNvqcOoGMYhqIUR DqIFzWi/kA/eSF9GxUMbl+gWTzZRk3FAqJUoONDAZ7USxIVJazTMclR/5YGzxzhg 5Dcb2t5KuwlCMmKyRROqzCRnmWNDxdruHXZDBsEalO+ILW0EtAy6LMiU4ZEi5dqq mrE3hs2YhCf5qQazzxY9GtqzMrZLVBQr/ku1Inz1CJGnQTp+awcDJcx6fPkEhwhd TlqFPXWFgpJh16uBM5pdTIOpJMrMZqkKjGNiYd5zuLsO0Ry+YEBEJrsHgM54OfRX 326gUg== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvq9fu447-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Jan 2026 02:09:47 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8c6cfd52556so1095908485a.0 for ; Sun, 25 Jan 2026 18:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769393386; x=1769998186; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=j/zW9gokZY/MJ8KbPgs9FrhMrPwOjvcqW0w4aTXvpFo=; b=Fi1JMiDvXuvuAp1HeVS6M1HKeXcHHUXZAOrGQ7fFel3NZCHQUqykV5VPN2S1lfxr0N 1YzR0Oe6ueRPbZikBzTxYR7ZMajYl+caNgI/NwfXKn4Nao6eUudBi2XopG9AC1V4chLi sXvrnwSOOFyvguxDWbjGt4rtEl4ZtZoyPrtQo+t3elCvnlV4Dik5pbrK3RO3YV7JqMN/ /5RTFqU6T7wTpU3HU9CdiTO/GE8SXvbJ7h0IMuH5U/C8iQ1ZD5kdIxpuNC9gAjRraoPl 7oKTGMvBAqVT9uStcvIE03KDFXkih3gkhHB/9wfMYu7WjB9xQx2d/R43HNCgzAiI8R8c bbYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769393386; x=1769998186; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=j/zW9gokZY/MJ8KbPgs9FrhMrPwOjvcqW0w4aTXvpFo=; b=w9deOADV+dbIZFW1lwDqNgDu7S6OwXpAHphIFjiEewb9ZOVih4DVNHl0zOpTzXCs4S AZEyW+Q+S/hqyujtENmZzWwI3gkw6LKA6j4upB4dp5iPyUqAdwhJjUJNmapuJnEt/oO9 LpqNzLvc9g+VSS12ETwyuig0T5kP9oZnfr9k3z10SRSpWaJe5RcHWEpnZE8eb612JBvH cztvjy3YWnpWSjrjwzhVxh8aCSY50ccHGZbWVxurMro2o/wrov9/uL+hl5nT8jjMcjlU FKqwVKABmmH+F6P4LQknhd/DwbKd5piBRJyK3I/zdPN1AgGehTnhxSZoeofI5wkP4eOB xxZA== X-Forwarded-Encrypted: i=1; AJvYcCVdarRIN4d4dsFkrgu0B89msUTpzdwhv+sDrEWveN0OliTrVg6QGZHegDVCwsYTufZDylu2M+1Hif/JzUg=@vger.kernel.org X-Gm-Message-State: AOJu0YwUp/bXrrBrX2ZR6YaT3p3heYBVGCc0Z4dTtqL79V9WHcFibH6E rc+uKemuTbd/nPZrVU1Lxzak+/JbOpFyAy6AFGbqnOl77evNcGVVQO3xSH4Z5KDyBB/OZzN/WoT vaF6qKzG1CO6ZYzLEOIqdOopshb2r91tImmMWISStUKzmUGv232ol04FuhQcF2DN5bFI= X-Gm-Gg: AZuq6aLXgQulWf7evBCavxpo4pJOyktBGgstAD9fPO1JRhJo99MPHfhFU+5bOsbMUnj V17W0IRb5Lo3I1ffNbsiTALtvUrb8VYTFgTIf++xsFBqyTaq0H0ICg5uBWUI0sRlm9BlSpj+2Wr bcyrMH+PA3feJQngnEreuGfnl838Mvo189/y0QJttipD4ZMDM/y3nobwjNVCl7QFuWhmF3ZMeZa RqvF8seI0eI4NfX0EoTrw4ejB8ofndY9HdGGYF9kpBAlidT4GLoTFU51UbH0KWO9VQ612y+riZl dSL+RJbqH2hSkfKJxETbG9lljYoWoIsxt4hC/6vBy0QG+DK8x0/az35QsgGNcp5oZJnDLb933Rp b2EPWz4XV6WMZD9raz/+70FMKnJFRrQGp0yWjVJY2TifVeNkOB0lC8XItkQJE9D0RA4nBnJmOky Pn5NCs2BluisDfvJwEWav+BkA= X-Received: by 2002:a05:620a:4489:b0:8b2:eefb:c8ab with SMTP id af79cd13be357-8c6f97f1f17mr301984085a.19.1769393386271; Sun, 25 Jan 2026 18:09:46 -0800 (PST) X-Received: by 2002:a05:620a:4489:b0:8b2:eefb:c8ab with SMTP id af79cd13be357-8c6f97f1f17mr301982385a.19.1769393385804; Sun, 25 Jan 2026 18:09:45 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-385d9faed52sm22778201fa.2.2026.01.25.18.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 18:09:44 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 26 Jan 2026 04:09:38 +0200 Subject: [PATCH v2 3/4] media: dt-bindings: qcom-sc7180-venus: move video-firmware here Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260126-venus-iris-flip-switch-v2-3-b0ea05e1739a@oss.qualcomm.com> References: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> In-Reply-To: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2059; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=ORuGJu/GYm3ysLTNkCgLVjQpY7Kb/lBszYo0stjQqf0=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpdszkpTr/VPHkkuT9HcCfpMxBHxaVhafAYwYFs K1tScWkbkWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaXbM5AAKCRCLPIo+Aiko 1WSBB/4nUNFRz9f9fzYxkkloaoLvcfg/AJ4Q4pjsvQEWS4vEztUQzw3AD1cMxerJdMJ26VvWB2O +ak2D5cQKLMpOdfc3oka/bS3fPqylm2BgyNftcMlbxG9RIHsVRCNYJd6a+zhOvrDQIOSgnWhzUe fxdLb1f70R+mmshIgz0DMKoRXKTip9RqCQ2Cvs2vcDXb6EdLa0f6rSToL5hj+P1wAAMpIY6rtgi YER20nm9M9C8cwYHSR7Y5Zug6Ajj00KJ631AJD7jFADt+m7bzLS9S1esEKouVkoS63nT+4hJcEF pQwLM+lTaVpnS7y8bWK3/QO7hsopPpij1DeGSqHKzmCEJFjj X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-ORIG-GUID: 2Zza8KPFNsIZ8zQHgmtFXX2wj9V3QBVm X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI2MDAxNyBTYWx0ZWRfX9HVo0DIYeR19 CNA29cyMio4IyfHpHv7SxFLPYb4nlRfZVXwKZ4Ar9w78KuwNU5rZVNtW9BXag9k0I8ysw89w2t3 +F1NwsrWKq609C3xP/O+0xfevRBFQc7AsxJ4lDf4mcO8tdAYBh8k6sBuXKtZ0vn/N/13Vn4NqcI +JwAkX3dVBqja2bGC0lB/TLyTI7HEPS+6EsXbZTk4hAfLChs0lyAeaqnQqYLv3KXM9VwIC0zf3v yR2iE6Hc4fhw/thLgAM3Vb8UUgp1GamRnS05GwB/0E3MwMDa1PZnTabzoBWRBRdhJcVnzvKHWOL 0IJBe0rv24MIB1lfmY+YbfmeHI2AFSyTSVXgedMJggSJ6U9qaYktb9zdHln1iS7fkR5w0oS6YZS ebu9ehonXopAE18JaZNPLq4vvTiqRJ8MgiMOOqaGfLo0egh7fUn/1XuV8aMvRkln6kyCG3Vr7X5 fuUE4uCOzb0xuil5rdg== X-Authority-Analysis: v=2.4 cv=btlBxUai c=1 sm=1 tr=0 ts=6976cceb cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=yfaF6CmWL1hJmoVWH6AA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: 2Zza8KPFNsIZ8zQHgmtFXX2wj9V3QBVm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-25_06,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 impostorscore=0 adultscore=0 clxscore=1015 suspectscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601260017 As SC7180 is the only remaining user of the non-TZ / non-PAS setup which uses the video-firmware subnode, move its definition from the common schema to the SC7180-specific one. Future platforms that are going to support non-TZ setup will use different semantics and different DT ABI. Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/media/qcom,sc7180-venus.yaml | 15 +++++++++++= ++++ .../devicetree/bindings/media/qcom,venus-common.yaml | 15 -----------= ---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml= b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml index bfd8b1ad4731..b21bed314848 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml @@ -91,6 +91,21 @@ properties: deprecated: true additionalProperties: false =20 + video-firmware: + type: object + additionalProperties: false + + description: | + Firmware subnode is needed when the platform does not + have TrustZone. + + properties: + iommus: + maxItems: 1 + + required: + - iommus + required: - compatible - power-domain-names diff --git a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml= b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml index 3153d91f9d18..59a3fde846d2 100644 --- a/Documentation/devicetree/bindings/media/qcom,venus-common.yaml +++ b/Documentation/devicetree/bindings/media/qcom,venus-common.yaml @@ -47,21 +47,6 @@ properties: minItems: 1 maxItems: 4 =20 - video-firmware: - type: object - additionalProperties: false - - description: | - Firmware subnode is needed when the platform does not - have TrustZone. - - properties: - iommus: - maxItems: 1 - - required: - - iommus - required: - reg - clocks --=20 2.47.3 From nobody Sun Feb 8 12:14:47 2026 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 4CD6F2040B6 for ; Mon, 26 Jan 2026 02:09:50 +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=1769393391; cv=none; b=K6VoOMi4Xd+Uw9PX1SLKcLfcrseI26vjEGXRmyAleYmEbLp9vowZ5jX0NS2fysOtDNxyNrKLIiiMVIoYJsVdIuPnOryAYm7woXjAbxQ3tI6fkbOEeanYmHE58Na5O4oVAQJaeEZAbDS/G/rLldnaWePdlxSx3AoJP+VPbOi6TEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769393391; c=relaxed/simple; bh=/pXYIcxvSkuZpBg9yyVPOQZNVFfc9Qv8zIPbdJARv/A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=M1z6BjmZF7hZNQtpx3BCRmW2ZLC5ESBgbC5pAnhlsBnmcbFpZpDIkC53XPrr1xs5u1l7nmKffEItypQIIKwBSf3qFfDYRZrP2lllScFZwziyQFZSDWyTT3sjk2kMcuf2KJd4pMvNU8NOkntoyQu/6TuYBBKQM9sKQ3u7RW/5a9w= 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=JiOLUYYc; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=CNOO70w6; 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="JiOLUYYc"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="CNOO70w6" 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 60PLDBxG010117 for ; Mon, 26 Jan 2026 02:09:49 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= 12JLVjSwH3qLFl84DNG93K/xFsEvtq9+jZ017krl8Fc=; b=JiOLUYYcwNs/tKEn rKOoP7pOcbAgn8WqVOIiC9JKEagEBodU91Loe2yz+a+BaWluruzKMhgX7f81cPqw CljCP55Hgjht+pB+sQdP9/Tn2fHaGVQMtksi+DW0iEEDJR+FtYr+I1LwezZnPYbc DBLyZbnod2vx1m7is5GQbnobWk8/tNzDhvgsNLNKSmOoK+P5ixAmOAj6xh9wP9Kz 6MdTBqR5Je8yMepkLoBFos4USicpnW5ydW8pDWWSP7UW9Lg2fSKQOSWvzm1sfJ3A JbsF9HTabosoFD192W0h3apHfeZSI7H7l+jMvQwYi1ybg1UdnN6jvYXUiBodHHPu poFmcQ== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvw4wtkdd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 26 Jan 2026 02:09:49 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8c6b315185aso152787185a.2 for ; Sun, 25 Jan 2026 18:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769393389; x=1769998189; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=12JLVjSwH3qLFl84DNG93K/xFsEvtq9+jZ017krl8Fc=; b=CNOO70w6eNR/vwdCaWsp5XigKF4PP+javUZ1MGgtSeAoGnrkcDy7JQvOqBo+GAOw7k EENitvbcbkl0qCPIq+V5/XIU8obivZkBMuyiDGJHPBVJ2zkaHX/HxtzWYIQluv30eXx4 VntQ9TBEZeJqxkIgkdOIMpJevfsgIZZgTt5MRenE4Bh1u0Wcmm/ABaeITn6TbheE1Ly3 cwgpmInIvnv6MsgXqDxoWFFqjQPXb7LuEqCJZ6Byf3nlezMe0qsr+FzS2F2GN+UwnOXN rS4bGwT47SBun2p7LLhhQizhm60jt5bdZA4+AN8STyPuMULMZ4FD97go4xMo292wN2dt DINg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769393389; x=1769998189; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=12JLVjSwH3qLFl84DNG93K/xFsEvtq9+jZ017krl8Fc=; b=eIjSknic+5TpEfgiCR4BdPNMMGBR6jdIPhY6gX9vRCBsauklHTGg0sWKbBdkxis6xk gW26R+Pj/VJZEj/pfEuUyJy+W6LxKiZvCfIuasqkVhY10K6nAPUqBxjk+8Ls7FMiWlkg az0ghc7hj5oPV9AadVtGbKU7VdU8gJvRLryg/rP7NlXGmP2ygRRNWNWNmtpQw9uarwm2 fB2FlgJecnrTOq8cAciRECoLfcwDJRZieosSkWdy6sXuNm5In7q2FpRWao2cHY9nD31f IsuAKaiUQf9th2LvafbSnUslFnSYQkMjb2PoAfbJgbZ+/N0ep8YsyOpf9DqwU79W/2u8 +DFA== X-Forwarded-Encrypted: i=1; AJvYcCUasponbxWAXWbGShcLEZzGXI06vA88MEZYFiuq5Si7y9+UpWKi3JOPOUHcxbtoxUNqaR8PDK7aZoPJimY=@vger.kernel.org X-Gm-Message-State: AOJu0YxNe0TfqtEGf9e/efFCS1PGsX5XkDZTH6uYAEOlK+rYCztFSmey s3oikguIKGofqJX8P8M73Kf2xK7f3GTrT5b4+wYiMj4EigiNBIi7eocGArjjcpfcrwijkzwP1yZ 4LAmr4xdIMbMiPi4PUb2PLI8vh4xxU3wB0eHVGlPEMzmYCtvPOZyLgYE/ba1Sm/qr4Uo= X-Gm-Gg: AZuq6aKl880NBT/SGTAtKFG/nX0YjJCq7Tl/XCNytuf51BgEPmsWPqRWvIDzpYQMQtq hyt0Xcdwf0sPXWXLkd/bsIPeHgpq+Xv3lMBaaR+ml/oUzjcwlYL5W2uwbaG3a+yUtmlSwKkxuno prlPRENhfyuff89AA19jTrRw3fUi+WLO/kiMk8gQKgbTUFmx6EitqB7Myp9mpEv5P8b5AXNVBmc wosA/6Z9aajViYpKZ8Z3inuCbqS5/AyY0tFbfyoOAEF8+0K6slX8yYzsZtrLMb7KrMSoFT0h9TK 8MOK/DTNnn3l++uauy5Pp522sb0FPB90duWQWkzLC7leMHMA527Vi1mpYGIaKgGSgmDp0FDdmeu s2fSG5pOVi8RWqeh6adsL5JKZLKwpvKEJ2C5gicih266s2RJxkhTSJuHR6iErK7f0MnKwY8kDhw EZ38neviN4Maq3PsX7htUcHUA= X-Received: by 2002:a05:620a:1a04:b0:8c6:f7c7:8481 with SMTP id af79cd13be357-8c6f9572730mr404989185a.8.1769393388639; Sun, 25 Jan 2026 18:09:48 -0800 (PST) X-Received: by 2002:a05:620a:1a04:b0:8c6:f7c7:8481 with SMTP id af79cd13be357-8c6f9572730mr404985285a.8.1769393388179; Sun, 25 Jan 2026 18:09:48 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-385d9faed52sm22778201fa.2.2026.01.25.18.09.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 18:09:47 -0800 (PST) From: Dmitry Baryshkov Date: Mon, 26 Jan 2026 04:09:39 +0200 Subject: [PATCH v2 4/4] media: qcom: venus: flip the venus/iris switch Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260126-venus-iris-flip-switch-v2-4-b0ea05e1739a@oss.qualcomm.com> References: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> In-Reply-To: <20260126-venus-iris-flip-switch-v2-0-b0ea05e1739a@oss.qualcomm.com> To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=4519; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=/pXYIcxvSkuZpBg9yyVPOQZNVFfc9Qv8zIPbdJARv/A=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpdszkDWQPZJZAbhdDbMFWtyDz3ANZ8+/rgd+Ks pMn6MAzUOiJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaXbM5AAKCRCLPIo+Aiko 1T+4B/9J4DeXrVENoNMzKe4OvhZKDMYMDGxA8Kg59wZVv3qeH00p6Znr02oEeibmz3Ed453OMG7 2z6/IkgEhnAnU6JTHC5xyUTc6+6bHiOva66mJ4sPjfc1UOTMPGptI6wty3lRX3KHBPO0dwGlGil 9zsmKCpSelSMqlr/tR/9uE3W6DNZ5iEz8JzKGk9CI4G0KNVCm6P45GnbIL3GTsFiJ/yPpN4LMrR gGI8mnaTWF7JHS+sfouRubQxk5LeUYQZuBhnJB+X3V9pMqyzPqGuROlwZwPHQ8KGqR2Q1BRGK+f ElOlfY20QGYfDnPMSDS73H3V/AfLUxYyDblz+qM+RQq0Av2E X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-GUID: B2NdvBABG0g4tYST2Uzvo1GTnonqduDi X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI2MDAxNyBTYWx0ZWRfXxtl9mp+7J8O8 7LJFeVKvmrmrWdaP/vgBOQ0gfoyTpHC3e5Ar85J8aU0b7WTUknQ5caTINHXQNwZPzcC3anlIBoF eLL+3AQ7rkP3ZZiY6C29lst2ch6T8geruPU6c1hH6gSXhsPGnMjydHSf0HPom+jE7ajNt4SPQZl FQ8sAZN1BoP2C6MzKOao9POMzOGvRSji+lTJP/V9FUHrgqdrGuuqUo2eQnf1/v2cjry5QcX+I0p vN4vkO9RUgdNPObqk/PGOUJNW/5HQGjMlkL0HVQcwewHyHR5EQB3hBm/hHVJFsO/Y3M+mrRMFjR 1Weiv04H+glkDpk4Fn59eSlIgG33zV0/MEDT0jYvgo5/sneR/oSLc1I1ldTtEJu+6zmzYqCpboR BzfxK8dK+PkrGDB6WV+Bf80fLQHA15tz4DkP/oM4P2IoLDXCqds8d4LI5hbg0Y1faG6J+0+hlHR 7cIxGOsgXSb4aPQHQew== X-Proofpoint-ORIG-GUID: B2NdvBABG0g4tYST2Uzvo1GTnonqduDi X-Authority-Analysis: v=2.4 cv=POgCOPqC c=1 sm=1 tr=0 ts=6976cced cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=ch7mjRkEqDhx0_hr-tEA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-25_06,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 impostorscore=0 spamscore=0 bulkscore=0 adultscore=0 suspectscore=0 malwarescore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601260017 With the Iris and Venus driver having more or less feature parity for "HFI 6xx" platforms and with Iris gaining support for SC7280, flip the switch. Use Iris by default for SM8250 and SC7280, the platforms which are supported by both drivers, and use Venus only if Iris is not compiled at all. Use IS_ENABLED to strip out the code and data structures which are used by the disabled platforms. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- drivers/media/platform/qcom/iris/iris_probe.c | 4 ---- drivers/media/platform/qcom/venus/core.c | 6 ++++++ drivers/media/platform/qcom/venus/core.h | 11 +++++++++++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/qcom/iris/iris_probe.c b/drivers/media/= platform/qcom/iris/iris_probe.c index 10b00d9808d2..3b662ba90259 100644 --- a/drivers/media/platform/qcom/iris/iris_probe.c +++ b/drivers/media/platform/qcom/iris/iris_probe.c @@ -352,22 +352,18 @@ static const struct of_device_id iris_dt_match[] =3D { .compatible =3D "qcom,qcs8300-iris", .data =3D &qcs8300_data, }, -#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_VENUS)) { .compatible =3D "qcom,sc7280-venus", .data =3D &sc7280_data, }, -#endif { .compatible =3D "qcom,sc8280xp-venus", .data =3D &sc8280xp_data, }, -#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_VENUS)) { .compatible =3D "qcom,sm8250-venus", .data =3D &sm8250_data, }, -#endif { .compatible =3D "qcom,sm8350-venus", .data =3D &sm8350_data, diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platf= orm/qcom/venus/core.c index 24d2b2fd0340..646dae3407b4 100644 --- a/drivers/media/platform/qcom/venus/core.c +++ b/drivers/media/platform/qcom/venus/core.c @@ -949,6 +949,7 @@ static const struct venus_resources sc7180_res =3D { .enc_nodename =3D "video-encoder", }; =20 +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) static const struct freq_tbl sm8250_freq_table[] =3D { { 0, 444000000 }, { 0, 366000000 }, @@ -1069,6 +1070,7 @@ static const struct venus_resources sc7280_res =3D { .dec_nodename =3D "video-decoder", .enc_nodename =3D "video-encoder", }; +#endif =20 static const struct bw_tbl qcm2290_bw_table_dec[] =3D { { 352800, 597000, 0, 746000, 0 }, /* 1080p@30 + 720p@30 */ @@ -1125,11 +1127,15 @@ static const struct of_device_id venus_dt_match[] = =3D { { .compatible =3D "qcom,msm8998-venus", .data =3D &msm8998_res, }, { .compatible =3D "qcom,qcm2290-venus", .data =3D &qcm2290_res, }, { .compatible =3D "qcom,sc7180-venus", .data =3D &sc7180_res, }, +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) { .compatible =3D "qcom,sc7280-venus", .data =3D &sc7280_res, }, +#endif { .compatible =3D "qcom,sdm660-venus", .data =3D &sdm660_res, }, { .compatible =3D "qcom,sdm845-venus", .data =3D &sdm845_res, }, { .compatible =3D "qcom,sdm845-venus-v2", .data =3D &sdm845_res_v2, }, +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) { .compatible =3D "qcom,sm8250-venus", .data =3D &sm8250_res, }, +#endif { } }; MODULE_DEVICE_TABLE(of, venus_dt_match); diff --git a/drivers/media/platform/qcom/venus/core.h b/drivers/media/platf= orm/qcom/venus/core.h index 7506f5d0f609..c7acacaa53b8 100644 --- a/drivers/media/platform/qcom/venus/core.h +++ b/drivers/media/platform/qcom/venus/core.h @@ -54,8 +54,10 @@ enum vpu_version { VPU_VERSION_AR50, VPU_VERSION_AR50_LITE, VPU_VERSION_IRIS1, +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) VPU_VERSION_IRIS2, VPU_VERSION_IRIS2_1, +#endif }; =20 struct firmware_version { @@ -525,13 +527,22 @@ struct venus_inst { #define IS_V1(core) ((core)->res->hfi_version =3D=3D HFI_VERSION_1XX) #define IS_V3(core) ((core)->res->hfi_version =3D=3D HFI_VERSION_3XX) #define IS_V4(core) ((core)->res->hfi_version =3D=3D HFI_VERSION_4XX) +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) #define IS_V6(core) ((core)->res->hfi_version =3D=3D HFI_VERSION_6XX) +#else +#define IS_V6(core) (0) +#endif =20 #define IS_AR50(core) ((core)->res->vpu_version =3D=3D VPU_VERSION_AR50) #define IS_AR50_LITE(core) ((core)->res->vpu_version =3D=3D VPU_VERSION_AR= 50_LITE) #define IS_IRIS1(core) ((core)->res->vpu_version =3D=3D VPU_VERSION_IRIS1) +#if (!IS_ENABLED(CONFIG_VIDEO_QCOM_IRIS)) #define IS_IRIS2(core) ((core)->res->vpu_version =3D=3D VPU_VERSION_IRIS2) #define IS_IRIS2_1(core) ((core)->res->vpu_version =3D=3D VPU_VERSION_IRIS= 2_1) +#else +#define IS_IRIS2(core) (0) +#define IS_IRIS2_1(core) (0) +#endif =20 static inline bool is_lite(struct venus_core *core) { --=20 2.47.3