Searched refs:need_ctx_switch (Results 1 – 2 of 2) sorted by relevance
4545 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v8_0_ring_emit_ib_gfx() local4550 if ((ib->flags & AMDGPU_IB_FLAG_PREAMBLE) && !need_ctx_switch) in gfx_v8_0_ring_emit_ib_gfx()4553 if (need_ctx_switch) in gfx_v8_0_ring_emit_ib_gfx()4564 if (need_ctx_switch) { in gfx_v8_0_ring_emit_ib_gfx()
2567 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v7_0_ring_emit_ib_gfx() local2572 if ((ib->flags & AMDGPU_IB_FLAG_PREAMBLE) && !need_ctx_switch) in gfx_v7_0_ring_emit_ib_gfx()2575 if (need_ctx_switch) in gfx_v7_0_ring_emit_ib_gfx()2586 if (need_ctx_switch) { in gfx_v7_0_ring_emit_ib_gfx()