Contents of /trunk/xorg-old/patches-6.9.0-r1/1214_all_4.3.0-radeon-disable-VideoRAM-option.patch
Parent Directory | Revision Log
Revision 167 -
(show annotations)
(download)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 1468 byte(s)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 1468 byte(s)
-import
1 | --- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.radeon-disable-VideoRAM-option 2003-09-05 16:26:31.000000000 -0400 |
2 | +++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2003-09-05 16:33:40.000000000 -0400 |
3 | @@ -2144,12 +2144,25 @@ |
4 | info->ram = &RADEONRAM[offset]; |
5 | |
6 | if (dev->videoRam) { |
7 | + /* The radeon driver is known to properly autodetect the amount of |
8 | + * video memory on all known Radeon and FireGL video adaptors at this |
9 | + * time. All of the bug reports that come into Red Hat in which the |
10 | + * user has overridden the autodetected video RAM amount by using the |
11 | + * VideoRAM option in their config file, turn out to be that the user |
12 | + * thought their video card had more RAM than it does in reality. As |
13 | + * such, this option is not useful for the Radeon driver, and is only |
14 | + * a burden on tech support load and increases end user problems, so |
15 | + * I am disabling it permanently in Red Hat radeon driver builds from |
16 | + * now on. - Mike A. Harris <mharris@redhat.com> |
17 | + */ |
18 | xf86DrvMsg(pScrn->scrnIndex, X_INFO, |
19 | - "Video RAM override, using %d kB instead of %d kB\n", |
20 | + "VideoRAM override ignored, this driver autodetects RAM\n", |
21 | dev->videoRam, |
22 | pScrn->videoRam); |
23 | +#if 0 |
24 | from = X_CONFIG; |
25 | pScrn->videoRam = dev->videoRam; |
26 | +#endif |
27 | } |
28 | pScrn->videoRam &= ~1023; |
29 | info->FbMapSize = pScrn->videoRam * 1024; |