sna: Don't force the creation of a GPU bo if it will be untiled
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
655a96cd5f
commit
04396b6e50
|
|
@ -1169,8 +1169,8 @@ _sna_drawable_use_gpu_bo(DrawablePtr drawable,
|
|||
return FALSE;
|
||||
|
||||
if (priv->gpu_bo == NULL &&
|
||||
sna_pixmap_choose_tiling(pixmap) != I915_TILING_NONE &&
|
||||
!box_inplace(pixmap, box))
|
||||
(sna_pixmap_choose_tiling(pixmap) == I915_TILING_NONE ||
|
||||
!box_inplace(pixmap, box)))
|
||||
return FALSE;
|
||||
|
||||
get_drawable_deltas(drawable, pixmap, &dx, &dy);
|
||||
|
|
|
|||
Loading…
Reference in New Issue