diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-24 19:05:15 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-25 10:38:52 +0900 |
commit | fbf9ae18cd241b8b78936aa30441e5fbfd9ba1c5 (patch) | |
tree | ff04955b2ba71d05c8783bef9dbb1bb02ec5c66b /src/amdgpu_pixmap.h | |
parent | 912db5fbbc6b9b1121c8a03168cb4bd870474376 (diff) |
Require xserver 1.9 or newer
1.9.0 was released in August 2010.
We were already unintentionally relying on things not available in 1.8
for at least a year, and nobody has complained.
(Ported from radeon commit e592f32f8b5f5873fcc18b10a69dd5e4ccf11073)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_pixmap.h')
-rw-r--r-- | src/amdgpu_pixmap.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/amdgpu_pixmap.h b/src/amdgpu_pixmap.h index 6d16628..1fba90e 100644 --- a/src/amdgpu_pixmap.h +++ b/src/amdgpu_pixmap.h @@ -39,19 +39,11 @@ struct amdgpu_pixmap { uint32_t handle; }; -#if HAS_DEVPRIVATEKEYREC extern DevPrivateKeyRec amdgpu_pixmap_index; -#else -extern int amdgpu_pixmap_index; -#endif static inline struct amdgpu_pixmap *amdgpu_get_pixmap_private(PixmapPtr pixmap) { -#if HAS_DEVPRIVATEKEYREC return dixGetPrivate(&pixmap->devPrivates, &amdgpu_pixmap_index); -#else - return dixLookupPrivate(&pixmap->devPrivates, &amdgpu_pixmap_index); -#endif } static inline void amdgpu_set_pixmap_private(PixmapPtr pixmap, |