summaryrefslogtreecommitdiff
path: root/src/amdgpu_pixmap.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-06-10 16:21:21 +0900
committerMichel Dänzer <michel@daenzer.net>2015-06-15 17:22:40 +0900
commit08da7b691d556735dcc22b1351c886a5079dfd3f (patch)
tree84655d21bcfeb36566e67be467303e5c0a4a3ac8 /src/amdgpu_pixmap.h
parent59bdb578266a2637fda8d11168b9332f6845157c (diff)
Add AMDGPU_CREATE_PIXMAP_GTT flag
When set, the pixmap memory is allocated in GTT instead of in VRAM. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_pixmap.h')
-rw-r--r--src/amdgpu_pixmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amdgpu_pixmap.h b/src/amdgpu_pixmap.h
index a5dc081..b269853 100644
--- a/src/amdgpu_pixmap.h
+++ b/src/amdgpu_pixmap.h
@@ -107,6 +107,7 @@ enum {
AMDGPU_CREATE_PIXMAP_DRI2 = 0x08000000,
AMDGPU_CREATE_PIXMAP_LINEAR = 0x04000000,
AMDGPU_CREATE_PIXMAP_SCANOUT = 0x02000000,
+ AMDGPU_CREATE_PIXMAP_GTT = 0x01000000,
};
extern Bool amdgpu_pixmap_init(ScreenPtr screen);