Searched refs:dx_query_mob (Results 1 – 4 of 4) sorted by relevance
41 struct vmw_buffer_object *dx_query_mob; member602 if (uctx->dx_query_mob && uctx->dx_query_mob->dx_query_ctx && in vmw_dx_context_unbind()604 WARN_ON(uctx->dx_query_mob->dx_query_ctx != res); in vmw_dx_context_unbind()605 if (vmw_query_readback_all(uctx->dx_query_mob)) in vmw_dx_context_unbind()893 if (uctx->dx_query_mob) { in vmw_context_bind_dx_query()894 uctx->dx_query_mob->dx_query_ctx = NULL; in vmw_context_bind_dx_query()895 vmw_bo_unreference(&uctx->dx_query_mob); in vmw_context_bind_dx_query()896 uctx->dx_query_mob = NULL; in vmw_context_bind_dx_query()903 if (uctx->dx_query_mob && uctx->dx_query_mob != mob) in vmw_context_bind_dx_query()908 if (!uctx->dx_query_mob) in vmw_context_bind_dx_query()[all …]
813 int vmw_query_readback_all(struct vmw_buffer_object *dx_query_mob) in vmw_query_readback_all() argument824 if (!dx_query_mob || !dx_query_mob->dx_query_ctx) in vmw_query_readback_all()827 dx_query_ctx = dx_query_mob->dx_query_ctx; in vmw_query_readback_all()841 dx_query_mob->dx_query_ctx = NULL; in vmw_query_readback_all()860 struct vmw_buffer_object *dx_query_mob; in vmw_query_move_notify() local869 dx_query_mob = container_of(bo, struct vmw_buffer_object, base); in vmw_query_move_notify()870 if (mem == NULL || !dx_query_mob || !dx_query_mob->dx_query_ctx) { in vmw_query_move_notify()879 (void) vmw_query_readback_all(dx_query_mob); in vmw_query_move_notify()
195 if (sw_context->dx_query_mob) in vmw_bind_dx_query_mob()197 sw_context->dx_query_mob); in vmw_bind_dx_query_mob()497 struct vmw_buffer_object *dx_query_mob; in vmw_resource_context_res_add() local499 dx_query_mob = vmw_context_get_dx_query_mob(ctx); in vmw_resource_context_res_add()500 if (dx_query_mob) in vmw_resource_context_res_add()502 dx_query_mob, true, false); in vmw_resource_context_res_add()617 if (sw_context->dx_query_mob) { in vmw_resources_reserve()623 expected_dx_query_mob != sw_context->dx_query_mob) { in vmw_resources_reserve()719 struct vmw_buffer_object *dx_query_mob; in vmw_rebind_all_dx_query() local722 dx_query_mob = vmw_context_get_dx_query_mob(ctx_res); in vmw_rebind_all_dx_query()[all …]
435 struct vmw_buffer_object *dx_query_mob; member795 extern int vmw_query_readback_all(struct vmw_buffer_object *dx_query_mob);