Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Timur Kristóf and committed by
Alex Deucher
c3cd568d 550c6f5b

+1 -1
+1 -1
include/uapi/drm/amdgpu_drm.h
··· 883 883 #define AMDGPU_VM_PAGE_WRITEABLE (1 << 2) 884 884 /* executable mapping, new for VI */ 885 885 #define AMDGPU_VM_PAGE_EXECUTABLE (1 << 3) 886 - /* partially resident texture */ 886 + /* unmapped page of partially resident textures */ 887 887 #define AMDGPU_VM_PAGE_PRT (1 << 4) 888 888 /* MTYPE flags use bit 5 to 8 */ 889 889 #define AMDGPU_VM_MTYPE_MASK (0xf << 5)