Set sane defaults fori the reference clock for Rage XL and Mobility cards

on sparc64.  This makes it possible to run X without an xorg.conf on machines
like the blade100 and the Tadpole laptops.

ok oga@, matthieu@
This commit is contained in:
kettenis 2009-05-04 20:34:28 +00:00
parent d69ace73ff
commit c323e0e8a5

View File

@ -358,6 +358,10 @@ ATIProcessOptions
Accel = CacheMMIO = HWCursor = TRUE; Accel = CacheMMIO = HWCursor = TRUE;
ReferenceClock = ((double)157500000.0) / ((double)11.0); ReferenceClock = ((double)157500000.0) / ((double)11.0);
#ifdef __sparc__
if (pATI->Chip == ATI_CHIP_264XL || pATI->Chip == ATI_CHIP_MOBILITY)
ReferenceClock = 29500000.0;
#endif
ShadowFB = TRUE; ShadowFB = TRUE;