summaryrefslogtreecommitdiff
path: root/src/atimach64cursor.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-07-23 05:36:14 +0000
committerEric Anholt <anholt@freebsd.org>2004-07-23 05:36:14 +0000
commit6f1e01ecdb11913fd768b9918f516b8379b7858f (patch)
treed4f17a99e6570a5c335400c5a0d0c40817342504 /src/atimach64cursor.c
parentb68322f467b7e524092af15e33ab872abb99b6a2 (diff)
- Add a new option, BuildDevelDRIDrivers, which controls whether
DevelDRIDrivers is non-empty. DevelDRIDrivers contains those drivers aren't built by default either due to being unusable on that architecture (but buildable for testing) or due to security concerns, as in the mach64 and savage cases. - Merge the Mach64 DDX's DRI support, under the XF86DRI_DEVEL define, which is set only when BuildDevelDRIDrivers is set. - Fix up of the sets of DRI drivers built for various architectures. - Fix build of unichrome DRI driver, which is now enabled on x86.
Diffstat (limited to 'src/atimach64cursor.c')
-rw-r--r--src/atimach64cursor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/atimach64cursor.c b/src/atimach64cursor.c
index 6b55d423..07d85cb3 100644
--- a/src/atimach64cursor.c
+++ b/src/atimach64cursor.c
@@ -1,6 +1,6 @@
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atimach64cursor.c,v 1.1 2003/04/23 21:51:29 tsi Exp $ */
/*
- * Copyright 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
+ * Copyright 2003 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -132,12 +132,12 @@ ATIMach64LoadCursorImage
CARD32 *pSrc = (pointer)pImage;
volatile CARD32 *pDst = pATI->pCursorImage;
-#ifdef XF86DRI
+#ifdef XF86DRI_DEVEL
/* XAA Sync requires the DRM lock if DRI enabled */
ATIDRILock(pScreenInfo);
-#endif /* XF86DRI */
+#endif /* XF86DRI_DEVEL */
/* Synchronise video memory accesses */
ATIMach64Sync(pScreenInfo);
@@ -284,11 +284,11 @@ ATIMach64LoadCursorImage
#endif
-#ifdef XF86DRI
+#ifdef XF86DRI_DEVEL
ATIDRIUnlock(pScreenInfo);
-#endif /* XF86DRI */
+#endif /* XF86DRI_DEVEL */
}