media: iris: enable SM8350 and SC8280XP support
Subsystems (7)
v4 cover media: iris: enable SM8350 and SC8280XP support
In order to enable wider testing of the Iris driver on the HFI Gen1 platforms enable support for Qualcomm SM8350 and SC8280XP platforms.
Note, this has been tested only with the Iris driver. Venus driver fails to boot the Iris core on SM8350 pointing out the UC_REGION error.
Note, the firmware for SM8250 isn't compatible with SM8350 (nor with SC8280XP). Please use corresponding firmware, extracted from the Windows / Android data.
On SM8350 with the Iris driver:
$ v4l2-compliance v4l2-compliance 1.30.1, 64 bits, 64-bit time_t
Compliance test for iris_driver device /dev/video0:
Driver Info:
Driver name : iris_driver
Card type : Iris Decoder
Bus info : platform:aa00000.video-codec
Driver version : 7.0.0
Capabilities : 0x84204000 Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Detected Stateful Decoder
Required ioctls:
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 2 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK (Not Supported) test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK
test Composing: OK
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test CREATE_BUFS maximum buffers: OK test VIDIOC_REMOVE_BUFS: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported) test blocking wait: OK
Total for iris_driver device /dev/video0: 48, Succeeded: 48, Failed: 0, Warnings: 0
|TOTALS|FFmpeg-H.265-v4l2m2m|GStreamer-H.265-V4L2-Gst1.0|FFmpeg-H.264-v4l2m2m|GStreamer-H.264-V4L2-Gst1.0|FFmpeg-VP9-v4l2m2m|GStreamer-VP9-V4L2-Gst1.0| |-|-|-|-|-|-|-| |TOTAL|169/316|128/316|154/447|126/447|159/311|229/311| |TOTAL TIME|242.251s|267.903s|293.458s|261.934s|203.009s|366.936s| |-|-|-|-|-|-|-| |Profile|FFmpeg-H.265-v4l2m2m|GStreamer-H.265-V4L2-Gst1.0|FFmpeg-H.264-v4l2m2m|GStreamer-H.264-V4L2-Gst1.0|FFmpeg-VP9-v4l2m2m|GStreamer-VP9-V4L2-Gst1.0| |BASELINE|0/0|0/0|3/7|4/7|0/0|0/0| |CAVLC_4_4_4|0/0|0/0|0/3|0/3|0/0|0/0| |CAVLC_4_4_4_INTRA|0/0|0/0|0/4|0/4|0/0|0/0| |CONSTRAINED_BASELINE|0/0|0/0|32/33|33/33|0/0|0/0| |EXTENDED|0/0|0/0|1/6|1/6|0/0|0/0| |HIGH|0/0|0/0|22/45|22/45|0/0|0/0| |HIGH_10|0/0|0/0|0/2|0/2|0/0|0/0| |HIGH_10_INTRA|0/0|0/0|0/7|0/7|0/0|0/0| |HIGH_4_2_2|0/0|0/0|0/21|0/21|0/0|0/0| |HIGH_4_2_2_INTRA|0/0|0/0|0/7|0/7|0/0|0/0| |HIGH_4_4_4_INTRA|0/0|0/0|0/6|0/6|0/0|0/0| |HIGH_4_4_4_PREDICTIVE|0/0|0/0|0/11|0/11|0/0|0/0| |MAIN|127/135|126/135|41/90|41/90|0/0|0/0| |MAIN_10|0/11|0/11|0/0|0/0|0/0|0/0| |MAIN_STILL_PICTURE|1/1|1/1|0/0|0/0|0/0|0/0| |-|-|-|-|-|-|-|
---
Changes in v4:
- Changed compat strings to use -iris instead of -venus (Konrad,
Dikshita)
- Dropped separate schema file, switched to SM8250 schema
- Dropped driver bits, it's covered by compatible string now
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Add missing header, sorry.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Added missing chunk, including sm8350-videocc.h, lost in rebases.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Dmitry Baryshkov (4):
media: dt-bindings: Document SC8280XP/SM8350 Iris
arm64: dts: qcom: sc8280xp: sort reserved memory regions
arm64: dts: qcom: sm8350: add Iris device
arm64: dts: qcom: sm8350-hdk: enable Iris core
Konrad Dybcio (2):
arm64: dts: qcom: sc8280xp: Add Iris core
arm64: dts: qcom: sc8280xp-x13s: Enable Iris.../bindings/media/qcom,sm8250-venus.yaml | 10 +- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 6 ++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 103 ++++++++++++++++++++- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 6 ++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 81 ++++++++++++++++ 5 files changed, 202 insertions(+), 4 deletions(-)
---
base-commit: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
change-id: 20260120-iris-sc8280xp-85d13bc60536
prerequisite-change-id: 20260131-iris-venus-fix-sm8250-f938e29e7497:v5
prerequisite-patch-id: 6d85e3db422bc7f16246249288a17b92f6edbc09
prerequisite-patch-id: 579d712ec3f942ba0c362e242c71361c151092b5
prerequisite-patch-id: fa4629a3909fbae3917d8c067cce4f673ee857c0
prerequisite-patch-id: cbbd40736f7a797ff76b0fe2b1ddfb559e14e666
prerequisite-patch-id: 5b50917dcfef01db13af320cbd1cba15fd5fa16f
prerequisite-patch-id: 8948139735836adb9fbc51d93b969911dc5b38e8
prerequisite-patch-id: 7ec91bd0149f347c479c906e73cabaa28601ab3d
prerequisite-patch-id: c711522b63f640b7504767b3af7adc05a0b36cac
prerequisite-patch-id: 42b9cd5e0fd6fd99eae267c78b239333adff7637
prerequisite-patch-id: 11c487545e2462ff0a515d689863c3f7f25f9449
prerequisite-change-id: 20251119-venus-iris-flip-switch-d59a3fbc6a4b:v4
prerequisite-patch-id: 615a763749fdc0c4ee184478bc64120972d8c7a1
prerequisite-patch-id: 6d85e3db422bc7f16246249288a17b92f6edbc09
prerequisite-patch-id: 579d712ec3f942ba0c362e242c71361c151092b5
prerequisite-patch-id: fa4629a3909fbae3917d8c067cce4f673ee857c0
prerequisite-patch-id: cbbd40736f7a797ff76b0fe2b1ddfb559e14e666
prerequisite-patch-id: 5b50917dcfef01db13af320cbd1cba15fd5fa16f
Best regards,
Signature · 2 lines
With best wishes Dmitry
PATCH v4 1/6 media: dt-bindings: Document SC8280XP/SM8350 Iris
The Iris block on SM8350 and SC8280XP is compatible with the Iris (Venus) on SM8250. Document those two IP cores, using qcom,sm8250-venus as a fallback compatible.
--- Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +8 -2
@@ -10,7 +10,7 @@ maintainers: - Stanimir Varbanov <[email protected]> description: | - The Venus IP is a video encode and decode accelerator present + The Iris2 IP is a video encode and decode accelerator present on Qualcomm platforms allOf:
@@ -18,7 +18,13 @@ allOf: properties: compatible: - const: qcom,sm8250-venus + oneOf: + - const: qcom,sm8250-venus + - items: + - enum: + - qcom,sc8280xp-iris + - qcom,sm8350-iris + - const: qcom,sm8250-venus power-domains: minItems: 2
Signature · 1 line
2.47.3
Re: [PATCH v4 1/6] media: dt-bindings: Document SC8280XP/SM8350 Iris
Quoted 14 lines · Dmitry Baryshkov
The Iris block on SM8350 and SC8280XP is compatible with the Iris (Venus) on SM8250. Document those two IP cores, using qcom,sm8250-venus as a fallback compatible.
Signed-off-by Dmitry Baryshkov <[email protected]>--- Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +0
-0
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml maintainers: · line 13
Quoted 5 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +1
-1@@ -10,7 +10,7 @@ maintainers: - Stanimir Varbanov <[email protected]> description: | - The Venus IP is a video encode and decode accelerator present + The Iris2 IP is a video encode and decode accelerator present
Why Venus name disappears? And why now this is Iris2, not Iris? It's the first time such name is used. Just call it Venus/Iris if the new devices renamed the block.
Best regards,
Krzysztof
Re: [PATCH v4 1/6] media: dt-bindings: Document SC8280XP/SM8350 Iris
Quoted 17 lines · Krzysztof Kozlowski
Quoted 16 lines · Dmitry Baryshkov
The Iris block on SM8350 and SC8280XP is compatible with the Iris (Venus) on SM8250. Document those two IP cores, using qcom,sm8250-venus as a fallback compatible.
Signed-off-by Dmitry Baryshkov <[email protected]>--- Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +0
-0@@ -10,7 +10,7 @@ maintainers: - Stanimir Varbanov <[email protected]>
Quoted 7 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml maintainers: · line 13
Quoted 3 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +1
-1description: | - The Venus IP is a video encode and decode accelerator present + The Iris2 IP is a video encode and decode accelerator presentWhy Venus name disappears? And why now this is Iris2, not Iris? It's the first time such name is used. Just call it Venus/Iris if the new devices renamed the block.
SM8150, SC8180X had Iris 1.xx. SM8250 and SC7280 have Iris 2.xx. But when the bindings were written, it seems, it wasn't obvious (or important enough). I will change this to Venus / Iris 2.xx
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v4 1/6] media: dt-bindings: Document SC8280XP/SM8350 Iris
Quoted 26 lines · Dmitry Baryshkov
Quoted 17 lines · Krzysztof Kozlowski
Quoted 16 lines · Dmitry Baryshkov
The Iris block on SM8350 and SC8280XP is compatible with the Iris (Venus) on SM8250. Document those two IP cores, using qcom,sm8250-venus as a fallback compatible.
Signed-off-by Dmitry Baryshkov <[email protected]>--- Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +0
-0@@ -10,7 +10,7 @@ maintainers: - Stanimir Varbanov <[email protected]>Quoted 7 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml maintainers: · line 13
Quoted 3 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +1
-1description: | - The Venus IP is a video encode and decode accelerator present + The Iris2 IP is a video encode and decode accelerator presentWhy Venus name disappears? And why now this is Iris2, not Iris? It's the first time such name is used. Just call it Venus/Iris if the new devices renamed the block.
Quoted 3 lines
SM8150, SC8180X had Iris 1.xx. SM8250 and SC7280 have Iris 2.xx. But when the bindings were written, it seems, it wasn't obvious (or important enough). I will change this to Venus / Iris 2.xx
Then "Iris v2.xx", how we call versions of blocks in all other cases. The block is simply Iris, not Iris2, right?
Best regards,
Krzysztof
Re: [PATCH v4 1/6] media: dt-bindings: Document SC8280XP/SM8350 Iris
Quoted 27 lines · Krzysztof Kozlowski
Quoted 26 lines · Dmitry Baryshkov
Quoted 24 lines · Krzysztof Kozlowski
Quoted 14 lines · Dmitry Baryshkov
The Iris block on SM8350 and SC8280XP is compatible with the Iris (Venus) on SM8250. Document those two IP cores, using qcom,sm8250-venus as a fallback compatible.
Signed-off-by Dmitry Baryshkov <[email protected]>--- Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +0
-0Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml maintainers: · line 13
Quoted 5 lines
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +1
-1@@ -10,7 +10,7 @@ maintainers: - Stanimir Varbanov <[email protected]> description: | - The Venus IP is a video encode and decode accelerator present + The Iris2 IP is a video encode and decode accelerator presentWhy Venus name disappears? And why now this is Iris2, not Iris? It's the first time such name is used. Just call it Venus/Iris if the new devices renamed the block.
Quoted 6 lines
Quoted 3 lines
SM8150, SC8180X had Iris 1.xx. SM8250 and SC7280 have Iris 2.xx. But when the bindings were written, it seems, it wasn't obvious (or important enough). I will change this to Venus / Iris 2.xx
Then "Iris v2.xx", how we call versions of blocks in all other cases. The block is simply Iris, not Iris2, right?
Ack.
Signature · 2 lines
With best wishes Dmitry
PATCH v4 2/6 arm64: dts: qcom: sc8280xp: sort reserved memory regions
In reply to Dmitry BaryshkovMove memory region reserved for the GPU to its proper place in DT.
--- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +5 -5
@@ -691,11 +691,6 @@ reserved-region@85b00000 { no-map; }; - pil_gpu_mem: gpu-mem@8bf00000 { - reg = <0 0x8bf00000 0 0x2000>; - no-map; - }; - pil_adsp_mem: adsp-region@86c00000 { reg = <0 0x86c00000 0 0x2000000>; no-map;
@@ -711,6 +706,11 @@ pil_nsp0_mem: cdsp0-region@8a100000 { no-map; }; + pil_gpu_mem: gpu-mem@8bf00000 { + reg = <0 0x8bf00000 0 0x2000>; + no-map; + }; + pil_nsp1_mem: cdsp1-region@8c600000 { reg = <0 0x8c600000 0 0x1e00000>; no-map;
Signature · 1 line
2.47.3
PATCH v4 3/6 arm64: dts: qcom: sc8280xp: Add Iris core
In reply to Dmitry BaryshkovFrom: Konrad Dybcio <[email protected]>
Add the required nodes to enable Iris core on SC8280XP.
[ bod: added interconnect tags ]
--- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 99 ++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +99 -0
@@ -10,13 +10,16 @@ #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/clock/qcom,sc8280xp-camcc.h> #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> +#include <dt-bindings/clock/qcom,sm8350-videocc.h> #include <dt-bindings/dma/qcom-gpi.h> +#include <dt-bindings/interconnect/qcom,icc.h> #include <dt-bindings/interconnect/qcom,osm-l3.h> #include <dt-bindings/interconnect/qcom,sc8280xp.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/mailbox/qcom-ipcc.h> #include <dt-bindings/phy/phy-qcom-qmp.h> #include <dt-bindings/power/qcom-rpmpd.h> +#include <dt-bindings/reset/qcom,sm8350-videocc.h> #include <dt-bindings/soc/qcom,gpr.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/sound/qcom,q6afe.h>
@@ -691,6 +694,11 @@ reserved-region@85b00000 { no-map; }; + pil_video_mem: pil_video_region@86700000 { + reg = <0 0x86700000 0 0x500000>; + no-map; + }; + pil_adsp_mem: adsp-region@86c00000 { reg = <0 0x86c00000 0 0x2000000>; no-map;
@@ -4181,6 +4189,97 @@ usb_1_dwc3_ss: endpoint { }; }; + iris: video-codec@aa00000 { + compatible = "qcom,sc8280xp-iris", "qcom,sm8250-venus"; + reg = <0x0 0x0aa00000 0x0 0x100000>; + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&gcc GCC_VIDEO_AXI0_CLK>, + <&videocc VIDEO_CC_MVS0C_CLK>, + <&videocc VIDEO_CC_MVS0_CLK>; + clock-names = "iface", + "core", + "vcodec0_core"; + power-domains = <&videocc MVS0C_GDSC>, + <&videocc MVS0_GDSC>, + <&rpmhpd SC8280XP_MX>, + <&rpmhpd SC8280XP_MMCX>; + power-domain-names = "venus", + "vcodec0", + "mx", + "mmcx"; + + resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>, + <&videocc VIDEO_CC_MVS0C_CLK_ARES>; + reset-names = "bus", "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_P0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "cpu-cfg", + "video-mem"; + + operating-points-v2 = <&iris_opp_table>; + iommus = <&apps_smmu 0x2a00 0x400>; + memory-region = <&pil_video_mem>; + + status = "disabled"; + + iris_opp_table: opp-table { + compatible = "operating-points-v2"; + + 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_svs_l1>, + <&rpmhpd_opp_nom>; + }; + + opp-533000000 { + opp-hz = /bits/ 64 <533000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_turbo>; + }; + + opp-560000000 { + opp-hz = /bits/ 64 <560000000>; + required-opps = <&rpmhpd_opp_nom>, + <&rpmhpd_opp_turbo_l1>; + }; + }; + }; + + videocc: clock-controller@abf0000 { + compatible = "qcom,sc8280xp-videocc"; + reg = <0 0x0abf0000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd SC8280XP_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + cci0: cci@ac4a000 { compatible = "qcom,sc8280xp-cci", "qcom,msm8996-cci"; reg = <0 0x0ac4a000 0 0x1000>;
Signature · 1 line
2.47.3
Re: [PATCH v4 3/6] arm64: dts: qcom: sc8280xp: Add Iris core
Quoted 28 lines · Dmitry Baryshkov
From: Konrad Dybcio <[email protected]>
Add the required nodes to enable Iris core on SC8280XP.
[ bod: added interconnect tags ]
Signed-off-by Konrad Dybcio <[email protected]>[ johan: use sm8350 videocc defines ]Signed-off-by Johan Hovold <[email protected]>[ bod: dropped video encoder/decoder declarations ]Signed-off-by Bryan O'Donoghue <[email protected]>[ db: dropped llcc icc, switched to sc8280xp compat, corrected OPP table ]Signed-off-by Dmitry Baryshkov <[email protected]>---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +12
-0+ 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>; + }; +
arch/arm64/boot/dts/qcom/sc8280xp.dtsi usb_1_dwc3_ss: endpoint { · line 4253
Quoted 10 lines
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +10
-0+ 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_svs_l1>, + <&rpmhpd_opp_nom>;
Interesting differences.. but we talked about it last time and I assume you got to the bottom of it
Konrad
PATCH v4 4/6 arm64: dts: qcom: sc8280xp-x13s: Enable Iris
In reply to Dmitry BaryshkovFrom: Konrad Dybcio <[email protected]>
Enable Iris and point the driver to the correct firmware file.
--- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +6 -0
@@ -932,6 +932,12 @@ keyboard@68 { }; }; +&iris { + firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn"; + + status = "okay"; +}; + &pcie2a { perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
Signature · 1 line
2.47.3
PATCH v4 5/6 arm64: dts: qcom: sm8350: add Iris device
In reply to Dmitry BaryshkovAdd Iris and video clock controller devices, describing the Iris2 core present on this platform.
--- arch/arm64/boot/dts/qcom/sm8350.dtsi | 81 ++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+)
arch/arm64/boot/dts/qcom/sm8350.dtsi +81 -0
@@ -10,6 +10,7 @@ #include <dt-bindings/clock/qcom,gcc-sm8350.h> #include <dt-bindings/clock/qcom,gpucc-sm8350.h> #include <dt-bindings/clock/qcom,rpmh.h> +#include <dt-bindings/clock/qcom,sm8350-videocc.h> #include <dt-bindings/dma/qcom-gpi.h> #include <dt-bindings/firmware/qcom,scm.h> #include <dt-bindings/gpio/gpio.h>
@@ -19,6 +20,7 @@ #include <dt-bindings/phy/phy-qcom-qmp.h> #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/power/qcom,rpmhpd.h> +#include <dt-bindings/reset/qcom,sm8350-videocc.h> #include <dt-bindings/soc/qcom,apr.h> #include <dt-bindings/soc/qcom,rpmh-rsc.h> #include <dt-bindings/sound/qcom,q6afe.h>
@@ -2745,6 +2747,85 @@ usb_2_dwc3: usb@a800000 { }; }; + iris: video-codec@aa00000 { + compatible = "qcom,sm8350-iris", "qcom,sm8250-venus"; + reg = <0x0 0x0aa00000 0x0 0x100000>; + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; + + clocks = <&gcc GCC_VIDEO_AXI0_CLK>, + <&videocc VIDEO_CC_MVS0C_CLK>, + <&videocc VIDEO_CC_MVS0_CLK>; + clock-names = "iface", + "core", + "vcodec0_core"; + power-domains = <&videocc MVS0C_GDSC>, + <&videocc MVS0_GDSC>, + <&rpmhpd RPMHPD_MX>, + <&rpmhpd RPMHPD_MMCX>; + power-domain-names = "venus", + "vcodec0", + "mx", + "mmcx"; + + resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>, + <&videocc VIDEO_CC_MVS0C_CLK_ARES>; + reset-names = "bus", "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_P0 QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "cpu-cfg", + "video-mem"; + + operating-points-v2 = <&iris_opp_table>; + iommus = <&apps_smmu 0x2100 0x400>; + memory-region = <&pil_video_mem>; + + status = "disabled"; + + iris_opp_table: opp-table { + compatible = "operating-points-v2"; + + 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_svs_l1>, + <&rpmhpd_opp_nom>; + }; + }; + }; + + videocc: clock-controller@abf0000 { + compatible = "qcom,sm8350-videocc"; + reg = <0 0x0abf0000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&sleep_clk>; + power-domains = <&rpmhpd RPMHPD_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + mdss: display-subsystem@ae00000 { compatible = "qcom,sm8350-mdss"; reg = <0 0x0ae00000 0 0x1000>;
Signature · 1 line
2.47.3
Re: [PATCH v4 5/6] arm64: dts: qcom: sm8350: add Iris device
Quoted 5 lines · Dmitry Baryshkov
Add Iris and video clock controller devices, describing the Iris2 core present on this platform.
Signed-off-by Dmitry Baryshkov <[email protected]>---
Konrad
PATCH v4 6/6 arm64: dts: qcom: sm8350-hdk: enable Iris core
In reply to Dmitry BaryshkovEnable video en/decoder on the SM8350 HDK board. The firmware is not (yet) a part of linux-firmware and needs to be extracted from Android data.
--- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/sm8350-hdk.dts +6 -0
@@ -472,6 +472,12 @@ lt9611_out: endpoint { }; }; +&iris { + firmware-name = "qcom/vpu/vpu20_p4_sm8350.mbn"; + + status = "okay"; +}; + &mdss { status = "okay"; };
Signature · 1 line
2.47.3
Re: [PATCH v4 6/6] arm64: dts: qcom: sm8350-hdk: enable Iris core
Quoted 6 lines · Dmitry Baryshkov
Enable video en/decoder on the SM8350 HDK board. The firmware is not (yet) a part of linux-firmware and needs to be extracted from Android data.
Signed-off-by Dmitry Baryshkov <[email protected]>---
Konrad
Hi Dmitry, all,
I've tested this on my Thinkpad X13s, after disabling venus module otherwise it loads venus not iris.
In el2, the device seems to be /dev/video33
steev@finn:~$ v4l2-compliance -d 33 v4l2-compliance 1.32.0, 64 bits, 64-bit time_t
Compliance test for iris_driver device /dev/video33:
Driver Info:
Driver name : iris_driver Card type : Iris Encoder Bus info : platform:aa00000.video-codec Driver version : 6.19.10 Capabilities : 0x84204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Detected Stateful Encoder
Required ioctls:
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video33 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 33 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK
test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK
test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test CREATE_BUFS maximum buffers: OK test VIDIOC_REMOVE_BUFS: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported) test blocking wait: OK
Total for iris_driver device /dev/video33: 48, Succeeded: 48, Failed: 0, Warnings: 0
In el1, the device becomes /dev/video0
steev@finn:~$ v4l2-compliance v4l2-compliance 1.32.0, 64 bits, 64-bit time_t
Compliance test for iris_driver device /dev/video0:
Driver Info:
Driver name : iris_driver Card type : Iris Decoder Bus info : platform:aa00000.video-codec Driver version : 6.19.10 Capabilities : 0x84204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Detected Stateful Decoder
Required ioctls:
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 2 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK (Not Supported) test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK
test Composing: OK
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test CREATE_BUFS maximum buffers: OK test VIDIOC_REMOVE_BUFS: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported) test blocking wait: OK
Total for iris_driver device /dev/video0: 48, Succeeded: 48, Failed: 0, Warnings: 0
So the compliance tests pass in both el1 and el2, however, if I attempt to play a video in totem, and then skip forward in it some random amount of time, totem freezes and I get the following splat:
[ 143.388380] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd516d400, fsynr=0x600002, cbfrsynra=0x2a00, cb=6 [ 143.388390] arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00 [ 143.388392] arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2] [ 143.388423] qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:1, data2:deadbead) [ 145.913827] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 146.945692] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.969651] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.969693] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.970493] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 148.993683] ------------[ cut here ]------------ [ 148.993695] WARNING: drivers/media/common/videobuf2/videobuf2-core.c:1827 at vb2_start_streaming+0xe0/0x17c [videobuf2_common], CPU#3: totem/7330 [ 148.993727] Modules linked in: michael_mic uhid [ 148.993732] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 148.993736] algif_hash [ 148.993739] algif_skcipher af_alg snd_soc_wsa883x q6prm_clocks q6apm_lpass_dais q6apm_dai snd_q6dsp_common q6prm overlay zram lz4hc_compress zsmalloc lz4_compress binfmt_misc qrtr_mhi ath11k_pci ath11k mac80211 libarc4 sha256 cfg80211 mhi hci_uart btqca btbcm bluetooth ecdh_generic ecc rfkill qcom_spmi_temp_alarm snd_soc_sc8280xp lenovo_thinkpad_t14s snd_soc_qcom_sdw snd_soc_qcom_common sparse_keymap qcom_spmi_adc_tm5 qcom_spmi_adc5 qcom_vadc_common ov5675 snd_soc_hdmi_codec qcom_camss qcom_iris videobuf2_dma_contig videobuf2_dma_sg v4l2_mem2mem snd_soc_wcd938x videobuf2_memops videobuf2_v4l2 v4l2_fwnode videobuf2_common v4l2_async snd_soc_lpass_rx_macro snd_soc_lpass_tx_macro snd_soc_lpass_wsa_macro snd_soc_lpass_va_macro snd_soc_wcd938x_sdw regmap_sdw snd_soc_wcd_mbhc videodev snd_soc_wcd_common soundwire_qcom snd_q6apm snd_soc_wcd_classh snd_soc_lpass_macro_common mc snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm fastrpc slimbus pci_pwrctrl_pwrseq snd_timer qcom_rng snd soundcore soundwire_bus fuse nfnetlink [ 148.993936] ipv6 btrfs xor xor_neon raid6_pq zstd_compress panel_edp hid_multitouch qcom_pm8008_regulator nvme ucsi_glink pmic_glink_altmode qcom_battmgr aux_hpd_bridge typec_ucsi nvme_core qcom_pm8008 i2c_hid_of_elan i2c_hid_of rpmsg_ctrl apr i2c_hid rpmsg_char qrtr_smd qcom_pd_mapper msm ubwc_config ocmem drm_gpuvm drm_exec gpu_sched drm_display_helper phy_qcom_qmp_combo cec leds_qcom_lpg aux_bridge drm_dp_aux_bus led_class_multicolor qcom_pbs rtc_pm8xxx qcom_pon qcom_stats dispcc_sc8280xp drm_client_lib phy_qcom_edp camcc_sc8280xp i2c_qcom_cci i2c_qcom_geni drm_kms_helper phy_qcom_qmp_usb qcom_refgen_regulator videocc_sm8350 llcc_qcom drm icc_bwmon phy_qcom_snps_femto_v2 gpi gpucc_sc8280xp qrtr qcom_q6v5_pas qcom_pil_info qcom_common qcom_glink_smem lpasscc_sc8280xp pinctrl_sc8280xp_lpass_lpi pinctrl_lpass_lpi qcom_q6v5 pmic_glink qcom_sysmon gpio_sbu_mux phy_qcom_qmp_pcie mdt_loader pdr_interface qcom_wdt icc_osm_l3 qcom_pdr_msg pwrseq_qcom_wcn typec qmi_helpers pwrseq_core socinfo pwm_bl backlight [ 148.994147] CPU: 3 UID: 1000 PID: 7330 Comm: totem Not tainted 6.19.10 #2 PREEMPT [ 148.994155] Hardware name: LENOVO 21BX0015US/21BX0015US, BIOS N3HET94W (1.66 ) 09/15/2025 [ 148.994160] pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) [ 148.994166] pc : vb2_start_streaming+0xe0/0x17c [videobuf2_common] [ 148.994178] lr : vb2_start_streaming+0x70/0x17c [videobuf2_common] [ 148.994187] sp : ffff80009b95bb70 [ 148.994191] x29: ffff80009b95bb70 x28: 0000000000000001 x27: ffff80009b95bce8 [ 148.994201] x26: 0000000000000000 x25: 0000000000000000 x24: ffffd3da9782e138 [ 148.994211] x23: ffff0000902f5cc0 x22: 0000000040045612 x21: ffff0000f7ada910 [ 148.994219] x20: ffff0000f7ada928 x19: 00000000fffffff0 x18: 0000000000000000 [ 148.994228] x17: 0000000000000000 x16: ffffd3daf7056f00 x15: 0000ffff1802f330 [ 148.994237] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 148.994246] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000035 [ 148.994255] x8 : ffff80009b95bd68 x7 : ffffd3da976bafc0 x6 : 0000000000000012 [ 148.994263] x5 : ffff0000f7ada948 x4 : 0000000000000000 x3 : 0000000000000005 [ 148.994272] x2 : ffff0000c1b82080 x1 : ffff0000c1b82080 x0 : ffff000084517a30 [ 148.994282] Call trace: [ 148.994285] vb2_start_streaming+0xe0/0x17c [videobuf2_common] (P) [ 148.994298] vb2_core_streamon+0xd8/0x1bc [videobuf2_common] [ 148.994308] vb2_streamon+0x18/0x60 [videobuf2_v4l2] [ 148.994318] v4l2_m2m_ioctl_streamon+0x5c/0xa0 [v4l2_mem2mem] [ 148.994330] v4l_streamon+0x24/0x30 [videodev] [ 148.994362] __video_do_ioctl+0x340/0x3ec [videodev] [ 148.994389] video_usercopy+0x2b0/0x74c [videodev] [ 148.994415] video_ioctl2+0x18/0x34 [videodev] [ 148.994441] v4l2_ioctl+0x40/0x60 [videodev] [ 148.994467] __arm64_sys_ioctl+0xa4/0xf4 [ 148.994480] invoke_syscall.constprop.0+0x40/0xf0 [ 148.994495] el0_svc_common.constprop.0+0x38/0xd8 [ 148.994504] do_el0_svc+0x1c/0x28 [ 148.994513] el0_svc+0x34/0x104 [ 148.994525] el0t_64_sync_handler+0xa0/0xe4 [ 148.994534] el0t_64_sync+0x198/0x19c [ 148.994543] ---[ end trace 0000000000000000 ]---
This is much better than the previous venus patchset where accessing the hardware decoding would cause the machine to hard reset at least!
-- steev
Quoted 4 lines · Steev Klimaszewski
Hi Dmitry, all,
I've tested this on my Thinkpad X13s, after disabling venus module otherwise it loads venus not iris.
Venus with the SM8250-related fixes should probably work too. Anyway, I hope that the series switching SM8250 / SC7280 from Venus to Iris will finally land...
Quoted 4 lines
So the compliance tests pass in both el1 and el2, however, if I attempt to play a video in totem, and then skip forward in it some random amount of time, totem freezes and I get the following splat:
Thanks for the additional testing!
This might be:
- A bug in the firmware
- A bug in the Gen1 support in the Iris driver.
- A bug in totem (heh).
Would you mind sharing details, which video were you trying to play (at least, the codec that it used, please).
Also, does it kill the playback afterwards? Can you start another playing stream afterwards?
Quoted 11 lines
[ 143.388380] arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd516d400, fsynr=0x600002, cbfrsynra=0x2a00, cb=6 [ 143.388390] arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00 [ 143.388392] arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2] [ 143.388423] qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:1, data2:deadbead) [ 145.913827] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 146.945692] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.969651] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.969693] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 147.970493] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 148.993683] ------------[ cut here ]------------ [ 148.993695] WARNING: drivers/media/common/videobuf2/videobuf2-core.c:1827 at vb2_start_streaming+0xe0/0x17c [videobuf2_common], CPU#3: totem/7330
And this points out an error in the Iris driver. Quoting the comment:
/*
* If done_list is not empty, then start_streaming() didn't call
* vb2_buffer_done(vb, VB2_BUF_STATE_QUEUED) but STATE_ERROR or
* STATE_DONE.
*/
Dikshita, Vikash, would you mind checking it out?
Quoted 7 lines
[ 148.993727] Modules linked in: michael_mic uhid [ 148.993732] qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:e39bc002 [ 148.994543] ---[ end trace 0000000000000000 ]---This is much better than the previous venus patchset where accessing the hardware decoding would cause the machine to hard reset at least!
:-)
Signature · 2 lines
With best wishes Dmitry
Hi Dmitry,
Quoted 7 lines
Thanks for the additional testing!
This might be:
- A bug in the firmware
- A bug in the Gen1 support in the Iris driver.
- A bug in totem (heh).
Quoted 5 lines
Would you mind sharing details, which video were you trying to play (at least, the codec that it used, please).
Also, does it kill the playback afterwards? Can you start another playing stream afterwards?
The video that does not work seems to be
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: isomavc1mp42
creation_time : 2025-08-04T19:42:21.000000Z
Duration: 00:00:35.24, start: 0.000000, bitrate: 6291 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 6126 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
Metadata:
creation_time : 2025-08-04T19:42:21.000000Z
handler_name : ETI ISO Video Media Handler
vendor_id : [0][0][0][0]
encoder : Elemental H.264
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
However, a video that *does* work is
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bt709), 1920x1080, 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:05:16.732000000
Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp, start 0.007000
Metadata:
DURATION : 00:05:16.744000000 Stream #0:2: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 90k tbr, 90k tbn (attached pic)
Metadata:
filename : cover.jpg
mimetype : image/jpeg
I do not have a ton of videos to test, so I just used 2 that are on my system.
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play *after* the video has played, then I see the smmu fault
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00
arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2]
qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:1, data2:deadbead)
If I exit and re-launch totem, it will play the video through, but again, if I attempt to skip forward, back or play once it has finished the video, then again the smmu fault occurs.
totem and showtime both use gstreamer, and show the issue. showtime replaces totem as the media player on modern gnome systems. mpv and vlc do *not* show the issue, but they also do not appear to use iris/venus at all.
Totem is version 43.2-11
Showtime is version 50~rc2
Host system is Kali, which is essentially Debian Testing.
-- steev
Vikash Garodia
maintainerHi Steev, Dmitry,
Quoted 47 lines · Steev Klimaszewski
Hi Dmitry,
Quoted 7 lines
Thanks for the additional testing!
This might be:
- A bug in the firmware
- A bug in the Gen1 support in the Iris driver.
- A bug in totem (heh).Quoted 5 lines
Would you mind sharing details, which video were you trying to play (at least, the codec that it used, please).
Also, does it kill the playback afterwards? Can you start another playing stream afterwards?
The video that does not work seems to be
Metadata: major_brand : M4V minor_version : 1 compatible_brands: isomavc1mp42 creation_time : 2025-08-04T19:42:21.000000Z Duration: 00:00:35.24, start: 0.000000, bitrate: 6291 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 6126 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default) Metadata: creation_time : 2025-08-04T19:42:21.000000Z handler_name : ETI ISO Video Media Handler vendor_id : [0][0][0][0] encoder : Elemental H.264 Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)However, a video that *does* work is
Stream #0:0: Video: av1 (libdav1d) (Main),
yuv420p(tv, bt709), 1920x1080, 23.98 fps, 23.98 tbr, 1k tbnMetadata: HANDLER_NAME : ISO Media file produced by Google Inc. VENDOR_ID : [0][0][0][0] DURATION : 00:05:16.732000000 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp, start 0.007000 Metadata: DURATION : 00:05:16.744000000Stream #0:2: Video: mjpeg (Baseline),
yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 90k tbr, 90k tbn (attached pic)
Metadata:
filename : cover.jpg
mimetype : image/jpeg
Quoted 7 lines
I do not have a ton of videos to test, so I just used 2 that are on my system.
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play *after* the video has played, then I see the smmu fault
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
please log the info about which "iova=0xd51e3e00" buffer is faulting in this case
Regards,
Vikash
Quoted 18 lines
arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00
arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2]
qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:1, data2:deadbead)If I exit and re-launch totem, it will play the video through, but again, if I attempt to skip forward, back or play once it has finished the video, then again the smmu fault occurs.
totem and showtime both use gstreamer, and show the issue. showtime replaces totem as the media player on modern gnome systems. mpv and vlc do *not* show the issue, but they also do not appear to use iris/venus at all.
Totem is version 43.2-11
Showtime is version 50~rc2Host system is Kali, which is essentially Debian Testing.
-- steev
Hi Vikash,
Quoted 8 lines
Quoted 5 lines
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play *after* the video has played, then I see the smmu fault
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
please log the info about which "iova=0xd51e3e00" buffer is faulting in this case
I will include the diff that I applied against my kernel, in case this isn't the correct information, but I get the following output in EL2:
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd516d400, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00
arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2]
qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:11, data2:deadbead) qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:79756000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4
And the following output in EL2:
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd516d400, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x2a00
arm-smmu 15000000.iommu: FSYNR0 = 00600002 [S1CBNDX=96 PLVL=2]
qcom-iris aa00000.video-codec: sys error (type: 1, session id:ff, data1:1, data2:deadbead) qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: session error for command: 0, event id:1004, session id:28644000 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000dd000000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=3 idx=0 iova=0x00000000d7800000 size=5652480 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=0 iova=0x00000000d8c00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=1 iova=0x00000000d8a00000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=2 iova=0x00000000d8800000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=3 iova=0x00000000d8600000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=8 idx=4 iova=0x00000000d8400000 size=1445888 attr=0x4 qcom-iris aa00000.video-codec: buf_type=9 idx=0 iova=0x00000000dd780000 size=498176 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000da000000 size=19472128 attr=0x4 qcom-iris aa00000.video-codec: buf_type=10 idx=0 iova=0x00000000d6000000 size=19472128 attr=0x4
And the diff I had to come up with to get this output is:
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c +24 -4
@@ -214,7 +214,7 @@ static void iris_hfi_gen1_event_seq_changed(struct iris_inst *inst,iris_inst_sub_state_change_drc_last (inst); } -static void +static noinline voidiris_hfi_gen1_sys_event_notify (struct iris_core *core,void *packet) {struct hfi_msg_event_notify_pkt *pkt = packet;
@@ -235,7 +235,25 @@ iris_hfi_gen1_sys_event_notify(struct iris_core *core, void *packet)schedule_delayed_work (&core->sys_error_handler,msecs_to_jiffies (10 )); } -static void +static noinline void iris_dump_inst_buffers(struct iris_inst *inst) +{ +struct iris_buffer *buf; +int i; + +for (i =0 ; i <BUF_TYPE_MAX ; i++) { +list_for_each_entry (buf, &inst->buffers[i].list, list) { +if (!buf->device_addr) +continue ; +dev_err (inst->core->dev, +"buf_type=%d idx=%u iova=%pad size=%zu attr=0x%x\n" , + i, buf->index, + &buf->device_addr, buf->buffer_size, + buf->attr); + } + } +} + +static noinline voidiris_hfi_gen1_event_session_error (struct iris_inst *inst,struct hfi_msg_event_notify_pkt *pkt) {switch (pkt->event_data1) {
@@ -263,7 +281,7 @@ iris_hfi_gen1_event_session_error(struct iris_inst *inst, struct hfi_msg_event_n } } -static void iris_hfi_gen1_session_event_notify (struct iris_inst *inst,void *packet) +static noinline void iris_hfi_gen1_session_event_notify(struct iris_inst *inst, void *packet) {struct hfi_msg_event_notify_pkt *pkt = packet;
@@ -593,7 +611,7 @@ static const struct iris_hfi_gen1_response_pkt_info pkt_infos= { }, }; -static void iris_hfi_gen1_handle_response (struct iris_core *core,void *response) +static noinline void iris_hfi_gen1_handle_response(struct iris_core *core, void *response) {struct hfi_pkt_hdr *hdr = (struct hfi_pkt_hdr *)response;const struct iris_hfi_gen1_response_pkt_info *pkt_info;
@@ -631,6 +649,8 @@ static void iris_hfi_gen1_handle_response(struct iris_core *core, void *responseif (inst) {mutex_lock (&inst->lock);iris_hfi_gen1_session_event_notify (inst, hdr); +if (inst->state ==IRIS_INST_ERROR ) +iris_dump_inst_buffers (inst);mutex_unlock (&inst->lock); }else {iris_hfi_gen1_sys_event_notify (core, hdr);
drivers/media/platform/qcom/iris/iris_utils.c +2 -2
@@ -74,9 +74,9 @@ int iris_wait_for_session_response(struct iris_inst *inst, bool is_flush)return 0 ; } -struct iris_inst *iris_get_instance (struct iris_core *core,u32 session_id) +noinline struct iris_inst *iris_get_instance(struct iris_core *core, u32 session_id) { -struct iris_inst *inst; +struct iris_inst *inst =NULL ;mutex_lock (&core->lock);list_for_each_entry (inst, &core->instances, list) {
drivers/media/platform/qcom/iris/iris_vidc.c +2 -11
@@ -168,17 +168,8 @@ int iris_open(struct file *filp)mutex_init (&inst->lock);mutex_init (&inst->ctx_q_lock); -INIT_LIST_HEAD (&inst->buffers[BUF_BIN ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_ARP ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_COMV ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_NON_COMV ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_LINE ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_DPB ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_PERSIST ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_SCRATCH_1 ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_SCRATCH_2 ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_VPSS ].list); -INIT_LIST_HEAD (&inst->buffers[BUF_PARTIAL ].list); +for (int i =0 ; i <BUF_TYPE_MAX ; i++) +INIT_LIST_HEAD (&inst->buffers[i].list);init_completion (&inst->completion);init_completion (&inst->flush_completion);
Please let me know if this is the information you are after, and if not, could you provide a patch to help me get it? I had to noinline a lot of things, as you can see, otherwise I was just getting null dereferences when trying to get the buffers.
Quoted 2 lines
Regards,
Vikash
-- steev
Quoted 6 lines · Steev Klimaszewski
Hi Vikash,
Quoted 4 lines
Quoted 4 lines
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play *after* the video has played, then I see the smmu fault
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
please log the info about which "iova=0xd51e3e00" buffer is faulting in this case
I will include the diff that I applied against my kernel, in case this isn't the correct information, but I get the following output in EL2:
But these logs don't capture, which buffers are causing the IOMMU error.
Signature · 2 lines
With best wishes Dmitry
Quoted 7 lines · Dmitry Baryshkov
Quoted 6 lines · Steev Klimaszewski
Hi Vikash,
Quoted 4 lines
Quoted 4 lines
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play*after* the video has played, then I see the smmu fault
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6please log the info about which "iova=0xd51e3e00" buffer is faulting in this case
I will include the diff that I applied against my kernel, in case this isn't the correct information, but I get the following output in EL2:
But these logs don't capture, which buffers are causing the IOMMU error.
I'd be interested to see if we can run this test on venus - instead of iris.
Konrad's patches are still floating around somewhere.
---
bod
Quoted 10 lines · Bryan O'Donoghue
Quoted 8 lines · Dmitry Baryshkov
Quoted 7 lines · Steev Klimaszewski
Hi Vikash,
Quoted 5 lines
Quoted 5 lines
This is not just with totem, showtime shows the same issue. If I let the video play, it plays just fine, however, if I attempt to skip forward, back, or even play*after* the video has played, then I see the smmu fault
arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0xd51e3e00, fsynr=0x600002, cbfrsynra=0x2a00, cb=6
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
please log the info about which "iova=0xd51e3e00" buffer is faulting in this case
I will include the diff that I applied against my kernel, in case this isn't the correct information, but I get the following output in EL2:
But these logs don't capture, which buffers are causing the IOMMU error.
I'd be interested to see if we can run this test on venus - instead of iris.
At least when I tried testing it, venus wouldn't even boot the firmware on SC8280XP, citing UC_REGION error:
2026-04-03T01:51:05.376407+03:00 rohan kernel: qcom-venus aa00000.video-codec: non legacy binding 2026-04-03T01:51:05.437232+03:00 rohan kernel: qcom-venus aa00000.video-codec: invalid setting for UC_REGION 2026-04-03T01:51:05.437838+03:00 rohan kernel: qcom-venus aa00000.video-codec: failed to reset venus core 2026-04-03T01:51:05.437850+03:00 rohan kernel: qcom-venus
aa00000.video-codec: probe with driver qcom-venus failed with error -22
Quoted 2 lines
Konrad's patches are still floating around somewhere.
I think it was captured by Steev:
Quoted 2 lines
This is much better than the previous venus patchset where accessing the hardware decoding would cause the machine to hard reset at least!
Signature · 2 lines
With best wishes Dmitry
Hi Bryan, Dmitry, Vikash,
Quoted 14 lines
Quoted 3 lines
Quoted 1 line
But these logs don't capture, which buffers are causing the IOMMU error.
I'd be interested to see if we can run this test on venus - instead of iris.
At least when I tried testing it, venus wouldn't even boot the firmware on SC8280XP, citing
UC_REGIONerror:2026-04-03T01:51:05.376407+03:00 rohan kernel: qcom-venus aa00000.video-codec: non legacy binding 2026-04-03T01:51:05.437232+03:00 rohan kernel: qcom-venus aa00000.video-codec: invalid setting for UC_REGION 2026-04-03T01:51:05.437838+03:00 rohan kernel: qcom-venus aa00000.video-codec: failed to reset venus core 2026-04-03T01:51:05.437850+03:00 rohan kernel: qcom-venus
Quoted 2 lines
aa00000.video-codec: probe with driver qcom-venus failed with error -22
The same is observed on the X13s, so venus doesn't load.
Quoted 4 lines
I think it was captured by Steev:
Quoted 2 lines
This is much better than the previous venus patchset where accessing the hardware decoding would cause the machine to hard reset at least!
Indeed, the older venus patches would simply force the system to hard reset in EL1, and in EL2 there is a fault (but the system recovers without the hard reset.)
I do have a further question, isn't the information we need somewhere inside a TZ managed context bank? Can we even see in there from userspace? I really am out of my league here, but I'm willing to do any testing needed on the hardware and I can use b4 with the best of them ;)
-- steev
Vikash Garodia
maintainerQuoted 104 lines · Dmitry Baryshkov
In order to enable wider testing of the Iris driver on the HFI Gen1 platforms enable support for Qualcomm SM8350 and SC8280XP platforms.
Note, this has been tested only with the Iris driver. Venus driver fails to boot the Iris core on SM8350 pointing out the
UC_REGIONerror.Note, the firmware for SM8250 isn't compatible with SM8350 (nor with SC8280XP). Please use corresponding firmware, extracted from the Windows / Android data.
On SM8350 with the Iris driver:
$ v4l2-compliance v4l2-compliance 1.30.1, 64 bits, 64-bit time_tCompliance test for
iris_driverdevice/dev/video0:Driver Info:
Driver name : iris_driver Card type : Iris Decoder Bus info : platform:aa00000.video-codec Driver version : 7.0.0 Capabilities : 0x84204000Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Device Capabilities
Device Caps :0x04204000
Video Memory-to-Memory Multiplanar Streaming
Extended Pix Format
Detected Stateful DecoderRequired ioctls:
testVIDIOC_QUERYCAP: OK
test invalid ioctls: OKAllow for multiple opens:
test second/dev/video0open: OK
testVIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OKDebug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) testVIDIOC_LOG_STATUS: OK (Not Supported)Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) testVIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) testVIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) testVIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) testVIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported)Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK testVIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 2 Private Controls: 0Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK (Not Supported) testVIDIOC_G_FBUF: OK (Not Supported) testVIDIOC_G_FMT: OK
testVIDIOC_TRY_FMT: OK
testVIDIOC_S_FMT: OK
testVIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK
test Composing: OK
test Scaling: OK (Not Supported)Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) testVIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OKBuffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK testCREATE_BUFSmaximum buffers: OK testVIDIOC_REMOVE_BUFS: OK
testVIDIOC_EXPBUF: OK
test Requests: OK (Not Supported) test blocking wait: OK
Quoted 8 lines
Total for
iris_driverdevice/dev/video0: 48, Succeeded: 48, Failed: 0, Warnings: 0|TOTALS|FFmpeg-H.265-v4l2m2m|GStreamer-H.265-V4L2-Gst1.0|FFmpeg-H.264-v4l2m2m|GStreamer-H.264-V4L2-Gst1.0|FFmpeg-VP9-v4l2m2m|GStreamer-VP9-V4L2-Gst1.0| |-|-|-|-|-|-|-| |TOTAL|169/316|128/316|154/447|126/447|159/311|229/311| |TOTAL TIME|242.251s|267.903s|293.458s|261.934s|203.009s|366.936s| |-|-|-|-|-|-|-| |Profile|FFmpeg-H.265-v4l2m2m|GStreamer-H.265-V4L2-Gst1.0|FFmpeg-H.264-v4l2m2m|GStreamer-H.264-V4L2-Gst1.0|FFmpeg-VP9-v4l2m2m|GStreamer-VP9-V4L2-Gst1.0|
could you list the failing cases and compare the result with sm8250 ?
Regards,
Vikash
Quoted 74 lines
|BASELINE|0/0|0/0|3/7|4/7|0/0|0/0| |CAVLC_4_4_4|0/0|0/0|0/3|0/3|0/0|0/0| |CAVLC_4_4_4_INTRA|0/0|0/0|0/4|0/4|0/0|0/0| |CONSTRAINED_BASELINE|0/0|0/0|32/33|33/33|0/0|0/0| |EXTENDED|0/0|0/0|1/6|1/6|0/0|0/0| |HIGH|0/0|0/0|22/45|22/45|0/0|0/0| |HIGH_10|0/0|0/0|0/2|0/2|0/0|0/0| |HIGH_10_INTRA|0/0|0/0|0/7|0/7|0/0|0/0| |HIGH_4_2_2|0/0|0/0|0/21|0/21|0/0|0/0| |HIGH_4_2_2_INTRA|0/0|0/0|0/7|0/7|0/0|0/0| |HIGH_4_4_4_INTRA|0/0|0/0|0/6|0/6|0/0|0/0| |HIGH_4_4_4_PREDICTIVE|0/0|0/0|0/11|0/11|0/0|0/0| |MAIN|127/135|126/135|41/90|41/90|0/0|0/0| |MAIN_10|0/11|0/11|0/0|0/0|0/0|0/0| |MAIN_STILL_PICTURE|1/1|1/1|0/0|0/0|0/0|0/0| |-|-|-|-|-|-|-|Signed-off-by Dmitry Baryshkov <[email protected]>---
Changes in v4:
- Changed compat strings to use -iris instead of -venus (Konrad,
Dikshita)
- Dropped separate schema file, switched to SM8250 schema
- Dropped driver bits, it's covered by compatible string now
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- Add missing header, sorry.
- Link to v2: https://lore.kernel.org/r/[email protected]Changes in v2:
- Added missing chunk, includingsm8350-videocc.h, lost in rebases.
- Link to v1: https://lore.kernel.org/r/[email protected]---
Dmitry Baryshkov (4):
media: dt-bindings: Document SC8280XP/SM8350 Iris
arm64: dts: qcom: sc8280xp: sort reserved memory regions
arm64: dts: qcom: sm8350: add Iris device
arm64: dts: qcom: sm8350-hdk: enable Iris coreKonrad Dybcio (2):
arm64: dts: qcom: sc8280xp: Add Iris core arm64: dts: qcom: sc8280xp-x13s: Enable Iris.../bindings/media/qcom,sm8250-venus.yaml | 10 +- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 6 ++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 103 ++++++++++++++++++++- arch/arm64/boot/dts/qcom/sm8350-hdk.dts | 6 ++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 81 ++++++++++++++++ 5 files changed, 202 insertions(+), 4 deletions(-)---
base-commit:a0ae2a256046c0c5d3778d1a194ff2e171f16e5f
change-id: 20260120-iris-sc8280xp-85d13bc60536
prerequisite-change-id: 20260131-iris-venus-fix-sm8250-f938e29e7497:v5
prerequisite-patch-id:6d85e3db422bc7f16246249288a17b92f6edbc09
prerequisite-patch-id:579d712ec3f942ba0c362e242c71361c151092b5
prerequisite-patch-id:fa4629a3909fbae3917d8c067cce4f673ee857c0
prerequisite-patch-id:cbbd40736f7a797ff76b0fe2b1ddfb559e14e666
prerequisite-patch-id:5b50917dcfef01db13af320cbd1cba15fd5fa16f
prerequisite-patch-id:8948139735836adb9fbc51d93b969911dc5b38e8
prerequisite-patch-id:7ec91bd0149f347c479c906e73cabaa28601ab3d
prerequisite-patch-id:c711522b63f640b7504767b3af7adc05a0b36cac
prerequisite-patch-id:42b9cd5e0fd6fd99eae267c78b239333adff7637
prerequisite-patch-id:11c487545e2462ff0a515d689863c3f7f25f9449
prerequisite-change-id: 20251119-venus-iris-flip-switch-d59a3fbc6a4b:v4
prerequisite-patch-id:615a763749fdc0c4ee184478bc64120972d8c7a1
prerequisite-patch-id:6d85e3db422bc7f16246249288a17b92f6edbc09
prerequisite-patch-id:579d712ec3f942ba0c362e242c71361c151092b5
prerequisite-patch-id:fa4629a3909fbae3917d8c067cce4f673ee857c0
prerequisite-patch-id:cbbd40736f7a797ff76b0fe2b1ddfb559e14e666
prerequisite-patch-id:5b50917dcfef01db13af320cbd1cba15fd5fa16fBest regards,
Quoted 8 lines · Vikash Garodia
Quoted 6 lines · Dmitry Baryshkov
In order to enable wider testing of the Iris driver on the HFI Gen1 platforms enable support for Qualcomm SM8350 and SC8280XP platforms.
Note, this has been tested only with the Iris driver. Venus driver fails to boot the Iris core on SM8350 pointing out the
UC_REGIONerror.
Quoted 8 lines
Quoted 6 lines
Note, the firmware for SM8250 isn't compatible with SM8350 (nor with SC8280XP). Please use corresponding firmware, extracted from the Windows / Android data.
On SM8350 with the Iris driver:
could you list the failing cases and compare the result with sm8250 ?
Failing on SM8350, but not on SM8250 (note, on SM8350 they also work with FFmpeg, but fail with Gstreamer).
- AMP_E_Hisilicon_3
- AMP_F_Hisilicon_3
- DELTAQP_A_BRCM_4
- SAODBLK_A_MainConcept_4
- TILES_A_Cisco_2
- VPSSPSPPS_A_MainConcept_1 (this one timeouts with ffmpeg on both SM8250 and SM 8350 and fails with Gstreamer on SM8350)
- vp90-2-14-resize-10frames-fp-tiles-8-4-2-1.webm
- vp90-2-14-resize-fp-tiles-8-16.webm
- vp90-2-22-svc_1280x720_1.webm (works with ffmpeg, fails with Gstreamer)
Signature · 2 lines
With best wishes Dmitry