diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-09-13 01:45:43 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 07:41:57 +0400 |
commit | d42bb0fbd93582adee0f404b1b82af809e9c0483 (patch) | |
tree | a1687c80f9bd275ee82c74669478cab1bde963ba /drivers/staging/xgifb | |
parent | 98f4eade14b4bb077304ca16a1be45ec9c72b381 (diff) | |
download | linux-d42bb0fbd93582adee0f404b1b82af809e9c0483.tar.xz |
staging: xgifb: delete bogus video RAM configuration
The driver reconfigures DRAM size register to 8M (regardless what the
actual size was) once the init has been completed, overwriting the
correct value written during the early init. As a result if the driver
is unloaded and reloaded, the user will be limited to 8M video memory
and may lose some of the available video modes.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/vb_init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 0f6a52954c01..7739dbd9f029 100644 --- a/drivers/staging/xgifb/vb_init.c +++ b/drivers/staging/xgifb/vb_init.c @@ -1492,7 +1492,6 @@ unsigned char XGIInitNew(struct pci_dev *pdev) XGINew_SetModeScratch(HwDeviceExtension, pVBInfo); xgifb_reg_set(pVBInfo->P3d4, 0x8c, 0x87); - xgifb_reg_set(pVBInfo->P3c4, 0x14, 0x31); return 1; } /* end of init */ |