aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-06-29 11:12:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-06-29 15:52:50 -0400
commitfc220f6580be80c36dfba9964b2fd71ceb1d3d97 (patch)
tree3fa7493a0e38ec4bac89abbf30c75706f3883026 /include/uapi
parent2b48d323b26c37555df3447e11ab9e962eccdc26 (diff)
drm/amdgpu: add flag to delay VM updates
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/amdgpu_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 8edf10420361..b6fce900a833 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -313,6 +313,9 @@ struct drm_amdgpu_gem_op {
313#define AMDGPU_VA_OP_MAP 1 313#define AMDGPU_VA_OP_MAP 1
314#define AMDGPU_VA_OP_UNMAP 2 314#define AMDGPU_VA_OP_UNMAP 2
315 315
316/* Delay the page table update till the next CS */
317#define AMDGPU_VM_DELAY_UPDATE (1 << 0)
318
316/* Mapping flags */ 319/* Mapping flags */
317/* readable mapping */ 320/* readable mapping */
318#define AMDGPU_VM_PAGE_READABLE (1 << 1) 321#define AMDGPU_VM_PAGE_READABLE (1 << 1)