sna: Make sure we recompute the vblank interval after reconfiguring the CRTC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
51909f37ed
commit
9e02fe269d
|
|
@ -1785,10 +1785,8 @@ sna_crtc_dpms(xf86CrtcPtr crtc, int mode)
|
|||
} else
|
||||
sna_crtc_disable(crtc);
|
||||
|
||||
if (priv->bo != NULL) {
|
||||
if (priv->bo != NULL)
|
||||
priv->dpms_mode = mode;
|
||||
update_flush_interval(to_sna(crtc->scrn));
|
||||
}
|
||||
}
|
||||
|
||||
void sna_mode_adjust_frame(struct sna *sna, int x, int y)
|
||||
|
|
@ -4670,6 +4668,7 @@ sna_crtc_config_notify(ScreenPtr screen)
|
|||
return;
|
||||
|
||||
probe_capabilities(sna);
|
||||
update_flush_interval(sna);
|
||||
|
||||
sna_cursors_reload(sna);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue