Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c42 struct vmw_bo *dx_query_mob; member
604 if (uctx->dx_query_mob && uctx->dx_query_mob->dx_query_ctx && in vmw_dx_context_unbind()
606 WARN_ON(uctx->dx_query_mob->dx_query_ctx != res); in vmw_dx_context_unbind()
607 if (vmw_query_readback_all(uctx->dx_query_mob)) in vmw_dx_context_unbind()
866 if (uctx->dx_query_mob) { in vmw_context_bind_dx_query()
867 uctx->dx_query_mob->dx_query_ctx = NULL; in vmw_context_bind_dx_query()
868 vmw_bo_unreference(&uctx->dx_query_mob); in vmw_context_bind_dx_query()
869 uctx->dx_query_mob = NULL; in vmw_context_bind_dx_query()
876 if (uctx->dx_query_mob && uctx->dx_query_mob != mob) in vmw_context_bind_dx_query()
881 if (!uctx->dx_query_mob) in vmw_context_bind_dx_query()
[all …]
Dvmwgfx_resource.c784 int vmw_query_readback_all(struct vmw_bo *dx_query_mob) in vmw_query_readback_all() argument
795 if (!dx_query_mob || !dx_query_mob->dx_query_ctx) in vmw_query_readback_all()
798 dx_query_ctx = dx_query_mob->dx_query_ctx; in vmw_query_readback_all()
812 dx_query_mob->dx_query_ctx = NULL; in vmw_query_readback_all()
833 struct vmw_bo *dx_query_mob; in vmw_query_move_notify() local
845 dx_query_mob = to_vmw_bo(&bo->base); in vmw_query_move_notify()
846 if (!dx_query_mob || !dx_query_mob->dx_query_ctx) { in vmw_query_move_notify()
851 (void) vmw_query_readback_all(dx_query_mob); in vmw_query_move_notify()
Dvmwgfx_execbuf.c199 if (sw_context->dx_query_mob) in vmw_bind_dx_query_mob()
201 sw_context->dx_query_mob); in vmw_bind_dx_query_mob()
478 struct vmw_bo *dx_query_mob; in vmw_resource_context_res_add() local
480 dx_query_mob = vmw_context_get_dx_query_mob(ctx); in vmw_resource_context_res_add()
481 if (dx_query_mob) { in vmw_resource_context_res_add()
482 vmw_bo_placement_set(dx_query_mob, in vmw_resource_context_res_add()
486 dx_query_mob); in vmw_resource_context_res_add()
602 if (sw_context->dx_query_mob) { in vmw_resources_reserve()
608 expected_dx_query_mob != sw_context->dx_query_mob) { in vmw_resources_reserve()
710 struct vmw_bo *dx_query_mob; in vmw_rebind_all_dx_query() local
[all …]
Dvmwgfx_drv.h439 struct vmw_bo *dx_query_mob; member
832 int vmw_query_readback_all(struct vmw_bo *dx_query_mob);