From 44748a826b52924a6e050215d8d62755e0ac7fb2 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Tue, 12 Jun 2007 23:23:49 -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(+) (limited to 'src') diff --git a/src/radeon_bios.c b/src/radeon_bios.c index e62fb257..fefa6ff7 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -432,6 +432,9 @@ Bool RADEONGetLVDSInfoFromBIOS (ScrnInfoPtr pScrn) info->VSyncWidth = RADEON_BIOS16(tmp+20); info->PanelPwrDly = RADEON_BIOS16(tmp+40); + if (info->PanelPwrDly > 2000 || info->PanelPwrDly < 0) + info->PanelPwrDly = 2000; + info->Flags = 0; xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "LVDS Info:\n" -- cgit v1.2.3