sna: Skip an async flip request to the same bo
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
93b94b96c6
commit
1c16a91aaf
|
|
@ -5449,6 +5449,9 @@ sna_page_flip(struct sna *sna,
|
|||
assert(crtc->bo->refcnt >= crtc->bo->active_scanout);
|
||||
assert(crtc->flip_bo == NULL);
|
||||
|
||||
if (data == NULL && crtc->bo == bo)
|
||||
goto next_crtc;
|
||||
|
||||
arg.crtc_id = crtc->id;
|
||||
arg.fb_id = get_fb(sna, bo, width, height);
|
||||
if (arg.fb_id == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue