Searched refs:old_bo (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 666 struct nouveau_bo *old_bo, in nouveau_page_flip_emit() argument 683 ret = nouveau_fence_sync(old_bo, chan, false, false); in nouveau_page_flip_emit() 718 struct nouveau_bo *old_bo = nouveau_framebuffer(crtc->primary->fb)->nvbo; in nouveau_crtc_page_flip() local 735 if (new_bo != old_bo) { in nouveau_crtc_page_flip() 753 if (new_bo != old_bo) { in nouveau_crtc_page_flip() 756 ret = ttm_bo_reserve(&old_bo->bo, true, false, false, NULL); in nouveau_crtc_page_flip() 797 ret = nouveau_page_flip_emit(chan, old_bo, new_bo, s, &fence); in nouveau_crtc_page_flip() 805 nouveau_bo_fence(old_bo, fence, false); in nouveau_crtc_page_flip() 806 ttm_bo_unreserve(&old_bo->bo); in nouveau_crtc_page_flip() 807 if (old_bo != new_bo) in nouveau_crtc_page_flip() [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 392 struct ttm_buffer_object *bo, *old_bo = &res->backup->base; in vmw_cotable_resize() local 426 ret = ttm_bo_wait(old_bo, false, false, false); in vmw_cotable_resize() 436 for (i = 0; i < old_bo->num_pages; ++i) { in vmw_cotable_resize() 439 ret = ttm_bo_kmap(old_bo, i, 1, &old_map); in vmw_cotable_resize()
|
/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 612 struct qxl_bo *bo, *old_bo = NULL; in qxl_crtc_mode_set() local 624 old_bo = gem_to_qxl_bo(qfb->obj); in qxl_crtc_mode_set() 668 if (old_bo && old_bo != bo) { in qxl_crtc_mode_set() 669 old_bo->is_primary = false; in qxl_crtc_mode_set() 670 ret = qxl_bo_reserve(old_bo, false); in qxl_crtc_mode_set() 671 qxl_bo_unpin(old_bo); in qxl_crtc_mode_set() 672 qxl_bo_unreserve(old_bo); in qxl_crtc_mode_set()
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_crtc.c | 433 struct drm_gem_object *cursor_bo, *old_bo; in mdp4_crtc_cursor_set() local 460 old_bo = mdp4_crtc->cursor.next_bo; in mdp4_crtc_cursor_set() 468 if (old_bo) { in mdp4_crtc_cursor_set() 470 drm_flip_work_queue(&mdp4_crtc->unref_cursor_work, old_bo); in mdp4_crtc_cursor_set()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_crtc.c | 511 struct drm_gem_object *cursor_bo, *old_bo = NULL; in mdp5_crtc_cursor_set() local 548 old_bo = mdp5_crtc->cursor.scanout_bo; in mdp5_crtc_cursor_set() 584 if (old_bo) { in mdp5_crtc_cursor_set() 585 drm_flip_work_queue(&mdp5_crtc->unref_cursor_work, old_bo); in mdp5_crtc_cursor_set()
|