Re: [PATCH v6 03/12] dt-bindings: gpu: host1x: Document memory-regions for NVDEC

From
sashiko-bot@kernel.org
Date
2026-09-04 11:04:03
Also in
dri-devel, linux-devicetree, linux-s390
Reply to
Thierry Reding, 2026-09-04
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `memory-region` and `memory-region-names` properties for the Video Protection Region (VPR) were added to the Tegra234 NVDEC binding but omitted from the older NVDEC binding (`nvidia,tegra210-nvdec.yaml`) which covers Tegra210, Tegra186, and Tegra194. Other hardware blocks on these older chips (such as VIC and DC) already document and use `memory-region` for the VPR, indicating that the hardware shares the same capability. Failing to update the related YAML files in the same family causes schema validation to fail for complete device trees.
--

commit c5ee297bfa8219c2a7d714b86f0738c220914705
Author: Thierry Reding [off-list ref]

dt-bindings: gpu: host1x: Document memory-regions for NVDEC

The video protection region is a reserved memory region that can be used
for secure video playback. NVDEC can access this region to decode images
into securely.
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml b/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
index 4eb325cfd2961..bcaaabca945dc 100644
--- a/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
+++ b/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra234-nvdec.yaml
@@ -60,6 +60,14 @@ properties:
       - const: dma-mem
       - const: write
 
+  memory-region:
+    items:
+      - description: reference to the video protection memory region
+
+  memory-region-names:
+    items:
+      - const: protected
[Severity: Medium]
Should these properties also be added to the older NVDEC binding
(nvidia,tegra210-nvdec.yaml) which covers Tegra210, Tegra186, and Tegra194?

Other hardware blocks on these older chips (such as VIC and DC) already
document and use memory-region for the Video Protection Region, indicating
that the hardware shares the same capability.

If a device tree for Tegra210, Tegra186, or Tegra194 correctly specifies
the Video Protection Region for NVDEC, will it fail schema validation
because the properties are undocumented and additionalProperties: false
is set in the older binding?
quoted hunk ↗ jump to hunk
+
   nvidia,memory-controller:
     $ref: /schemas/types.yaml#/definitions/phandle
     description:
-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260904-tegra-vpr-v6-0-79042cfa8de5@nvidia.com?part=3
Thread (38 messages) 38 messages, 7 authors, last reply 2026-09-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help