Home
last modified time | relevance | path

Searched refs:new_bo (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c1111 struct nouveau_bo *new_bo, in nv04_page_flip_emit() argument
1162 struct nouveau_bo *new_bo = nouveau_gem_object(fb->obj[0]); in nv04_crtc_page_flip() local
1182 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1183 ret = nouveau_bo_pin(new_bo, NOUVEAU_GEM_DOMAIN_VRAM, true); in nv04_crtc_page_flip()
1189 ret = ttm_bo_reserve(&new_bo->bo, true, false, NULL); in nv04_crtc_page_flip()
1194 ret = nouveau_fence_sync(new_bo, chan, false, true); in nv04_crtc_page_flip()
1196 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1200 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1201 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1211 new_bo->offset }; in nv04_crtc_page_flip()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c752 struct vmw_bo *new_bo = NULL; in vmw_du_cursor_plane_atomic_update() local
780 new_bo = vmw_user_object_buffer(&vps->uo); in vmw_du_cursor_plane_atomic_update()
781 if (old_bo != new_bo) { in vmw_du_cursor_plane_atomic_update()
782 ret = ttm_bo_reserve(&new_bo->tbo, false, false, NULL); in vmw_du_cursor_plane_atomic_update()
786 new_bo = NULL; in vmw_du_cursor_plane_atomic_update()
808 if (new_bo) in vmw_du_cursor_plane_atomic_update()
809 ttm_bo_unreserve(&new_bo->tbo); in vmw_du_cursor_plane_atomic_update()