Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vmwgfx/
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 …]
Dvmwgfx_validation.c183 if (ctx->sw_context) { in vmw_validation_find_bo_dup()
187 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_bo_dup()
225 if (ctx->sw_context) { in vmw_validation_find_res_dup()
229 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, head, key) { in vmw_validation_find_res_dup()
287 if (ctx->sw_context) { in vmw_validation_add_bo()
289 hash_add_rcu(ctx->sw_context->res_ht, &bo_node->hash.head, in vmw_validation_add_bo()
337 if (ctx->sw_context) { in vmw_validation_add_resource()
339 hash_add_rcu(ctx->sw_context->res_ht, &node->hash.head, node->hash.key); in vmw_validation_add_resource()
683 if (!ctx->sw_context) in vmw_validation_drop_ht()
695 ctx->sw_context = NULL; in vmw_validation_drop_ht()
Dvmwgfx_validation.h61 struct vmw_sw_context *sw_context; member
93 { .sw_context = _sw_context, \
Dvmwgfx_drv.c835 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_init() local
837 hash_init(sw_context->res_ht); in vmw_sw_context_init()
842 struct vmw_sw_context *sw_context = &dev_priv->ctx; in vmw_sw_context_fini() local
844 vfree(sw_context->cmd_bounce); in vmw_sw_context_fini()
845 if (sw_context->staged_bindings) in vmw_sw_context_fini()
846 vmw_binding_state_free(sw_context->staged_bindings); in vmw_sw_context_fini()
/linux-6.1.9/arch/mips/include/asm/mach-au1x00/
Dau1xxx_dbdma.h106 u32 sw_context; member
/linux-6.1.9/arch/mips/alchemy/common/
Ddbdma.c571 dp->sw_context = 0; in au1xxx_dbdma_ring_alloc()