summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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"