summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTormod Volden <bugzi06.fdo.tormod@xoxy.net>2007-06-12 23:30:18 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-12 23:30:18 -0400
commit090888d3baf61a70640d28e99afdce20952cdea0 (patch)
tree10acee4cac3d930b358f06076d517aa85d0efa52 /src
parent9dd9f09a9021653e5590d27bd7aa0e7af85416ad (diff)
RADEON: limit PanelPwrDly to 2000 ms on ATOM bios as per legacy bios
- fixes bug 11238
Diffstat (limited to 'src')
-rw-r--r--src/radeon_bios.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index f55d1612..10ef99f6 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -415,6 +415,9 @@ Bool RADEONGetLVDSInfoFromBIOS (xf86OutputPtr output)
radeon_output->VSyncWidth = RADEON_BIOS16(tmp+20);
radeon_output->PanelPwrDly = RADEON_BIOS16(tmp+40);
+ if (radeon_output->PanelPwrDly > 2000 || radeon_output->PanelPwrDly < 0)
+ radeon_output->PanelPwrDly = 2000;
+
radeon_output->Flags = 0;
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"LVDS Info:\n"