sna: Flush pending rendering before enabling an output
This is to prevent falling in the trap of the rendering being delayed until the next client renders some new content. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
94dd0b9ee9
commit
66e4c8ff40
|
|
@ -1251,6 +1251,8 @@ retry: /* Attach per-crtc pixmap or direct */
|
|||
if (bo == NULL)
|
||||
return FALSE;
|
||||
|
||||
kgem_bo_submit(&sna->kgem, bo);
|
||||
|
||||
sna_crtc->bo = bo;
|
||||
mode_to_kmode(&sna_crtc->kmode, mode);
|
||||
if (!sna_crtc_apply(crtc)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue