summaryrefslogtreecommitdiff
path: root/driver/xf86-video-amdgpu/src/compat-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-amdgpu/src/compat-api.h')
-rw-r--r--driver/xf86-video-amdgpu/src/compat-api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/xf86-video-amdgpu/src/compat-api.h b/driver/xf86-video-amdgpu/src/compat-api.h
index a703e5c8f..aca3b07b3 100644
--- a/driver/xf86-video-amdgpu/src/compat-api.h
+++ b/driver/xf86-video-amdgpu/src/compat-api.h
@@ -38,4 +38,10 @@
#define BLOCKHANDLER_ARGS pScreen, pTimeout, pReadmask
#endif
+#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2)
+#define current_primary current_master
+#define primary_pixmap master_pixmap
+#define secondary_dst slave_dst
+#endif
+
#endif