Searched refs:sw_context (Results 1 – 4 of 4) sorted by relevance
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_execbuf.c | 182 if (sw_context->dx_query_mob) in vmw_bind_dx_query_mob() 1291 sw_context->dx_query_ctx = sw_context->dx_ctx_node->ctx; in vmw_cmd_dx_bind_query() 2011 (sw_context, res, in vmw_cmd_set_shader() 3785 sw_context->cmd_bounce = vmalloc(sw_context->cmd_bounce_size); in vmw_resize_cmd_bounce() 3958 u32 id = ((sw_context->dx_ctx_node) ? sw_context->dx_ctx_node->ctx->id : in vmw_execbuf_submit_cmdbuf() 4063 sw_context->dx_ctx_node = vmw_execbuf_info_from_res(sw_context, res); in vmw_execbuf_tie_context() 4113 sw_context->kernel = false; in vmw_execbuf_process() 4129 sw_context->kernel = true; in vmw_execbuf_process() 4141 memset(sw_context->res_cache, 0, sizeof(sw_context->res_cache)); in vmw_execbuf_process() 4149 sw_context->ctx = &val_ctx; in vmw_execbuf_process() [all …]
|
| A D | vmwgfx_validation.c | 165 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() 629 if (!ctx->sw_context) in vmw_validation_drop_ht() 641 ctx->sw_context = NULL; in vmw_validation_drop_ht()
|
| A D | vmwgfx_validation.h | 57 struct vmw_sw_context *sw_context; member 86 { .sw_context = _sw_context, \
|
| A D | vmwgfx_drv.c | 819 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()
|
Completed in 35 milliseconds