Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/
Dnouveau_display.c460 nouveau_page_flip_reserve(struct nouveau_bo *old_bo, in nouveau_page_flip_reserve() argument
473 if (likely(old_bo != new_bo)) { in nouveau_page_flip_reserve()
474 ret = ttm_bo_reserve(&old_bo->bo, false, false, false, 0); in nouveau_page_flip_reserve()
489 nouveau_page_flip_unreserve(struct nouveau_bo *old_bo, in nouveau_page_flip_unreserve() argument
496 if (likely(old_bo != new_bo)) { in nouveau_page_flip_unreserve()
497 nouveau_bo_fence(old_bo, fence); in nouveau_page_flip_unreserve()
498 ttm_bo_unreserve(&old_bo->bo); in nouveau_page_flip_unreserve()
501 nouveau_bo_unpin(old_bo); in nouveau_page_flip_unreserve()
506 struct nouveau_bo *old_bo, in nouveau_page_flip_emit() argument
523 ret = nouveau_fence_sync(old_bo->bo.sync_obj, chan); in nouveau_page_flip_emit()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_display.c542 struct qxl_bo *bo, *old_bo = NULL; in qxl_crtc_mode_set() local
554 old_bo = gem_to_qxl_bo(qfb->obj); in qxl_crtc_mode_set()
595 if (old_bo && old_bo != bo) { in qxl_crtc_mode_set()
596 old_bo->is_primary = false; in qxl_crtc_mode_set()
597 ret = qxl_bo_reserve(old_bo, false); in qxl_crtc_mode_set()
598 qxl_bo_unpin(old_bo); in qxl_crtc_mode_set()
599 qxl_bo_unreserve(old_bo); in qxl_crtc_mode_set()