* [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
@ 2025-09-15 10:06 Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment Stephan Gerhold
` (9 more replies)
0 siblings, 10 replies; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
Add the necessary definitions to enable the IRIS video codec for
accelerated video decoding on the X1E CRD, Lenovo ThinkPad T14s, Lenovo
Yoga Slim 7x, Dell Inspiron 14 Plus 7441, Dell Latitude 7455 and Dell XPS
13 9345. The additions are largely copied as-is from sm8550.dtsi with some
minor changes necessary for X1E.
The PAS interface used to boot the IRIS firmware works only when running
the usual setup with the Gunyah hypervisor in EL2 and Linux in EL1. It does
not work when booting Linux/KVM in EL2. The code to start it without using
PAS exists already in the Venus driver, but was not ported over to IRIS
yet. Discussions how to model the video-firmware IOMMU are still ongoing,
so disable IRIS in x1-el2.dtso for now to avoid regressions when running
with KVM.
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
Changes in v2:
- Reword EL2<=>KVM<=>Gunyah slightly to avoid confusion (Trilok)
- Fix typo in comment copied from sm8550.dtsi (Alexey)
- Enable IRIS on Dell Thena variants (Bryan)
- Enable IRIS on Lenovo Slim 7x (Anthony)
- Enable IRIS on Dell XPS (Stefan Schmidt tested it before,
see Tested-by in initial IRIS driver commits)
- Link to v1: https://lore.kernel.org/r/20250911-x1e-iris-dt-v1-0-63caf0fd202c@linaro.org
---
Stephan Gerhold (9):
arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment
arm64: dts: qcom: x1e80100: Add IRIS video codec
arm64: dts: qcom: x1-el2: Disable IRIS for now
arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec
arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS
arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Enable IRIS
arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: Enable IRIS
arm64: dts: qcom: x1e80100-dell-latitude-7455: Enable IRIS
arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable IRIS
arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +-
arch/arm64/boot/dts/qcom/x1-el2.dtso | 5 ++
.../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 5 ++
arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 4 +
.../qcom/x1e80100-dell-inspiron-14-plus-7441.dts | 5 ++
.../boot/dts/qcom/x1e80100-dell-latitude-7455.dts | 5 ++
.../boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 5 ++
.../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 5 ++
arch/arm64/boot/dts/qcom/x1e80100.dtsi | 87 ++++++++++++++++++++++
10 files changed, 123 insertions(+), 2 deletions(-)
---
base-commit: 590b221ed4256fd6c34d3dea77aa5bd6e741bbc1
change-id: 20250909-x1e-iris-dt-eb0494a130ca
Best regards,
--
Stephan Gerhold <stephan.gerhold@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:03 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 2/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (8 subsequent siblings)
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
It should be "enable on boards", not "enable in boards".
Reported-by: Alexey Klimov <alexey.klimov@linaro.org>
Closes: https://lore.kernel.org/r/DCQ8G73ISXHC.3V03MOGB6NDZE@linaro.org/
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
index 2df6ba05e0cddaebf3d35a4b4b8e5cbb9048dfb1..ec67efd64b78673352c4c6e3a4e7e504d4525b46 100644
--- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
@@ -3262,7 +3262,7 @@ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
/*
* IRIS firmware is signed by vendors, only
- * enable in boards where the proper signed firmware
+ * enable on boards where the proper signed firmware
* is available.
*/
status = "disabled";
diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 367f448a743a306993b40f6c6b8a23a816744afb..e7582a19184b48de66d572d6e98fbf2f36a8c17f 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -5186,7 +5186,7 @@ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
/*
* IRIS firmware is signed by vendors, only
- * enable in boards where the proper signed firmware
+ * enable on boards where the proper signed firmware
* is available.
*/
status = "disabled";
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 2/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now Stephan Gerhold
` (7 subsequent siblings)
9 siblings, 0 replies; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
Add the IRIS video codec to accelerate video decoding/encoding. Copied
mostly from sm8550.dtsi, only the opp-table is slightly different for X1E.
For opp-240000000, we need to vote for a higher OPP on one of the power
domains, because the voltage requirements for the PLL and the derived
clocks differ (sm8550.dtsi has the same).
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # x1e Inspiron 14p
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Thinkpad T14S OLED
Tested-by: Anthony Ruhier <aruhier@mailbox.org> # Lenovo Slim 7x
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100.dtsi | 87 ++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index ba602eddfb54616ad38205570bc56a1f0e62c023..a6305077f150d59ef8fdbd13fe3ba03d43646c91 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -5234,6 +5234,93 @@ usb_1_ss1_dwc3_ss: endpoint {
};
};
+ iris: video-codec@aa00000 {
+ compatible = "qcom,x1e80100-iris", "qcom,sm8550-iris";
+
+ reg = <0 0x0aa00000 0 0xf0000>;
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+
+ power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
+ <&videocc VIDEO_CC_MVS0_GDSC>,
+ <&rpmhpd RPMHPD_MXC>,
+ <&rpmhpd RPMHPD_MMCX>;
+ power-domain-names = "venus",
+ "vcodec0",
+ "mxc",
+ "mmcx";
+ operating-points-v2 = <&iris_opp_table>;
+
+ clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
+ <&videocc VIDEO_CC_MVS0C_CLK>,
+ <&videocc VIDEO_CC_MVS0_CLK>;
+ clock-names = "iface",
+ "core",
+ "vcodec0_core";
+
+ interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
+ <&mmss_noc MASTER_VIDEO QCOM_ICC_TAG_ALWAYS
+ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
+ interconnect-names = "cpu-cfg",
+ "video-mem";
+
+ memory-region = <&video_mem>;
+
+ resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>;
+ reset-names = "bus";
+
+ iommus = <&apps_smmu 0x1940 0>,
+ <&apps_smmu 0x1947 0>;
+ dma-coherent;
+
+ /*
+ * IRIS firmware is signed by vendors, only
+ * enable on boards where the proper signed firmware
+ * is available.
+ */
+ status = "disabled";
+
+ iris_opp_table: opp-table {
+ compatible = "operating-points-v2";
+
+ opp-192000000 {
+ opp-hz = /bits/ 64 <192000000>;
+ required-opps = <&rpmhpd_opp_low_svs_d1>,
+ <&rpmhpd_opp_low_svs_d1>;
+ };
+
+ opp-240000000 {
+ opp-hz = /bits/ 64 <240000000>;
+ required-opps = <&rpmhpd_opp_svs>,
+ <&rpmhpd_opp_low_svs>;
+ };
+
+ opp-338000000 {
+ opp-hz = /bits/ 64 <338000000>;
+ required-opps = <&rpmhpd_opp_svs>,
+ <&rpmhpd_opp_svs>;
+ };
+
+ opp-366000000 {
+ opp-hz = /bits/ 64 <366000000>;
+ required-opps = <&rpmhpd_opp_svs_l1>,
+ <&rpmhpd_opp_svs_l1>;
+ };
+
+ opp-444000000 {
+ opp-hz = /bits/ 64 <444000000>;
+ required-opps = <&rpmhpd_opp_nom>,
+ <&rpmhpd_opp_nom>;
+ };
+
+ opp-481000000 {
+ opp-hz = /bits/ 64 <481000000>;
+ required-opps = <&rpmhpd_opp_turbo>,
+ <&rpmhpd_opp_turbo>;
+ };
+ };
+ };
+
videocc: clock-controller@aaf0000 {
compatible = "qcom,x1e80100-videocc";
reg = <0 0x0aaf0000 0 0x10000>;
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 2/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:02 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec Stephan Gerhold
` (6 subsequent siblings)
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
The reset and IOMMU management for remoteprocs like IRIS is implemented in
the hypervisor for older targets such as X1E [1]. When booting Linux/KVM
directly in EL2, this functionality is missing and the PAS interface
normally used by IRIS to boot the video firmware is not working.
The Venus driver supports starting the video firmware without using the PAS
interface. The same code also works for X1E when using KVM. However, for
the new IRIS dt-bindings it was decided to avoid using the dummy
"video-firmware" node in the device tree to describe the IOMMU [2].
Discussion is still ongoing how to describe this properly [3].
To avoid regressions when running using KVM, add a TODO in x1-el2.dtso for
now and disable IRIS even when it was enabled by the board.
[1]: https://resources.linaro.org/en/resource/sF8jXifdb9V1mUefdbfafa
[2]: https://lore.kernel.org/r/20250823155349.22344-2-krzysztof.kozlowski@linaro.org/
[3]: https://lore.kernel.org/r/20250819165447.4149674-12-mukesh.ojha@oss.qualcomm.com/
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1-el2.dtso | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1-el2.dtso b/arch/arm64/boot/dts/qcom/x1-el2.dtso
index 380441deca65d1b443962fbe6151f4aadd918383..2d1c9151cf1b4aca79f7ad67328ffc3c721b9dc3 100644
--- a/arch/arm64/boot/dts/qcom/x1-el2.dtso
+++ b/arch/arm64/boot/dts/qcom/x1-el2.dtso
@@ -12,6 +12,11 @@ &gpu_zap_shader {
status = "disabled";
};
+&iris {
+ /* TODO: Add video-firmware iommus to start IRIS from EL2 */
+ status = "disabled";
+};
+
/*
* When running under Gunyah, this IOMMU is controlled by the firmware,
* however when we take ownership of it in EL2, we need to configure
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (2 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:01 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS Stephan Gerhold
` (5 subsequent siblings)
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
IRIS firmware for x1e80100-crd is already upstream in linux-firmware in the
default path, so enable IRIS for the CRD to accelerate video decoding.
It looks like the X1P CRD might need a different IRIS firmware (possibly
even changes in the Linux kernel driver), so keep it local to the X1E CRD
for now.
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
index 976b8e44b5763b2d6c0f4786bf5809fee29dcecc..dfc378e1a056a8af27ef4b646f7589e7198dbaf8 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
@@ -16,3 +16,7 @@ / {
&gpu_zap_shader {
firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
};
+
+&iris {
+ status = "okay";
+};
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (3 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: " Stephan Gerhold
` (4 subsequent siblings)
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
IRIS firmware for the Lenovo ThinkPad T14s is already upstream in
linux-firmware at qcom/x1e80100/LENOVO/21N1/qcvss8380.mbn, so enable IRIS
for the T14s with the corresponding firmware-name property.
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Thinkpad T14S OLED
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
index 23213b0d9582822e9503e4acf18c62d5c8c7867d..0a989e9d3d23146cb9689b68ba6c5779283b3c98 100644
--- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
@@ -967,6 +967,11 @@ touchscreen@10 {
/* TODO: second-sourced touchscreen @ 0x41 */
};
+&iris {
+ firmware-name = "qcom/x1e80100/LENOVO/21N1/qcvss8380.mbn";
+ status = "okay";
+};
+
&lpass_tlmm {
spkr_01_sd_n_active: spkr-01-sd-n-active-state {
pins = "gpio12";
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Enable IRIS
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (4 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: " Stephan Gerhold
` (3 subsequent siblings)
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
IRIS firmware for the Lenovo Yoga Slim 7x is already upstream in
linux-firmware at qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn, so enable IRIS
for the Slim 7x with the corresponding firmware-name property.
Tested-by: Anthony Ruhier <aruhier@mailbox.org>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
index dae616cd93bdf54bf2d3a3d4d0848e7289a78845..e0642fe8343f6818e1e10656a1d8fec8fb09e7e2 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
@@ -1026,6 +1026,11 @@ touchscreen@14 {
};
};
+&iris {
+ firmware-name = "qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn";
+ status = "okay";
+};
+
&lpass_tlmm {
spkr_01_sd_n_active: spkr-01-sd-n-active-state {
pins = "gpio12";
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: Enable IRIS
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (5 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: " Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 10:59 ` Bryan O'Donoghue
2025-09-15 11:01 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: " Stephan Gerhold
` (2 subsequent siblings)
9 siblings, 2 replies; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
Enable IRIS to allow using the hardware-accelerated video codecs. The
firmware is not upstream in linux-firmware yet, so users need to copy it
from Windows to qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn
(just like GPU/ADSP/CDSP firmware).
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
index f728d298c72f4bf2ee151698e36108fdd7a8e5a5..cf2a7c2628881e44f093d73e6496462c22326d9a 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
@@ -37,6 +37,11 @@ touchscreen@10 {
};
};
+&iris {
+ firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn";
+ status = "okay";
+};
+
&remoteproc_adsp {
firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcadsp8380.mbn",
"qcom/x1e80100/dell/inspiron-14-plus-7441/adsp_dtbs.elf";
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: Enable IRIS
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (6 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: " Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 10:59 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: " Stephan Gerhold
2025-09-16 16:58 ` [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Bjorn Andersson
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
Enable IRIS to allow using the hardware-accelerated video codecs. The
firmware is not upstream in linux-firmware yet, so users need to copy it
from Windows to qcom/x1e80100/dell/latitude-7455/qcvss8380.mbn (just like
GPU/ADSP/CDSP firmware).
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
index ace2a905e4430d6cd1db59e9a9fb7441f7fe0aa9..32ad9679550efce1fda1182bd874d6a3c53d8f03 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
@@ -38,6 +38,11 @@ touchscreen@9 {
};
};
+&iris {
+ firmware-name = "qcom/x1e80100/dell/latitude-7455/qcvss8380.mbn";
+ status = "okay";
+};
+
&remoteproc_adsp {
firmware-name = "qcom/x1e80100/dell/latitude-7455/qcadsp8380.mbn",
"qcom/x1e80100/dell/latitude-7455/adsp_dtbs.elf";
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable IRIS
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (7 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: " Stephan Gerhold
@ 2025-09-15 10:06 ` Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-16 16:58 ` [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Bjorn Andersson
9 siblings, 1 reply; 20+ messages in thread
From: Stephan Gerhold @ 2025-09-15 10:06 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
Enable IRIS to allow using the hardware-accelerated video codecs. The
firmware is not upstream in linux-firmware yet, so users need to copy it
from Windows to qcom/x1e80100/dell/xps13-9345/qcvss8380.mbn (just like
GPU/ADSP/CDSP firmware).
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
index 19a2604038a88f37e6ab87129a6318db78345339..58f8caaa7258077d2c267048ca048279109ddb71 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
@@ -875,6 +875,11 @@ touchpad@2c {
};
};
+&iris {
+ firmware-name = "qcom/x1e80100/dell/xps13-9345/qcvss8380.mbn";
+ status = "okay";
+};
+
&mdss {
status = "okay";
};
--
2.50.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: " Stephan Gerhold
@ 2025-09-15 10:59 ` Bryan O'Donoghue
2025-09-15 11:01 ` Bryan O'Donoghue
1 sibling, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 10:59 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> Enable IRIS to allow using the hardware-accelerated video codecs. The
> firmware is not upstream in linux-firmware yet, so users need to copy it
> from Windows to qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn
> (just like GPU/ADSP/CDSP firmware).
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> index f728d298c72f4bf2ee151698e36108fdd7a8e5a5..cf2a7c2628881e44f093d73e6496462c22326d9a 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> @@ -37,6 +37,11 @@ touchscreen@10 {
> };
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &remoteproc_adsp {
> firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcadsp8380.mbn",
> "qcom/x1e80100/dell/inspiron-14-plus-7441/adsp_dtbs.elf";
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: " Stephan Gerhold
@ 2025-09-15 10:59 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 10:59 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> Enable IRIS to allow using the hardware-accelerated video codecs. The
> firmware is not upstream in linux-firmware yet, so users need to copy it
> from Windows to qcom/x1e80100/dell/latitude-7455/qcvss8380.mbn (just like
> GPU/ADSP/CDSP firmware).
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
> index ace2a905e4430d6cd1db59e9a9fb7441f7fe0aa9..32ad9679550efce1fda1182bd874d6a3c53d8f03 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-latitude-7455.dts
> @@ -38,6 +38,11 @@ touchscreen@9 {
> };
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/dell/latitude-7455/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &remoteproc_adsp {
> firmware-name = "qcom/x1e80100/dell/latitude-7455/qcadsp8380.mbn",
> "qcom/x1e80100/dell/latitude-7455/adsp_dtbs.elf";
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: " Stephan Gerhold
@ 2025-09-15 11:00 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:00 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> Enable IRIS to allow using the hardware-accelerated video codecs. The
> firmware is not upstream in linux-firmware yet, so users need to copy it
> from Windows to qcom/x1e80100/dell/xps13-9345/qcvss8380.mbn (just like
> GPU/ADSP/CDSP firmware).
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
> index 19a2604038a88f37e6ab87129a6318db78345339..58f8caaa7258077d2c267048ca048279109ddb71 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts
> @@ -875,6 +875,11 @@ touchpad@2c {
> };
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/dell/xps13-9345/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &mdss {
> status = "okay";
> };
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: " Stephan Gerhold
@ 2025-09-15 11:00 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:00 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> IRIS firmware for the Lenovo Yoga Slim 7x is already upstream in
> linux-firmware at qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn, so enable IRIS
> for the Slim 7x with the corresponding firmware-name property.
>
> Tested-by: Anthony Ruhier <aruhier@mailbox.org>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> index dae616cd93bdf54bf2d3a3d4d0848e7289a78845..e0642fe8343f6818e1e10656a1d8fec8fb09e7e2 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts
> @@ -1026,6 +1026,11 @@ touchscreen@14 {
> };
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/LENOVO/83ED/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &lpass_tlmm {
> spkr_01_sd_n_active: spkr-01-sd-n-active-state {
> pins = "gpio12";
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS Stephan Gerhold
@ 2025-09-15 11:00 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:00 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> IRIS firmware for the Lenovo ThinkPad T14s is already upstream in
> linux-firmware at qcom/x1e80100/LENOVO/21N1/qcvss8380.mbn, so enable IRIS
> for the T14s with the corresponding firmware-name property.
>
> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Thinkpad T14S OLED
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> index 23213b0d9582822e9503e4acf18c62d5c8c7867d..0a989e9d3d23146cb9689b68ba6c5779283b3c98 100644
> --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi
> @@ -967,6 +967,11 @@ touchscreen@10 {
> /* TODO: second-sourced touchscreen @ 0x41 */
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/LENOVO/21N1/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &lpass_tlmm {
> spkr_01_sd_n_active: spkr-01-sd-n-active-state {
> pins = "gpio12";
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec
2025-09-15 10:06 ` [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec Stephan Gerhold
@ 2025-09-15 11:01 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:01 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> IRIS firmware for x1e80100-crd is already upstream in linux-firmware in the
> default path, so enable IRIS for the CRD to accelerate video decoding.
>
> It looks like the X1P CRD might need a different IRIS firmware (possibly
> even changes in the Linux kernel driver), so keep it local to the X1E CRD
> for now.
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> index 976b8e44b5763b2d6c0f4786bf5809fee29dcecc..dfc378e1a056a8af27ef4b646f7589e7198dbaf8 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> @@ -16,3 +16,7 @@ / {
> &gpu_zap_shader {
> firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
> };
> +
> +&iris {
> + status = "okay";
> +};
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: Enable IRIS
2025-09-15 10:06 ` [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: " Stephan Gerhold
2025-09-15 10:59 ` Bryan O'Donoghue
@ 2025-09-15 11:01 ` Bryan O'Donoghue
1 sibling, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:01 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> Enable IRIS to allow using the hardware-accelerated video codecs. The
> firmware is not upstream in linux-firmware yet, so users need to copy it
> from Windows to qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn
> (just like GPU/ADSP/CDSP firmware).
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> index f728d298c72f4bf2ee151698e36108fdd7a8e5a5..cf2a7c2628881e44f093d73e6496462c22326d9a 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-inspiron-14-plus-7441.dts
> @@ -37,6 +37,11 @@ touchscreen@10 {
> };
> };
>
> +&iris {
> + firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcvss8380.mbn";
> + status = "okay";
> +};
> +
> &remoteproc_adsp {
> firmware-name = "qcom/x1e80100/dell/inspiron-14-plus-7441/qcadsp8380.mbn",
> "qcom/x1e80100/dell/inspiron-14-plus-7441/adsp_dtbs.elf";
>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now
2025-09-15 10:06 ` [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now Stephan Gerhold
@ 2025-09-15 11:02 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:02 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> The reset and IOMMU management for remoteprocs like IRIS is implemented in
> the hypervisor for older targets such as X1E [1]. When booting Linux/KVM
> directly in EL2, this functionality is missing and the PAS interface
> normally used by IRIS to boot the video firmware is not working.
>
> The Venus driver supports starting the video firmware without using the PAS
> interface. The same code also works for X1E when using KVM. However, for
> the new IRIS dt-bindings it was decided to avoid using the dummy
> "video-firmware" node in the device tree to describe the IOMMU [2].
> Discussion is still ongoing how to describe this properly [3].
>
> To avoid regressions when running using KVM, add a TODO in x1-el2.dtso for
> now and disable IRIS even when it was enabled by the board.
>
> [1]: https://resources.linaro.org/en/resource/sF8jXifdb9V1mUefdbfafa
> [2]: https://lore.kernel.org/r/20250823155349.22344-2-krzysztof.kozlowski@linaro.org/
> [3]: https://lore.kernel.org/r/20250819165447.4149674-12-mukesh.ojha@oss.qualcomm.com/
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/x1-el2.dtso | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1-el2.dtso b/arch/arm64/boot/dts/qcom/x1-el2.dtso
> index 380441deca65d1b443962fbe6151f4aadd918383..2d1c9151cf1b4aca79f7ad67328ffc3c721b9dc3 100644
> --- a/arch/arm64/boot/dts/qcom/x1-el2.dtso
> +++ b/arch/arm64/boot/dts/qcom/x1-el2.dtso
> @@ -12,6 +12,11 @@ &gpu_zap_shader {
> status = "disabled";
> };
>
> +&iris {
> + /* TODO: Add video-firmware iommus to start IRIS from EL2 */
> + status = "disabled";
> +};
> +
> /*
> * When running under Gunyah, this IOMMU is controlled by the firmware,
> * however when we take ownership of it in EL2, we need to configure
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment
2025-09-15 10:06 ` [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment Stephan Gerhold
@ 2025-09-15 11:03 ` Bryan O'Donoghue
0 siblings, 0 replies; 20+ messages in thread
From: Bryan O'Donoghue @ 2025-09-15 11:03 UTC (permalink / raw)
To: Stephan Gerhold, Bjorn Andersson, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Neil Armstrong, Alexey Klimov, Anthony Ruhier, Stefan Schmidt
On 15/09/2025 11:06, Stephan Gerhold wrote:
> It should be "enable on boards", not "enable in boards".
>
> Reported-by: Alexey Klimov <alexey.klimov@linaro.org>
> Closes: https://lore.kernel.org/r/DCQ8G73ISXHC.3V03MOGB6NDZE@linaro.org/
> Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +-
> arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index 2df6ba05e0cddaebf3d35a4b4b8e5cbb9048dfb1..ec67efd64b78673352c4c6e3a4e7e504d4525b46 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -3262,7 +3262,7 @@ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
>
> /*
> * IRIS firmware is signed by vendors, only
> - * enable in boards where the proper signed firmware
> + * enable on boards where the proper signed firmware
> * is available.
> */
> status = "disabled";
> diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> index 367f448a743a306993b40f6c6b8a23a816744afb..e7582a19184b48de66d572d6e98fbf2f36a8c17f 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> @@ -5186,7 +5186,7 @@ &config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
>
> /*
> * IRIS firmware is signed by vendors, only
> - * enable in boards where the proper signed firmware
> + * enable on boards where the proper signed firmware
> * is available.
> */
> status = "disabled";
>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
` (8 preceding siblings ...)
2025-09-15 10:06 ` [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: " Stephan Gerhold
@ 2025-09-16 16:58 ` Bjorn Andersson
9 siblings, 0 replies; 20+ messages in thread
From: Bjorn Andersson @ 2025-09-16 16:58 UTC (permalink / raw)
To: Konrad Dybcio, Stephan Gerhold
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
devicetree, linux-kernel, Dikshita Agarwal, Vikash Garodia,
Bryan O'Donoghue, Neil Armstrong, Alexey Klimov,
Anthony Ruhier, Stefan Schmidt
On Mon, 15 Sep 2025 12:06:11 +0200, Stephan Gerhold wrote:
> Add the necessary definitions to enable the IRIS video codec for
> accelerated video decoding on the X1E CRD, Lenovo ThinkPad T14s, Lenovo
> Yoga Slim 7x, Dell Inspiron 14 Plus 7441, Dell Latitude 7455 and Dell XPS
> 13 9345. The additions are largely copied as-is from sm8550.dtsi with some
> minor changes necessary for X1E.
>
> The PAS interface used to boot the IRIS firmware works only when running
> the usual setup with the Gunyah hypervisor in EL2 and Linux in EL1. It does
> not work when booting Linux/KVM in EL2. The code to start it without using
> PAS exists already in the Venus driver, but was not ported over to IRIS
> yet. Discussions how to model the video-firmware IOMMU are still ongoing,
> so disable IRIS in x1-el2.dtso for now to avoid regressions when running
> with KVM.
>
> [...]
Applied, thanks!
[1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment
commit: 893e2abc1ae35f67f29909cd062cff978bf26b44
[2/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
commit: 9065340ac04dd8a1b07da0f024aa3a1e4dd2cffb
[3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now
commit: c0f045e303e014cec5d883edf82fe5de74769944
[4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec
commit: e2367a67b3de64e1972cd6fdb8029c974fc3b2fc
[5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS
commit: ee2d56bb33d5fe17155e933326fb0f9b7ff1d034
[6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Enable IRIS
commit: 98180f6796925abdfce26e44671048fd05387190
[7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: Enable IRIS
commit: 647198bd7101cd399b3dbae96630d72db68b8752
[8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: Enable IRIS
commit: a80ead38c51e93ed6f19733f2cbdb93abab4dbf8
[9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable IRIS
commit: c4376ad753566e44f8e9198b7f05f79145419cd3
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2025-09-16 16:58 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15 10:06 [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 1/9] arm64: dts: qcom: sm8550/sm8650: Fix typo in IRIS comment Stephan Gerhold
2025-09-15 11:03 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 2/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Stephan Gerhold
2025-09-15 10:06 ` [PATCH v2 3/9] arm64: dts: qcom: x1-el2: Disable IRIS for now Stephan Gerhold
2025-09-15 11:02 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 4/9] arm64: dts: qcom: x1e80100-crd: Enable IRIS video codec Stephan Gerhold
2025-09-15 11:01 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 5/9] arm64: dts: qcom: x1e78100-lenovo-thinkpad-t14s: Enable IRIS Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 6/9] arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: " Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 7/9] arm64: dts: qcom: x1e80100-dell-inspiron-14-plus-7441: " Stephan Gerhold
2025-09-15 10:59 ` Bryan O'Donoghue
2025-09-15 11:01 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 8/9] arm64: dts: qcom: x1e80100-dell-latitude-7455: " Stephan Gerhold
2025-09-15 10:59 ` Bryan O'Donoghue
2025-09-15 10:06 ` [PATCH v2 9/9] arm64: dts: qcom: x1e80100-dell-xps13-9345: " Stephan Gerhold
2025-09-15 11:00 ` Bryan O'Donoghue
2025-09-16 16:58 ` [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox