Lines Matching refs:cursor_bo
386 qxl_bo_unref(&qxl_crtc->cursor_bo); in qxl_crtc_destroy()
491 if (!qcrtc->cursor_bo) in qxl_primary_apply_cursor()
500 ret = qxl_release_list_add(release, qcrtc->cursor_bo); in qxl_primary_apply_cursor()
513 cmd->u.set.shape = qxl_bo_physical_address(qdev, qcrtc->cursor_bo, 0); in qxl_primary_apply_cursor()
537 if (!qcrtc->cursor_bo) in qxl_primary_move_cursor()
568 struct qxl_bo *cursor_bo; in qxl_create_cursor() local
579 NULL, &cursor_bo); in qxl_create_cursor()
583 ret = qxl_bo_vmap(cursor_bo, &cursor_map); in qxl_create_cursor()
614 qxl_bo_vunmap(cursor_bo); in qxl_create_cursor()
615 return cursor_bo; in qxl_create_cursor()
618 qxl_bo_vunmap(cursor_bo); in qxl_create_cursor()
620 qxl_bo_unpin(cursor_bo); in qxl_create_cursor()
621 qxl_bo_unref(&cursor_bo); in qxl_create_cursor()
626 static void qxl_free_cursor(struct qxl_bo *cursor_bo) in qxl_free_cursor() argument
628 if (!cursor_bo) in qxl_free_cursor()
631 qxl_bo_unpin(cursor_bo); in qxl_free_cursor()
632 qxl_bo_unref(&cursor_bo); in qxl_free_cursor()
733 qxl_free_cursor(qcrtc->cursor_bo); in qxl_cursor_atomic_disable()
734 qcrtc->cursor_bo = NULL; in qxl_cursor_atomic_disable()
847 struct qxl_bo *old_cursor_bo = qcrtc->cursor_bo; in qxl_plane_prepare_fb()
849 qcrtc->cursor_bo = qxl_create_cursor(qdev, user_bo, in qxl_plane_prepare_fb()