Lines Matching refs:user_bo

567 					struct qxl_bo *user_bo,  in qxl_create_cursor()  argument
577 if (!user_bo) in qxl_create_cursor()
590 ret = qxl_bo_vmap(user_bo, &user_map); in qxl_create_cursor()
616 qxl_bo_vunmap(user_bo); in qxl_create_cursor()
795 static void qxl_prepare_shadow(struct qxl_device *qdev, struct qxl_bo *user_bo, in qxl_prepare_shadow() argument
801 user_bo); in qxl_prepare_shadow()
816 if (user_bo->shadow != qdev->dumb_shadow_bo) { in qxl_prepare_shadow()
817 if (user_bo->shadow) { in qxl_prepare_shadow()
818 qxl_bo_unpin(user_bo->shadow); in qxl_prepare_shadow()
820 (&user_bo->shadow->tbo.base); in qxl_prepare_shadow()
821 user_bo->shadow = NULL; in qxl_prepare_shadow()
824 user_bo->shadow = qdev->dumb_shadow_bo; in qxl_prepare_shadow()
825 qxl_bo_pin(user_bo->shadow); in qxl_prepare_shadow()
834 struct qxl_bo *user_bo; in qxl_plane_prepare_fb() local
841 user_bo = gem_to_qxl_bo(obj); in qxl_plane_prepare_fb()
844 user_bo->is_dumb) { in qxl_plane_prepare_fb()
845 qxl_prepare_shadow(qdev, user_bo, new_state->crtc->index); in qxl_plane_prepare_fb()
853 qcrtc->cursor_bo = qxl_create_cursor(qdev, user_bo, in qxl_plane_prepare_fb()
859 ret = qxl_bo_pin(user_bo); in qxl_plane_prepare_fb()
870 struct qxl_bo *user_bo; in qxl_plane_cleanup_fb() local
881 user_bo = gem_to_qxl_bo(obj); in qxl_plane_cleanup_fb()
882 qxl_bo_unpin(user_bo); in qxl_plane_cleanup_fb()
884 if (old_state->fb != plane->state->fb && user_bo->shadow) { in qxl_plane_cleanup_fb()
885 qxl_bo_unpin(user_bo->shadow); in qxl_plane_cleanup_fb()
886 drm_gem_object_put(&user_bo->shadow->tbo.base); in qxl_plane_cleanup_fb()
887 user_bo->shadow = NULL; in qxl_plane_cleanup_fb()