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:35:37 +0800
commit1f558fab4eef3b54de4853bc5247fbd0d24b68bf (patch)
treef3275e6c6fcda285b7ee2fa8516e7f45f5f23101
parent532e47a4a169e829ad34fdc8bb85e4eb81721af3 (diff)
Make skip_panel_detect clear for its meaning
(cherry picked from commit f4cb9a135dca9279af8186a9b18bf62ef7351019)
-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 64d0db1f..6f87c51f 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1503,9 +1503,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;