diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-04-28 12:33:24 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-04-28 12:33:24 -0400 |
commit | 4d0beaf02b28d5a5dac4ff6053593a2f979f92ec (patch) | |
tree | fcdf599ef80276e80e3237ab9ebb06619ae9fdf6 /src | |
parent | abd565ae71d9844d5afcd658628ca7778ce26ab1 (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.c | 7 |
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); |