]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/uapi: Clarify comment on AMDGPU_VM_PAGE_PRT
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 19 Nov 2025 09:25:43 +0000 (10:25 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:31 +0000 (13:56 -0500)
commitc3cd568d31b6d41fc201b1d0506e4f6cab7e488a
tree0adea62844cd733fb55c339d0a36bb5c8ec03d80
parent550c6f5b90d21b84d62e658f2e986ea24bf3adb4
drm/amdgpu/uapi: Clarify comment on AMDGPU_VM_PAGE_PRT

In the context of the amdgpu uAPI, the PRT flag is referring only
to unmapped pages of a partially resident texture (aka. sparse
resource), but not the full resource.

Virtual addresses marked with this flag behave as follows:
- Reads return zero
- Writes are discarded

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/drm/amdgpu_drm.h