diff options
author | Alex Deucher <agd5f@yahoo.com> | 2004-12-12 02:00:48 +0000 |
---|---|---|
committer | Alex Deucher <agd5f@yahoo.com> | 2004-12-12 02:00:48 +0000 |
commit | 68ea67ce98b8f3ad4c17f987e0e2b92f79a96fbf (patch) | |
tree | 1b1b7cbc3404f5fb58eed98cb543e09eafd0e019 /src/radeon_driver.c | |
parent | 93675d288d5ebb35d4724ebbfc455a703e25a311 (diff) |
- add AGP 8x support (Hui Yu, Michel Daenzer) bug 1819
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index d70ccd7e..faed1523 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3944,11 +3944,18 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr pScrn) OPTION_AGP_MODE, &(info->agpMode))) { if (info->agpMode < 1 || info->agpMode > RADEON_AGP_MAX_MODE) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, - "Illegal AGP Mode: %d\n", info->agpMode); - return FALSE; + "Illegal AGP Mode: %dx, set to default %dx mode\n", + info->agpMode, RADEON_DEFAULT_AGP_MODE); + info->agpMode = RADEON_DEFAULT_AGP_MODE; } + + /* AGP_MAX_MODE is changed to allow v3 8x mode. + * At this time we don't know if the AGP bridge supports + * 8x mode. This will later be verified on both + * AGP master and target sides. + */ xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, - "Using AGP %dx mode\n", info->agpMode); + "AGP %dx mode is configured\n", info->agpMode); } if ((info->agpFastWrite = xf86ReturnOptValBool(info->Options, |