summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-28 12:33:24 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-08 12:08:03 -0400
commit97c63973ff187744fe2bb72bdd7bcd16cb95e33f (patch)
treecb3784e5a3c2d5f378d8b232ec881bf8c25d6819 /src
parentf2aaa70871f87f39d0c08b4652840ec4b3dc74a4 (diff)
RV410: SE variants only have 1 quad pipe
Should fix EXA corruption with the 3D engine. Mesa and drm patches forthcoming. Reported by Kano on IRC.
Diffstat (limited to 'src')
-rw-r--r--src/radeon_accel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index a9a48480..70347fe9 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -87,6 +87,8 @@
#include "radeon_drm.h"
#endif
+#include "ati_pciids_gen.h"
+
/* Line support */
#include "miline.h"
@@ -481,6 +483,11 @@ void RADEONEngineInit(ScrnInfoPtr pScrn)
}
}
+ /* RV410 SE cards only have 1 quadpipe */
+ if ((info->Chipset == PCI_CHIP_RV410_5E4C) ||
+ (info->Chipset == PCI_CHIP_RV410_5E4F))
+ info->accel_state->num_gb_pipes = 1;
+
if (IS_R300_3D || IS_R500_3D)
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"num quad-pipes is %d\n", info->accel_state->num_gb_pipes);