summaryrefslogtreecommitdiff
path: root/src/radeon_accelfuncs.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-03-20 09:12:09 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-03-20 09:12:09 +0100
commit113fb4b61e709a9b54fc2ef73efce06011e771c1 (patch)
tree19314e31dbfebb0dfca3fd0ac765e3e59804a332 /src/radeon_accelfuncs.c
parent4651d00b183cb498879d605c4b93cd3a0c63cb33 (diff)
radeon: Disable CP line acceleration on RV280s.
There have been several reports of stability issues with things like the xscreensaver hack hypercube.
Diffstat (limited to 'src/radeon_accelfuncs.c')
-rw-r--r--src/radeon_accelfuncs.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/radeon_accelfuncs.c b/src/radeon_accelfuncs.c
index 784b0745..212131fd 100644
--- a/src/radeon_accelfuncs.c
+++ b/src/radeon_accelfuncs.c
@@ -1204,8 +1204,14 @@ FUNC_NAME(RADEONAccelInit)(ScreenPtr pScreen, XAAInfoRecPtr a)
hardware accel two point lines */
miSetZeroLineBias(pScreen, (OCTANT5 | OCTANT6 | OCTANT7 | OCTANT8));
- a->SubsequentSolidTwoPointLine
- = FUNC_NAME(RADEONSubsequentSolidTwoPointLine);
+#ifdef ACCEL_CP
+ /* RV280s lock up with this using the CP for reasons to be determined.
+ * See https://bugs.freedesktop.org/show_bug.cgi?id=5986 .
+ */
+ if (info->ChipFamily != CHIP_FAMILY_RV280)
+#endif
+ a->SubsequentSolidTwoPointLine
+ = FUNC_NAME(RADEONSubsequentSolidTwoPointLine);
/* Disabled on RV200 and newer because it does not pass XTest */
if (info->ChipFamily < CHIP_FAMILY_RV200) {