Lines Matching refs:cursor_bo
389 qxl_bo_unref(&qxl_crtc->cursor_bo); in qxl_crtc_destroy()
494 if (!qcrtc->cursor_bo) in qxl_primary_apply_cursor()
503 ret = qxl_release_list_add(release, qcrtc->cursor_bo); in qxl_primary_apply_cursor()
516 cmd->u.set.shape = qxl_bo_physical_address(qdev, qcrtc->cursor_bo, 0); in qxl_primary_apply_cursor()
540 if (!qcrtc->cursor_bo) in qxl_primary_move_cursor()
571 struct qxl_bo *cursor_bo; in qxl_create_cursor() local
582 NULL, &cursor_bo); in qxl_create_cursor()
586 ret = qxl_bo_vmap(cursor_bo, &cursor_map); in qxl_create_cursor()
617 qxl_bo_vunmap(cursor_bo); in qxl_create_cursor()
618 return cursor_bo; in qxl_create_cursor()
621 qxl_bo_vunmap(cursor_bo); in qxl_create_cursor()
623 qxl_bo_unpin(cursor_bo); in qxl_create_cursor()
624 qxl_bo_unref(&cursor_bo); in qxl_create_cursor()
629 static void qxl_free_cursor(struct qxl_bo *cursor_bo) in qxl_free_cursor() argument
631 if (!cursor_bo) in qxl_free_cursor()
634 qxl_bo_unpin(cursor_bo); in qxl_free_cursor()
635 qxl_bo_unref(&cursor_bo); in qxl_free_cursor()
736 qxl_free_cursor(qcrtc->cursor_bo); in qxl_cursor_atomic_disable()
737 qcrtc->cursor_bo = NULL; in qxl_cursor_atomic_disable()
851 struct qxl_bo *old_cursor_bo = qcrtc->cursor_bo; in qxl_plane_prepare_fb()
853 qcrtc->cursor_bo = qxl_create_cursor(qdev, user_bo, in qxl_plane_prepare_fb()