From 090888d3baf61a70640d28e99afdce20952cdea0 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Tue, 12 Jun 2007 23:30:18 -0400 Subject: RADEON: limit PanelPwrDly to 2000 ms on ATOM bios as per legacy bios - fixes bug 11238 --- src/radeon_bios.c | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.3