Skip to content

Commit 7e59cd4

Browse files
b49020andersson
authored andcommitted
dt-bindings: media: venus: Fix iommus property
Fix IOMMU DT propety for venus via dropping SMMU stream IDs which relates to secure context bank. Assigning Linux kernel (HLOS) VMID to secure context bank stream IDs is incorrect. The maximum value for iommus property is updated accordingly. These DT bindings changes should be backwards compatible. Signed-off-by: Sumit Garg <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 966a08c commit 7e59cd4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ properties:
4242
- const: vcodec0_bus
4343

4444
iommus:
45-
maxItems: 5
45+
maxItems: 2
4646

4747
interconnects:
4848
maxItems: 2
@@ -102,10 +102,7 @@ examples:
102102
memory-region = <&pil_video_mem>;
103103
104104
iommus = <&apps_smmu 0x860 0x0>,
105-
<&apps_smmu 0x880 0x0>,
106-
<&apps_smmu 0x861 0x04>,
107-
<&apps_smmu 0x863 0x0>,
108-
<&apps_smmu 0x804 0xe0>;
105+
<&apps_smmu 0x880 0x0>;
109106
110107
interconnects = <&mmnrt_virt MASTER_VIDEO_P0 RPM_ALWAYS_TAG
111108
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,

0 commit comments

Comments
 (0)