[PATCH libdrm 1/2] amdgpu: add AMDGPU_VM_PAGE_PRT

Nicolai Hähnle nhaehnle at gmail.com
Wed Feb 8 12:34:29 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

This is a new kernel interface.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
 include/drm/amdgpu_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index d8f2497..7012515 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -329,6 +329,8 @@ struct drm_amdgpu_gem_op {
 #define AMDGPU_VM_PAGE_WRITEABLE	(1 << 2)
 /* executable mapping, new for VI */
 #define AMDGPU_VM_PAGE_EXECUTABLE	(1 << 3)
+/* partially resident texture */
+#define AMDGPU_VM_PAGE_PRT		(1 << 4)
 
 struct drm_amdgpu_gem_va {
 	/** GEM object handle */
-- 
2.9.3



More information about the amd-gfx mailing list