Lines Matching refs:vmw_bo
1150 struct vmw_buffer_object *vmw_bo; in vmw_translate_mob_ptr() local
1156 ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo); in vmw_translate_mob_ptr()
1159 return PTR_ERR(vmw_bo); in vmw_translate_mob_ptr()
1161 ret = vmw_validation_add_bo(sw_context->ctx, vmw_bo, true, false); in vmw_translate_mob_ptr()
1162 ttm_bo_put(&vmw_bo->base); in vmw_translate_mob_ptr()
1171 reloc->vbo = vmw_bo; in vmw_translate_mob_ptr()
1173 *vmw_bo_p = vmw_bo; in vmw_translate_mob_ptr()
1204 struct vmw_buffer_object *vmw_bo; in vmw_translate_guest_ptr() local
1210 ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo); in vmw_translate_guest_ptr()
1213 return PTR_ERR(vmw_bo); in vmw_translate_guest_ptr()
1215 ret = vmw_validation_add_bo(sw_context->ctx, vmw_bo, false, false); in vmw_translate_guest_ptr()
1216 ttm_bo_put(&vmw_bo->base); in vmw_translate_guest_ptr()
1225 reloc->vbo = vmw_bo; in vmw_translate_guest_ptr()
1226 *vmw_bo_p = vmw_bo; in vmw_translate_guest_ptr()
1281 struct vmw_buffer_object *vmw_bo; in vmw_cmd_dx_bind_query() local
1291 &vmw_bo); in vmw_cmd_dx_bind_query()
1296 sw_context->dx_query_mob = vmw_bo; in vmw_cmd_dx_bind_query()
1364 struct vmw_buffer_object *vmw_bo; in vmw_cmd_end_gb_query() local
1374 &vmw_bo); in vmw_cmd_end_gb_query()
1378 ret = vmw_query_bo_switch_prepare(dev_priv, vmw_bo, sw_context); in vmw_cmd_end_gb_query()
1394 struct vmw_buffer_object *vmw_bo; in vmw_cmd_end_query() local
1420 &cmd->body.guestResult, &vmw_bo); in vmw_cmd_end_query()
1424 ret = vmw_query_bo_switch_prepare(dev_priv, vmw_bo, sw_context); in vmw_cmd_end_query()
1440 struct vmw_buffer_object *vmw_bo; in vmw_cmd_wait_gb_query() local
1450 &vmw_bo); in vmw_cmd_wait_gb_query()
1468 struct vmw_buffer_object *vmw_bo; in vmw_cmd_wait_query() local
1494 &cmd->body.guestResult, &vmw_bo); in vmw_cmd_wait_query()
1505 struct vmw_buffer_object *vmw_bo = NULL; in vmw_cmd_dma() local
1524 &cmd->body.guest.ptr, &vmw_bo); in vmw_cmd_dma()
1529 bo_size = vmw_bo->base.base.size; in vmw_cmd_dma()
1552 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, header); in vmw_cmd_dma()
1671 struct vmw_buffer_object *vmw_bo; in vmw_cmd_check_define_gmrfb() local
1679 &vmw_bo); in vmw_cmd_check_define_gmrfb()