History

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

Timur Kristóf committed 12 months ago

Commit c3cd5681 parent 550c6f51 file · +1 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/amdgpu_drm.h+1−1
@@ -883,7 +883,7 @@ struct drm_amdgpu_gem_list_handles_entry { · 882 unmodified lines
883883 #define AMDGPU_VM_PAGE_WRITEABLE (1 << 2)
884884 /* executable mapping, new for VI */
885885 #define AMDGPU_VM_PAGE_EXECUTABLE (1 << 3)
886−/* partially resident texture */
886+/* unmapped page of partially resident textures */
887887 #define AMDGPU_VM_PAGE_PRT (1 << 4)
888888 /* MTYPE flags use bit 5 to 8 */
889889 #define AMDGPU_VM_MTYPE_MASK (0xf << 5)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t