Lines Matching defs:context

45  * struct vmw_cmdbuf_context - Command buffer context queues
75 * @ctx: Array of command buffer context queues. The queues and the context
143 * @cb_context: The device command buffer context.
191 /* Loop over each context in the command buffer manager. */
196 static int vmw_cmdbuf_startstop(struct vmw_cmdbuf_man *man, u32 context,
198 static int vmw_cmdbuf_preempt(struct vmw_cmdbuf_man *man, u32 context);
230 * been used for the device context with inline command buffers.
317 * vmw_cmdbuf_ctx_init: Initialize a command buffer context.
319 * @ctx: The command buffer context to initialize
331 * context.
334 * @ctx: The command buffer context.
367 * vmw_cmdbuf_ctx_process - Process a command buffer context.
370 * @ctx: The command buffer context.
430 * Calls vmw_cmdbuf_ctx_process() on all contexts. If any context has
463 * command buffer context
467 * @cb_context: The command buffer context to use.
470 * buffer context identified by @cb_context. It then calls the command buffer
509 * Restarting the command buffer context after an error requires process
510 * context, so it is deferred to this work function.
992 * @ctx_id: The context id if any. Otherwise set to SVGA3D_REG_INVALID.
1065 * @ctx_id: The context id if any. Otherwise set to SVGA3D_REG_INVALID.
1123 * vmw_cmdbuf_send_device_command - Send a command through the device context.
1129 * Synchronously sends a device context command.
1151 DRM_ERROR("Device context command failed with status %d\n",
1161 * context.
1164 * @context: Device context to pass command through.
1168 static int vmw_cmdbuf_preempt(struct vmw_cmdbuf_man *man, u32 context)
1176 cmd.body.context = SVGA_CB_CONTEXT_0 + context;
1185 * context.
1188 * @context: Device context to start/stop.
1189 * @enable: Whether to enable or disable the context.
1191 * Synchronously sends a device start / stop context command.
1193 static int vmw_cmdbuf_startstop(struct vmw_cmdbuf_man *man, u32 context,
1203 cmd.body.context = SVGA_CB_CONTEXT_0 + context;