Only erase curMode in i830DisableUnusedFunctions when the CRTC is disabled.
This bug resulted in broken xinerama, among other issues.
This commit is contained in:
parent
3b5703c7fa
commit
ff1223142a
|
|
@ -987,9 +987,9 @@ i830DisableUnusedFunctions(ScrnInfoPtr pScrn)
|
|||
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Disabling CRTC %s\n",
|
||||
pipe_name);
|
||||
crtc->funcs->dpms(crtc, DPMSModeOff);
|
||||
}
|
||||
|
||||
memset(&crtc->curMode, 0, sizeof(crtc->curMode));
|
||||
memset(&crtc->curMode, 0, sizeof(crtc->curMode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue