[PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec

Stephan Gerhold posted 9 patches 2 weeks, 3 days ago
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(-)
[PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
Posted by Stephan Gerhold 2 weeks, 3 days ago
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>
Re: [PATCH v2 0/9] arm64: dts: qcom: x1e80100: Add IRIS video codec
Posted by Bjorn Andersson 2 weeks, 1 day ago
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>