sna: Double check for no residual CPU damage along redisplay fast path
If we are using a CRTC source pixmap, it is possible that it is on the CPU with a GPU bo and so requires flushing prior to the copy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
e50e1bb3fd
commit
aa89ef69ac
|
|
@ -6801,6 +6801,7 @@ sna_crtc_redisplay(xf86CrtcPtr crtc, RegionPtr region, struct kgem_bo *bo)
|
|||
|
||||
if (crtc->filter == NULL &&
|
||||
priv->gpu_bo &&
|
||||
priv->cpu_damage == NULL &&
|
||||
sna_transform_is_integer_translation(&crtc->crtc_to_framebuffer,
|
||||
&tx, &ty)) {
|
||||
DrawableRec tmp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue