From f4cb9a135dca9279af8186a9b18bf62ef7351019 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Fri, 15 Aug 2008 10:02:44 +0800 Subject: Make skip_panel_detect clear for its meaning --- src/i830_driver.c | 4 ++-- src/i830_lvds.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i830_driver.c b/src/i830_driver.c index 35f72424..79c2078f 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1510,9 +1510,9 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) } if (xf86ReturnOptValBool(pI830->Options, OPTION_LVDSFIXEDMODE, TRUE)) { - pI830->skip_panel_detect = TRUE; - } else { pI830->skip_panel_detect = FALSE; + } else { + pI830->skip_panel_detect = TRUE; } if (xf86ReturnOptValBool(pI830->Options, OPTION_FORCEENABLEPIPEA, FALSE)) diff --git a/src/i830_lvds.c b/src/i830_lvds.c index a8856278..78fd2d8c 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -1255,7 +1255,7 @@ i830_lvds_init(ScrnInfoPtr pScrn) */ I830I2CInit(pScrn, &intel_output->pDDCBus, GPIOC, "LVDSDDC_C"); - if (!pI830->skip_panel_detect) { + if (pI830->skip_panel_detect) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Skipping any attempt to determine panel fixed mode.\n"); goto found_mode; -- cgit v1.2.3