diff options
author | Michel Daenzer <michel@daenzer.net> | 2006-06-08 17:29:12 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2006-06-08 17:29:12 +0000 |
commit | ecbec8379c24bd6c16ced674d5e6affcd3985e46 (patch) | |
tree | 70cc17d3b3359b500180e18f60b437371a6cdeea /src/radeon_dri.c | |
parent | 874ff105bc63c4fc242fbabaec04fde2cb81fdd4 (diff) |
Bug #5678: Fix setting of transfer mode for AGPv3 devices (Tilman
Sauerbeck).
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 62543cab..5b42c33c 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -728,8 +728,9 @@ static Bool RADEONSetAgpMode(RADEONInfoPtr info, ScreenPtr pScreen) mode &= ~RADEON_AGP_MODE_MASK; if ((mode & RADEON_AGPv3_MODE) && (INREG(RADEON_AGP_STATUS) & RADEON_AGPv3_MODE)) { + /* only set one mode bit for AGPv3 */ switch (info->agpMode) { - case 8: mode |= RADEON_AGPv3_8X_MODE; + case 8: mode |= RADEON_AGPv3_8X_MODE; break; case 4: default: mode |= RADEON_AGPv3_4X_MODE; } /*TODO: need to take care of other bits valid for v3 mode |