Lines Matching defs:context
88 {"reserve_vmid", DBG(RESERVE_VMID), "Force VMID reservation per context."},
171 /* Limit the numbers of waves allocated for this context. */
190 static void si_destroy_context(struct pipe_context *context)
192 struct si_context *sctx = (struct si_context *)context;
199 if (context->set_framebuffer_state)
200 context->set_framebuffer_state(context, &fb);
357 p_atomic_dec(&context->screen->num_contexts);
461 /* Don't create a context if it's not compute-only and hw is compute-only. */
463 fprintf(stderr, "radeonsi: can't create a graphics context on a compute chip\n");
474 fprintf(stderr, "radeonsi: can't allocate a context\n");
515 /* Initialize the context handle and the command stream. */
518 /* Context priority should be treated as a hint. If context creation
600 /* Initialize context functions used by graphics and compute. */
626 /* Initialize graphics-only context functions. */
832 fprintf(stderr, "radeonsi: Failed to create a context.\n");
1416 /* Create the auxiliary context. This must be done last. */