Home
last modified time | relevance | path

Searched refs:need_ctx_switch (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dgfx_v8_0.c4545 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v8_0_ring_emit_ib_gfx() local
4550 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()
Dgfx_v7_0.c2567 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v7_0_ring_emit_ib_gfx() local
2572 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()