On 02.09.25 17:46, Thierry Reding wrote:
From: Thierry Reding treding@nvidia.com
Hi,
Hi,
This series adds support for the video protection region (VPR) used on Tegra SoC devices. It's a special region of memory that is protected from accesses by the CPU and used to store DRM protected content (both decrypted stream data as well as decoded video frames).
Patches 1 and 2 add DT binding documentation for the VPR and add the VPR to the list of memory-region items for display and host1x.
Patch 3 introduces new APIs needed by the Tegra VPR implementation that allow CMA areas to be dynamically created at runtime rather than using the fixed, system-wide list. This is used in this driver specifically because it can use an arbitrary number of these areas (though they are currently limited to 4).
I am pretty sure we want a system-wide list. Currently we maintain all areas in a static array limited by CONFIG_CMA_AREAS.
We can adjsut that to support for more dynamically.