summaryrefslogtreecommitdiff
path: root/src/atimach64cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atimach64cursor.c')
-rw-r--r--src/atimach64cursor.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/atimach64cursor.c b/src/atimach64cursor.c
index 9d8816be..07d85cb3 100644
--- a/src/atimach64cursor.c
+++ b/src/atimach64cursor.c
@@ -132,6 +132,13 @@ ATIMach64LoadCursorImage
CARD32 *pSrc = (pointer)pImage;
volatile CARD32 *pDst = pATI->pCursorImage;
+#ifdef XF86DRI_DEVEL
+
+ /* XAA Sync requires the DRM lock if DRI enabled */
+ ATIDRILock(pScreenInfo);
+
+#endif /* XF86DRI_DEVEL */
+
/* Synchronise video memory accesses */
ATIMach64Sync(pScreenInfo);
@@ -277,6 +284,12 @@ ATIMach64LoadCursorImage
#endif
+#ifdef XF86DRI_DEVEL
+
+ ATIDRIUnlock(pScreenInfo);
+
+#endif /* XF86DRI_DEVEL */
+
}
/*