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:23:28 +0000
commitad5540f6ecaec287c70259f0181e613561b716f6 (patch)
tree5fc907454a1bf79711a9e0ca82d3fc0cde85f700 /src/compat-api.h
parent4e8ae05f20e43c56ee7b15bbc66a472d4361a777 (diff)
downloadxorg-driver-xf86-video-intel-ad5540f6ecaec287c70259f0181e613561b716f6.tar.gz
More ABI changes for ABI_VIDEODRV_VERSION 25.2
Descending down into the naming changes, onto the next struct in the chain. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat-api.h b/src/compat-api.h
index 336698d3..4bb6be45 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -262,8 +262,10 @@ static inline void FreePixmap(PixmapPtr pixmap)
#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(25, 2)
#define PixmapDirtyDst(d) ((d)->secondary_dst)
+#define PixmapDirtyPrimary(d) (PixmapDirtyDst(d)->primary_pixmap)
#else
#define PixmapDirtyDst(d) ((d)->slave_dst)
+#define PixmapDirtyPrimary(d) (PixmapDirtyDst(d)->master_pixmap)
#endif
#endif