Searched refs:cursor_bo (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_display.c | 392 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 D | qxl_drv.h | 111 struct qxl_bo *cursor_bo; member
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_cursor.c | 250 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 D | radeon_device.c | 1578 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 D | radeon_mode.h | 325 struct drm_gem_object *cursor_bo; member
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_crtc.c | 411 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 D | mdp5_crtc.c | 958 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 D | amdgpu_display.c | 1721 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 D | amdgpu_mode.h | 464 struct drm_gem_object *cursor_bo; member
|
H A D | dce_v6_0.c | 2358 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 D | dce_v8_0.c | 2357 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 D | dce_v10_0.c | 2438 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 D | dce_v11_0.c | 2522 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()
|