summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-03 15:22:38 +1100
committerDave Airlie <airlied@linux.ie>2006-12-03 15:22:38 +1100
commit2632ae24b3b50c69567e92611ce7c2cd2ee98baa (patch)
tree3337d71b53750e74d02c0cb09e615c49834ebfd4 /src
parentddec94e8f2f5746bad0e998d15303e771803d22b (diff)
re-program bios 4 scratch so we know if the LCD panel is there post startup
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index dc59d260..0ba44273 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5866,6 +5866,7 @@ static Bool RADEONInitCrtcRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save,
return FALSE;
}
+ save->bios_4_scratch = info->SavedReg.bios_4_scratch;
save->crtc_gen_cntl = (RADEON_CRTC_EXT_DISP_EN
| RADEON_CRTC_EN
| (format << 8)