Lines Matching defs:context
44 * struct vmw_cmdbuf_context - Command buffer context queues
73 * @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.
368 * vmw_cmdbuf_ctx_submit: Process a command buffer context.
371 * @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.
1167 static int vmw_cmdbuf_preempt(struct vmw_cmdbuf_man *man, u32 context)
1175 cmd.body.context = SVGA_CB_CONTEXT_0 + context;
1184 * context.
1187 * @enable: Whether to enable or disable the context.
1189 * Synchronously sends a device start / stop context command.
1191 static int vmw_cmdbuf_startstop(struct vmw_cmdbuf_man *man, u32 context,
1201 cmd.body.context = SVGA_CB_CONTEXT_0 + context;