Lines Matching refs:new_bo
1097 struct nouveau_bo *new_bo, in nv04_page_flip_emit() argument
1147 struct nouveau_bo *new_bo = nouveau_framebuffer(fb)->nvbo; in nv04_crtc_page_flip() local
1165 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1166 ret = nouveau_bo_pin(new_bo, TTM_PL_FLAG_VRAM, true); in nv04_crtc_page_flip()
1172 ret = ttm_bo_reserve(&new_bo->bo, true, false, NULL); in nv04_crtc_page_flip()
1177 ret = nouveau_fence_sync(new_bo, chan, false, true); in nv04_crtc_page_flip()
1179 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1183 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1184 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1194 new_bo->bo.offset }; in nv04_crtc_page_flip()
1215 nouveau_bo_ref(new_bo, &dispnv04->image[head]); in nv04_crtc_page_flip()
1217 ret = nv04_page_flip_emit(chan, old_bo, new_bo, s, &fence); in nv04_crtc_page_flip()
1227 if (old_bo != new_bo) in nv04_crtc_page_flip()
1237 if (old_bo != new_bo) in nv04_crtc_page_flip()
1238 nouveau_bo_unpin(new_bo); in nv04_crtc_page_flip()