Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c147 struct vmw_sw_context *sw_context,
150 struct vmw_sw_context *sw_context,
173 static void vmw_execbuf_bindings_commit(struct vmw_sw_context *sw_context, in vmw_execbuf_bindings_commit() argument
178 list_for_each_entry(entry, &sw_context->ctx_list, head) { in vmw_execbuf_bindings_commit()
182 if (entry->staged != sw_context->staged_bindings) in vmw_execbuf_bindings_commit()
185 sw_context->staged_bindings_inuse = false; in vmw_execbuf_bindings_commit()
189 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_bindings_commit()
197 static void vmw_bind_dx_query_mob(struct vmw_sw_context *sw_context) in vmw_bind_dx_query_mob() argument
199 if (sw_context->dx_query_mob) in vmw_bind_dx_query_mob()
200 vmw_context_bind_dx_query(sw_context->dx_query_ctx, in vmw_bind_dx_query_mob()
[all …]
H A Dvmwgfx_validation.c182 if (ctx->sw_context) { in vmw_validation_find_bo_dup()
186 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_bo_dup()
224 if (ctx->sw_context) { in vmw_validation_find_res_dup()
228 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_res_dup()
276 if (ctx->sw_context) { in vmw_validation_add_bo()
278 hash_add_rcu(ctx->sw_context->res_ht, &bo_node->hash.head, in vmw_validation_add_bo()
324 if (ctx->sw_context) { in vmw_validation_add_resource()
326 hash_add_rcu(ctx->sw_context->res_ht, &node->hash.head, node->hash.key); in vmw_validation_add_resource()
647 if (!ctx->sw_context) in vmw_validation_drop_ht()
659 ctx->sw_context = NULL; in vmw_validation_drop_ht()
H A Dvmwgfx_validation.h61 struct vmw_sw_context *sw_context; member
93 { .sw_context = _sw_context, \
H A Dvmwgfx_drv.c836 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_init() local
838 hash_init(sw_context->res_ht); in vmw_sw_context_init()
843 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_fini() local
845 vfree(sw_context->cmd_bounce); in vmw_sw_context_fini()
846 if (sw_context->staged_bindings) in vmw_sw_context_fini()
847 vmw_binding_state_free(sw_context->staged_bindings); in vmw_sw_context_fini()
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_dbdma.h106 u32 sw_context; member
/openbmc/linux/arch/mips/alchemy/common/
H A Ddbdma.c572 dp->sw_context = 0; in au1xxx_dbdma_ring_alloc()