Home
last modified time | relevance | path

Searched refs:cursor_bo (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/qxl/
H A Dqxl_display.c392 qxl_bo_unref(&qxl_crtc->cursor_bo); in qxl_crtc_destroy()
496 if (!qcrtc->cursor_bo) in qxl_primary_apply_cursor()
505 ret = qxl_release_list_add(release, qcrtc->cursor_bo); in qxl_primary_apply_cursor()
518 cmd->u.set.shape = qxl_bo_physical_address(qdev, qcrtc->cursor_bo, 0); in qxl_primary_apply_cursor()
541 if (!qcrtc->cursor_bo) in qxl_primary_move_cursor()
572 struct qxl_bo *cursor_bo; in qxl_create_cursor() local
583 NULL, &cursor_bo); in qxl_create_cursor()
587 ret = qxl_bo_pin_and_vmap(cursor_bo, &cursor_map); in qxl_create_cursor()
618 qxl_bo_vunmap_and_unpin(cursor_bo); in qxl_create_cursor()
619 return cursor_bo; in qxl_create_cursor()
[all …]
H A Dqxl_drv.h111 struct qxl_bo *cursor_bo; member
/linux/drivers/gpu/drm/radeon/
H A Dradeon_cursor.c250 if (radeon_crtc->cursor_bo) in radeon_cursor_move_locked()
350 if (radeon_crtc->cursor_bo) { in radeon_crtc_cursor_set2()
351 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_crtc_cursor_set2()
357 drm_gem_object_put(radeon_crtc->cursor_bo); in radeon_crtc_cursor_set2()
360 radeon_crtc->cursor_bo = obj; in radeon_crtc_cursor_set2()
376 if (radeon_crtc->cursor_bo) { in radeon_cursor_reset()
H A Dradeon_device.c1578 if (radeon_crtc->cursor_bo) { in radeon_suspend_kms()
1579 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_suspend_kms()
1701 if (radeon_crtc->cursor_bo) { in radeon_resume_kms()
1702 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_resume_kms()
H A Dradeon_mode.h325 struct drm_gem_object *cursor_bo; member
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_crtc.c411 struct drm_gem_object *cursor_bo, *old_bo; in mdp4_crtc_cursor_set() local
422 cursor_bo = drm_gem_object_lookup(file_priv, handle); in mdp4_crtc_cursor_set()
423 if (!cursor_bo) in mdp4_crtc_cursor_set()
426 cursor_bo = NULL; in mdp4_crtc_cursor_set()
429 if (cursor_bo) { in mdp4_crtc_cursor_set()
430 ret = msm_gem_get_and_pin_iova(cursor_bo, kms->aspace, &iova); in mdp4_crtc_cursor_set()
439 mdp4_crtc->cursor.next_bo = cursor_bo; in mdp4_crtc_cursor_set()
456 drm_gem_object_put(cursor_bo); in mdp4_crtc_cursor_set()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c958 struct drm_gem_object *cursor_bo, *old_bo = NULL; in mdp5_crtc_cursor_set() local
992 cursor_bo = drm_gem_object_lookup(file, handle); in mdp5_crtc_cursor_set()
993 if (!cursor_bo) in mdp5_crtc_cursor_set()
996 ret = msm_gem_get_and_pin_iova(cursor_bo, kms->aspace, in mdp5_crtc_cursor_set()
999 drm_gem_object_put(cursor_bo); in mdp5_crtc_cursor_set()
1008 mdp5_crtc->cursor.scanout_bo = cursor_bo; in mdp5_crtc_cursor_set()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c1721 if (amdgpu_crtc->cursor_bo && !adev->enable_virtual_display) { in amdgpu_display_suspend_helper()
1722 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_suspend_helper()
1758 if (amdgpu_crtc->cursor_bo && !adev->enable_virtual_display) { in amdgpu_display_resume_helper()
1759 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_resume_helper()
H A Damdgpu_mode.h464 struct drm_gem_object *cursor_bo; member
H A Ddce_v6_0.c2358 if (amdgpu_crtc->cursor_bo) { in dce_v6_0_crtc_cursor_set2()
2359 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2()
2365 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2()
2368 amdgpu_crtc->cursor_bo = obj; in dce_v6_0_crtc_cursor_set2()
2376 if (amdgpu_crtc->cursor_bo) { in dce_v6_0_cursor_reset()
H A Ddce_v8_0.c2357 if (amdgpu_crtc->cursor_bo) { in dce_v8_0_crtc_cursor_set2()
2358 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2()
2364 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2()
2367 amdgpu_crtc->cursor_bo = obj; in dce_v8_0_crtc_cursor_set2()
2375 if (amdgpu_crtc->cursor_bo) { in dce_v8_0_cursor_reset()
H A Ddce_v10_0.c2438 if (amdgpu_crtc->cursor_bo) { in dce_v10_0_crtc_cursor_set2()
2439 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2()
2445 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2()
2448 amdgpu_crtc->cursor_bo = obj; in dce_v10_0_crtc_cursor_set2()
2456 if (amdgpu_crtc->cursor_bo) { in dce_v10_0_cursor_reset()
H A Ddce_v11_0.c2522 if (amdgpu_crtc->cursor_bo) { in dce_v11_0_crtc_cursor_set2()
2523 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v11_0_crtc_cursor_set2()
2529 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v11_0_crtc_cursor_set2()
2532 amdgpu_crtc->cursor_bo = obj; in dce_v11_0_crtc_cursor_set2()
2540 if (amdgpu_crtc->cursor_bo) { in dce_v11_0_cursor_reset()