Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dcommand_submission.c1673 int rc = 0, do_ctx_switch = 0; in hl_cs_ctx_switch() local
1680 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0); in hl_cs_ctx_switch()
1682 if (do_ctx_switch || (args->in.cs_flags & HL_CS_FLAGS_FORCE_RESTORE)) { in hl_cs_ctx_switch()
1685 if (do_ctx_switch) { in hl_cs_ctx_switch()