Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c130 struct vmw_sw_context *sw_context,
133 struct vmw_sw_context *sw_context,
156 static void vmw_execbuf_bindings_commit(struct vmw_sw_context *sw_context, in vmw_execbuf_bindings_commit() argument
161 list_for_each_entry(entry, &sw_context->ctx_list, head) { in vmw_execbuf_bindings_commit()
165 if (entry->staged != sw_context->staged_bindings) in vmw_execbuf_bindings_commit()
168 sw_context->staged_bindings_inuse = false; in vmw_execbuf_bindings_commit()
172 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_bindings_commit()
180 static void vmw_bind_dx_query_mob(struct vmw_sw_context *sw_context) in vmw_bind_dx_query_mob() argument
182 if (sw_context->dx_query_mob) in vmw_bind_dx_query_mob()
183 vmw_context_bind_dx_query(sw_context->dx_query_ctx, in vmw_bind_dx_query_mob()
[all …]
H A Dvmwgfx_validation.c165 if (ctx->sw_context) { in vmw_validation_find_bo_dup()
169 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_bo_dup()
207 if (ctx->sw_context) { in vmw_validation_find_res_dup()
211 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_res_dup()
259 if (ctx->sw_context) { in vmw_validation_add_bo()
261 hash_add_rcu(ctx->sw_context->res_ht, &bo_node->hash.head, in vmw_validation_add_bo()
306 if (ctx->sw_context) { in vmw_validation_add_resource()
308 hash_add_rcu(ctx->sw_context->res_ht, &node->hash.head, node->hash.key); in vmw_validation_add_resource()
631 if (!ctx->sw_context) in vmw_validation_drop_ht()
643 ctx->sw_context = NULL; in vmw_validation_drop_ht()
H A Dvmwgfx_validation.h57 struct vmw_sw_context *sw_context; member
86 { .sw_context = _sw_context, \
H A Dvmwgfx_drv.c819 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_init() local
821 hash_init(sw_context->res_ht); in vmw_sw_context_init()
826 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_fini() local
828 vfree(sw_context->cmd_bounce); in vmw_sw_context_fini()
829 if (sw_context->staged_bindings) in vmw_sw_context_fini()
830 vmw_binding_state_free(sw_context->staged_bindings); in vmw_sw_context_fini()
/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1xxx_dbdma.h106 u32 sw_context; member
/linux/arch/mips/alchemy/common/
H A Ddbdma.c572 dp->sw_context = 0; in au1xxx_dbdma_ring_alloc()