History

drm/amdgpu: remove AMDGPU_GEM_CREATE_SHADOW flag

Remove unused AMDGPU_GEM_CREATE_SHADOW flag. Userspace is never allowed to use this.

Nirmoy Das committed 5 years ago

Commit 42daecf1 parent cd2454d2 files · +1 −6Browse files

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

Unified · Split

include/uapi/drm/amdgpu_drm.h+0−2
@@ -116,8 +116,6 @@ extern "C" { · 115 unmodified lines
116116 #define AMDGPU_GEM_CREATE_CPU_GTT_USWC (1 << 2)
117117 /* Flag that the memory should be in VRAM and cleared */
118118 #define AMDGPU_GEM_CREATE_VRAM_CLEARED (1 << 3)
119−/* Flag that create shadow bo(GTT) while allocating vram bo */
120−#define AMDGPU_GEM_CREATE_SHADOW (1 << 4)
121119 /* Flag that allocating the BO should use linear VRAM */
122120 #define AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS (1 << 5)
123121 /* Flag that BO is always valid in this VM */