Lines Matching refs:new_abo
201 struct amdgpu_bo *new_abo; in amdgpu_display_crtc_page_flip_target() local
226 new_abo = gem_to_amdgpu_bo(obj); in amdgpu_display_crtc_page_flip_target()
229 r = amdgpu_bo_reserve(new_abo, false); in amdgpu_display_crtc_page_flip_target()
236 r = amdgpu_bo_pin(new_abo, in amdgpu_display_crtc_page_flip_target()
237 amdgpu_display_supported_domains(adev, new_abo->flags)); in amdgpu_display_crtc_page_flip_target()
244 r = amdgpu_ttm_alloc_gart(&new_abo->tbo); in amdgpu_display_crtc_page_flip_target()
246 DRM_ERROR("%p bind failed\n", new_abo); in amdgpu_display_crtc_page_flip_target()
250 r = dma_resv_get_fences(new_abo->tbo.base.resv, DMA_RESV_USAGE_WRITE, in amdgpu_display_crtc_page_flip_target()
258 amdgpu_bo_get_tiling_flags(new_abo, &tiling_flags); in amdgpu_display_crtc_page_flip_target()
259 amdgpu_bo_unreserve(new_abo); in amdgpu_display_crtc_page_flip_target()
262 work->base = amdgpu_bo_gpu_offset(new_abo); in amdgpu_display_crtc_page_flip_target()
288 if (unlikely(amdgpu_bo_reserve(new_abo, false) != 0)) { in amdgpu_display_crtc_page_flip_target()
294 amdgpu_bo_unpin(new_abo); in amdgpu_display_crtc_page_flip_target()
297 amdgpu_bo_unreserve(new_abo); in amdgpu_display_crtc_page_flip_target()