sna/dri2: Allow xchg to replace the frontbuffer when all outputs are off
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9306a148cb
commit
6153141fa6
|
|
@ -1497,7 +1497,7 @@ can_xchg(struct sna * sna,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (pixmap == sna->front && !(sna->flags & SNA_TEAR_FREE)) {
|
||||
if (pixmap == sna->front && !(sna->flags & SNA_TEAR_FREE) && sna->mode.front_active) {
|
||||
DBG(("%s: no, front buffer, requires flipping\n",
|
||||
__FUNCTION__));
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue