Lines Matching refs:rbo
308 struct amdgpu_bo *rbo;
318 rbo = gem_to_amdgpu_bo(obj);
319 adev = amdgpu_ttm_adev(rbo->tbo.bdev);
321 r = amdgpu_bo_reserve(rbo, true);
327 r = dma_resv_reserve_fences(rbo->tbo.base.resv, 1);
334 domain = amdgpu_display_supported_domains(adev, rbo->flags);
338 r = amdgpu_bo_pin(rbo, domain);
345 r = amdgpu_ttm_alloc_gart(&rbo->tbo);
347 DRM_ERROR("%p bind failed\n", rbo);
351 amdgpu_bo_unreserve(rbo);
353 afb->address = amdgpu_bo_gpu_offset(rbo);
355 amdgpu_bo_ref(rbo);
360 amdgpu_bo_unpin(rbo);
363 amdgpu_bo_unreserve(rbo);
370 struct amdgpu_bo *rbo;
376 rbo = gem_to_amdgpu_bo(old_state->fb->obj[0]);
377 r = amdgpu_bo_reserve(rbo, false);
379 DRM_ERROR("failed to reserve rbo before unpin\n");
383 amdgpu_bo_unpin(rbo);
384 amdgpu_bo_unreserve(rbo);
385 amdgpu_bo_unref(&rbo);