blob: 29924bb90c5606ddeb09e80a6bd2113c419bf3eb [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 2c5063938cc809f624e56efd4673041fa8141e81 Mon Sep 17 00:00:00 2001
2From: Martin Peres <martin.peres@linux.intel.com>
3Date: Thu, 9 Jul 2015 11:26:38 +0300
4Subject: [PATCH] uxa: fix the call to PixmapSyncDirtyHelper, broken by
5 xserver's 90db5ed
6
7[ickle: switch to HAS_DIRTYTRACKING_ROTATION as suggested by Dave Airlie]
8Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
9
10Upstream-Status: Backport
11Signed-off-by: Saul Wold <sgw@linux.intel.com>
12---
13 src/compat-api.h | 4 ++++
14 1 file changed, 4 insertions(+)
15
16diff --git a/src/compat-api.h b/src/compat-api.h
17index aa93bee..293e9d7 100644
18--- a/src/compat-api.h
19+++ b/src/compat-api.h
20@@ -247,3 +247,7 @@ static inline void FreePixmap(PixmapPtr pixmap)
21 #endif
22
23 #endif
24+
25+#if HAS_DIRTYTRACKING_ROTATION
26+#define PixmapSyncDirtyHelper(d, dd) PixmapSyncDirtyHelper(d)
27+#endif
28--
292.5.0
30