From ecbec8379c24bd6c16ced674d5e6affcd3985e46 Mon Sep 17 00:00:00 2001 From: Michel Daenzer Date: Thu, 8 Jun 2006 17:29:12 +0000 Subject: Bug #5678: Fix setting of transfer mode for AGPv3 devices (Tilman Sauerbeck). --- ChangeLog | 6 ++++++ src/radeon_dri.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a83ca5c..086b01b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-08 Michel Dänzer + + * src/radeon_dri.c: (RADEONSetAgpMode): + Bug #5678: Fix setting of transfer mode for AGPv3 devices + (Tilman Sauerbeck). + 2006-06-03 Daniel Stone * src/r128_accel.c: diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 62543ca..5b42c33 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 -- cgit v1.2.3