summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/radeon_drm.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-07-17 12:01:07 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-08-05 14:53:32 +0200
commit77497f2735ad6e29c55475e15e9790dbfa2c2ef8 (patch)
tree4799ae3520773f139a24cf5ea539fede1fd5d54b /include/uapi/drm/radeon_drm.h
parentdrm/radeon: Remove radeon_gart_restore() (diff)
downloadlinux-77497f2735ad6e29c55475e15e9790dbfa2c2ef8.tar.xz
linux-77497f2735ad6e29c55475e15e9790dbfa2c2ef8.zip
drm/radeon: Pass GART page flags to radeon_gart_set_page() explicitly
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/radeon_drm.h')
-rw-r--r--include/uapi/drm/radeon_drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 1cc0b610f162..509b2d7a41b7 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -796,7 +796,9 @@ struct drm_radeon_gem_info {
uint64_t vram_visible;
};
-#define RADEON_GEM_NO_BACKING_STORE 1
+#define RADEON_GEM_NO_BACKING_STORE (1 << 0)
+#define RADEON_GEM_GTT_UC (1 << 1)
+#define RADEON_GEM_GTT_WC (1 << 2)
struct drm_radeon_gem_create {
uint64_t size;