xf86-video-intel: src/compat-api.h
Chris Wilson
ickle at kemper.freedesktop.org
Mon May 30 15:07:16 UTC 2016
src/compat-api.h | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
New commits:
commit 000378a801d627687a34906193c9f75b5041c7da
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon May 30 16:01:03 2016 +0100
compat: Add OsBlockSIGIO/OsReleaseSIGIO wrappers
Signal-driven cursor are removed in ABI_VIDEODRV_VERSION 22.0.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/compat-api.h b/src/compat-api.h
index 293e9d7..371ece9 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -30,6 +30,7 @@
#include <xorg-server.h>
#include <xorgVersion.h>
+#include <xf86Module.h>
#include <picturestr.h>
#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR
@@ -246,8 +247,13 @@ static inline void FreePixmap(PixmapPtr pixmap)
#define isGPU(S) 0
#endif
-#endif
-
#if HAS_DIRTYTRACKING_ROTATION
#define PixmapSyncDirtyHelper(d, dd) PixmapSyncDirtyHelper(d)
#endif
+
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(22, 0)
+#define OsBlockSIGIO()
+#define OsReleaseSIGIO()
+#endif
+
+#endif
More information about the xorg-commit
mailing list