summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-08-15 10:02:44 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-08-15 10:02:44 +0800
commitf4cb9a135dca9279af8186a9b18bf62ef7351019 (patch)
tree7633f26bc5dc3aacb3a527efa9339b795080f093
parent22918f62c89a4314fb5d01c58f22fee5b9a15a27 (diff)
Make skip_panel_detect clear for its meaning
-rw-r--r--src/i830_driver.c4
-rw-r--r--src/i830_lvds.c2
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;