sna/gen6+: Don't force a switch to BLT if the target bo cannot be blitted
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
512284fd47
commit
1486cfdf04
|
|
@ -52,6 +52,9 @@ inline static bool can_switch_to_blt(struct sna *sna,
|
|||
if (bo && bo->tiling == I915_TILING_Y)
|
||||
return false;
|
||||
|
||||
if (bo && !kgem_bo_can_blt(&sna->kgem, bo))
|
||||
return false;
|
||||
|
||||
if (sna->render_state.gt < 2)
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue