Lines Matching refs:user_bo

570 					struct qxl_bo *user_bo,  in qxl_create_cursor()  argument
580 if (!user_bo) in qxl_create_cursor()
593 ret = qxl_bo_vmap(user_bo, &user_map); in qxl_create_cursor()
619 qxl_bo_vunmap(user_bo); in qxl_create_cursor()
798 static void qxl_prepare_shadow(struct qxl_device *qdev, struct qxl_bo *user_bo, in qxl_prepare_shadow() argument
804 user_bo); in qxl_prepare_shadow()
819 if (user_bo->shadow != qdev->dumb_shadow_bo) { in qxl_prepare_shadow()
820 if (user_bo->shadow) { in qxl_prepare_shadow()
821 qxl_bo_unpin(user_bo->shadow); in qxl_prepare_shadow()
823 (&user_bo->shadow->tbo.base); in qxl_prepare_shadow()
824 user_bo->shadow = NULL; in qxl_prepare_shadow()
827 user_bo->shadow = qdev->dumb_shadow_bo; in qxl_prepare_shadow()
828 qxl_bo_pin(user_bo->shadow); in qxl_prepare_shadow()
837 struct qxl_bo *user_bo; in qxl_plane_prepare_fb() local
844 user_bo = gem_to_qxl_bo(obj); in qxl_plane_prepare_fb()
847 user_bo->is_dumb) { in qxl_plane_prepare_fb()
848 qxl_prepare_shadow(qdev, user_bo, new_state->crtc->index); in qxl_plane_prepare_fb()
856 qcrtc->cursor_bo = qxl_create_cursor(qdev, user_bo, in qxl_plane_prepare_fb()
862 ret = qxl_bo_pin(user_bo); in qxl_plane_prepare_fb()
873 struct qxl_bo *user_bo; in qxl_plane_cleanup_fb() local
884 user_bo = gem_to_qxl_bo(obj); in qxl_plane_cleanup_fb()
885 qxl_bo_unpin(user_bo); in qxl_plane_cleanup_fb()
887 if (old_state->fb != plane->state->fb && user_bo->shadow) { in qxl_plane_cleanup_fb()
888 qxl_bo_unpin(user_bo->shadow); in qxl_plane_cleanup_fb()
889 drm_gem_object_put(&user_bo->shadow->tbo.base); in qxl_plane_cleanup_fb()
890 user_bo->shadow = NULL; in qxl_plane_cleanup_fb()