Make skip_panel_detect clear for its meaning
This commit is contained in:
parent
22918f62c8
commit
f4cb9a135d
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue