summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-11-16 15:09:14 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-11-16 15:11:19 +0000
commit4e8ae05f20e43c56ee7b15bbc66a472d4361a777 (patch)
tree048f18f501eb41e0345b1bab626ef1a1eb94ab9f /src/compat-api.h
parent67f15b36faf8c4aa902d953067df0faf43387208 (diff)
downloadxorg-driver-xf86-video-intel-4e8ae05f20e43c56ee7b15bbc66a472d4361a777.tar.gz
Track ABI changes for ABI_VIDEODRV_VERSION 25.2
Several structs had fields renamed, and so we must update our usage. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 05797a08..336698d3 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -260,4 +260,10 @@ static inline void FreePixmap(PixmapPtr pixmap)
#define RemoveNotifyFd(fd) RemoveGeneralSocket(fd)
#endif
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(25, 2)
+#define PixmapDirtyDst(d) ((d)->secondary_dst)
+#else
+#define PixmapDirtyDst(d) ((d)->slave_dst)
+#endif
+
#endif