Don't do AdjustFrame in KMS mode.
This was hit by xv86vm's SwitchMode path, and for that the CRTC offsets get set at mode setting time anyway.
This commit is contained in:
parent
170f00e161
commit
f4e2f522a5
|
|
@ -3488,6 +3488,9 @@ i830AdjustFrame(int scrnIndex, int x, int y, int flags)
|
|||
DPRINTF(PFX, "i830AdjustFrame: y = %d (+ %d), x = %d (+ %d)\n",
|
||||
x, pI830->xoffset, y, pI830->yoffset);
|
||||
|
||||
if (pI830->use_drm_mode)
|
||||
return;
|
||||
|
||||
if (crtc && crtc->enabled)
|
||||
{
|
||||
/* Sync the engine before adjust frame */
|
||||
|
|
|
|||
Loading…
Reference in New Issue