Lines Matching refs:mob
871 * Sets query MOB for the context. If @mob is NULL, then this function will
872 * remove the association between the MOB and the context. This function
876 * @mob: a reference to the query MOB
878 * Returns -EINVAL if a MOB has already been set and does not match the one
882 struct vmw_buffer_object *mob)
887 if (mob == NULL) {
897 /* Can only have one MOB per context for queries */
898 if (uctx->dx_query_mob && uctx->dx_query_mob != mob)
901 mob->dx_query_ctx = ctx_res;
904 uctx->dx_query_mob = vmw_bo_reference(mob);
910 * vmw_context_get_dx_query_mob - Returns non-counted reference to DX query mob