diff options
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r-- | src/sna/gen7_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index 575d67af..eb34ff2f 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -2514,7 +2514,8 @@ inline static bool can_switch_to_blt(struct sna *sna) if (!sna->kgem.has_semaphores) return false; - return sna->kgem.mode == KGEM_NONE || kgem_is_idle(&sna->kgem); + return (sna->kgem.mode == KGEM_NONE || + kgem_ring_is_idle(&sna->kgem, KGEM_BLT)); } static inline bool untiled_tlb_miss(struct kgem_bo *bo) |