Searched refs:cur_ctx (Results 1 – 11 of 11) sorted by relevance
125 if (screen->cur_ctx) in nv50_default_kick_notify()126 screen->cur_ctx->state.flushed = true; in nv50_default_kick_notify()169 if (nv50->screen->cur_ctx == nv50) { in nv50_destroy()170 nv50->screen->cur_ctx = NULL; in nv50_destroy()326 if (!screen->cur_ctx) { in nv50_create()331 screen->cur_ctx = nv50; in nv50_create()
63 struct nv50_context *cur_ctx; member
451 struct nv50_context *ctx_from = ctx_to->screen->cur_ctx; in nv50_switch_pipe_context()486 ctx_to->screen->cur_ctx = ctx_to; in nv50_switch_pipe_context()539 if (nv50->screen->cur_ctx != nv50) in nv50_state_validate()
752 nv50_bufctx_fence(screen->cur_ctx->bufctx_3d, true); in nv50_draw_vbo_kick_notify()
200 if (nvc0->screen->cur_ctx == nvc0) { in nvc0_destroy()201 nvc0->screen->cur_ctx = NULL; in nvc0_destroy()239 if (screen->cur_ctx) in nvc0_default_kick_notify()240 screen->cur_ctx->state.flushed = true; in nvc0_default_kick_notify()451 if (!screen->cur_ctx) { in nvc0_create()453 screen->cur_ctx = nvc0; in nvc0_create()
72 struct nvc0_context *cur_ctx; member
871 struct nvc0_context *ctx_from = ctx_to->screen->cur_ctx; in nvc0_switch_pipe_context()910 ctx_to->screen->cur_ctx = ctx_to; in nvc0_switch_pipe_context()970 if (nvc0->screen->cur_ctx != nvc0) in nvc0_state_validate()
20 struct nv30_context *cur_ctx; member
176 if (nv30->screen->cur_ctx == nv30) in nv30_context_destroy()177 nv30->screen->cur_ctx = NULL; in nv30_context_destroy()
438 struct nv30_context *prev = nv30->screen->cur_ctx; in nv30_state_context_switch()459 nv30->screen->cur_ctx = nv30; in nv30_state_context_switch()472 if (nv30->screen->cur_ctx != nv30) in nv30_state_validate()
1188 - nv30: avoid setting user_priv without setting cur_ctx