summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2025-08-13 08:02:52 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2025-09-11 11:22:20 +0200
commitc924c65f52c300ba36373e140a43a8e723c3abdd (patch)
tree9c997c925eb3651e130ee321e6adb122b1746f1f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenta6ccb03fb77341df0573c5b3f82f82b4da1b87f5 (diff)
tee: implement protected DMA-heap
Implement DMA heap for protected DMA-buf allocation in the TEE subsystem. Protected memory refers to memory buffers behind a hardware enforced firewall. It is not accessible to the kernel during normal circumstances but rather only accessible to certain hardware IPs or CPUs executing in higher or differently privileged mode than the kernel itself. This interface allows to allocate and manage such protected memory buffers via interaction with a TEE implementation. The protected memory is allocated for a specific use-case, like Secure Video Playback, Trusted UI, or Secure Video Recording where certain hardware devices can access the memory. The DMA-heaps are enabled explicitly by the TEE backend driver. The TEE backend drivers needs to implement protected memory pool to manage the protected memory. Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions