summaryrefslogtreecommitdiff
path: root/src/amdgpu_pixmap.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-11-19 16:44:22 +0900
committerMichel Dänzer <michel@daenzer.net>2015-11-19 17:56:36 +0900
commit84cab5738a315e9825bd0864c4f0fc5b03eb81a1 (patch)
tree0779dce333587b3bf824544bdc7a5a74366d3b64 /src/amdgpu_pixmap.h
parenta00c050c2e5667ed815c51979a3cadb5146136ff (diff)
glamor: Restore all ScreenRec hooks during CloseScreen
(ported from radeon commit 535e5438b2c32f774b9c8c27ee0289b4749548ef) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_pixmap.h')
-rw-r--r--src/amdgpu_pixmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amdgpu_pixmap.h b/src/amdgpu_pixmap.h
index a8f204f..7e0e449 100644
--- a/src/amdgpu_pixmap.h
+++ b/src/amdgpu_pixmap.h
@@ -56,10 +56,6 @@ static inline void amdgpu_set_pixmap_private(PixmapPtr pixmap,
dixSetPrivate(&pixmap->devPrivates, &amdgpu_pixmap_index, priv);
}
-#if XF86_CRTC_VERSION >= 5
-#define AMDGPU_PIXMAP_SHARING 1
-#endif
-
static inline void amdgpu_set_pixmap_bo(PixmapPtr pPix, struct amdgpu_buffer *bo)
{
struct amdgpu_pixmap *priv;