Home
last modified time | relevance | path

Searched refs:dx_query_mob (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c41 struct vmw_buffer_object *dx_query_mob; member
611 if (uctx->dx_query_mob && uctx->dx_query_mob->dx_query_ctx && in vmw_dx_context_unbind()
613 WARN_ON(uctx->dx_query_mob->dx_query_ctx != res); in vmw_dx_context_unbind()
614 if (vmw_query_readback_all(uctx->dx_query_mob)) in vmw_dx_context_unbind()
909 if (uctx->dx_query_mob) { in vmw_context_bind_dx_query()
910 uctx->dx_query_mob->dx_query_ctx = NULL; in vmw_context_bind_dx_query()
911 vmw_bo_unreference(&uctx->dx_query_mob); in vmw_context_bind_dx_query()
912 uctx->dx_query_mob = NULL; in vmw_context_bind_dx_query()
919 if (uctx->dx_query_mob && uctx->dx_query_mob != mob) in vmw_context_bind_dx_query()
924 if (!uctx->dx_query_mob) in vmw_context_bind_dx_query()
[all …]
Dvmwgfx_resource.c708 int vmw_query_readback_all(struct vmw_buffer_object *dx_query_mob) in vmw_query_readback_all() argument
719 if (!dx_query_mob || !dx_query_mob->dx_query_ctx) in vmw_query_readback_all()
722 dx_query_ctx = dx_query_mob->dx_query_ctx; in vmw_query_readback_all()
739 dx_query_mob->dx_query_ctx = NULL; in vmw_query_readback_all()
758 struct vmw_buffer_object *dx_query_mob; in vmw_query_move_notify() local
767 dx_query_mob = container_of(bo, struct vmw_buffer_object, base); in vmw_query_move_notify()
768 if (mem == NULL || !dx_query_mob || !dx_query_mob->dx_query_ctx) { in vmw_query_move_notify()
777 (void) vmw_query_readback_all(dx_query_mob); in vmw_query_move_notify()
Dvmwgfx_execbuf.c160 if (sw_context->dx_query_mob && !backoff) in vmw_resources_unreserve()
162 sw_context->dx_query_mob); in vmw_resources_unreserve()
426 struct vmw_buffer_object *dx_query_mob; in vmw_resource_context_res_add() local
428 dx_query_mob = vmw_context_get_dx_query_mob(ctx); in vmw_resource_context_res_add()
429 if (dx_query_mob) in vmw_resource_context_res_add()
431 dx_query_mob, in vmw_resource_context_res_add()
630 if (sw_context->dx_query_mob) { in vmw_resources_reserve()
636 expected_dx_query_mob != sw_context->dx_query_mob) { in vmw_resources_reserve()
824 struct vmw_buffer_object *dx_query_mob; in vmw_rebind_all_dx_query() local
831 dx_query_mob = vmw_context_get_dx_query_mob(ctx_res); in vmw_rebind_all_dx_query()
[all …]
Dvmwgfx_drv.h320 struct vmw_buffer_object *dx_query_mob; member
660 extern int vmw_query_readback_all(struct vmw_buffer_object *dx_query_mob);