Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_display.c385 qxl_bo_unref(&qxl_crtc->cursor_bo); in qxl_crtc_destroy()
489 if (!qcrtc->cursor_bo) in qxl_primary_apply_cursor()
498 ret = qxl_release_list_add(release, qcrtc->cursor_bo); in qxl_primary_apply_cursor()
511 cmd->u.set.shape = qxl_bo_physical_address(qdev, qcrtc->cursor_bo, 0); in qxl_primary_apply_cursor()
583 struct qxl_bo *cursor_bo = NULL, *user_bo = NULL, *old_cursor_bo = NULL; in qxl_cursor_atomic_update() local
605 &cursor_bo); in qxl_cursor_atomic_update()
609 ret = qxl_bo_pin(cursor_bo); in qxl_cursor_atomic_update()
617 ret = qxl_bo_kmap(cursor_bo, (void **)&cursor); in qxl_cursor_atomic_update()
632 qxl_bo_kunmap(cursor_bo); in qxl_cursor_atomic_update()
638 cursor_bo, 0); in qxl_cursor_atomic_update()
[all …]
Dqxl_drv.h113 struct qxl_bo *cursor_bo; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
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()
Dradeon_device.c1596 if (radeon_crtc->cursor_bo) { in radeon_suspend_kms()
1597 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_suspend_kms()
1720 if (radeon_crtc->cursor_bo) { in radeon_resume_kms()
1721 struct radeon_bo *robj = gem_to_radeon_bo(radeon_crtc->cursor_bo); in radeon_resume_kms()
Dradeon_mode.h334 struct drm_gem_object *cursor_bo; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c410 struct drm_gem_object *cursor_bo, *old_bo; in mdp4_crtc_cursor_set() local
421 cursor_bo = drm_gem_object_lookup(file_priv, handle); in mdp4_crtc_cursor_set()
422 if (!cursor_bo) in mdp4_crtc_cursor_set()
425 cursor_bo = NULL; in mdp4_crtc_cursor_set()
428 if (cursor_bo) { in mdp4_crtc_cursor_set()
429 ret = msm_gem_get_and_pin_iova(cursor_bo, kms->aspace, &iova); in mdp4_crtc_cursor_set()
438 mdp4_crtc->cursor.next_bo = cursor_bo; in mdp4_crtc_cursor_set()
455 drm_gem_object_put(cursor_bo); in mdp4_crtc_cursor_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_crtc.c946 struct drm_gem_object *cursor_bo, *old_bo = NULL; in mdp5_crtc_cursor_set() local
980 cursor_bo = drm_gem_object_lookup(file, handle); in mdp5_crtc_cursor_set()
981 if (!cursor_bo) in mdp5_crtc_cursor_set()
984 ret = msm_gem_get_and_pin_iova(cursor_bo, kms->aspace, in mdp5_crtc_cursor_set()
987 drm_gem_object_put(cursor_bo); in mdp5_crtc_cursor_set()
996 mdp5_crtc->cursor.scanout_bo = cursor_bo; in mdp5_crtc_cursor_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h344 struct vmw_buffer_object *cursor_bo; member
Dvmwgfx_kms.c397 du->cursor_bo = vps->bo; in vmw_du_cursor_plane_atomic_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h387 struct drm_gem_object *cursor_bo; member
Ddce_v6_0.c2338 if (amdgpu_crtc->cursor_bo) { in dce_v6_0_crtc_cursor_set2()
2339 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2()
2345 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2()
2348 amdgpu_crtc->cursor_bo = obj; in dce_v6_0_crtc_cursor_set2()
2356 if (amdgpu_crtc->cursor_bo) { in dce_v6_0_cursor_reset()
Ddce_v8_0.c2344 if (amdgpu_crtc->cursor_bo) { in dce_v8_0_crtc_cursor_set2()
2345 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2()
2351 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2()
2354 amdgpu_crtc->cursor_bo = obj; in dce_v8_0_crtc_cursor_set2()
2362 if (amdgpu_crtc->cursor_bo) { in dce_v8_0_cursor_reset()
Ddce_v10_0.c2443 if (amdgpu_crtc->cursor_bo) { in dce_v10_0_crtc_cursor_set2()
2444 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2()
2450 drm_gem_object_put(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2()
2453 amdgpu_crtc->cursor_bo = obj; in dce_v10_0_crtc_cursor_set2()
2461 if (amdgpu_crtc->cursor_bo) { in dce_v10_0_cursor_reset()
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()
Damdgpu_device.c3675 if (amdgpu_crtc->cursor_bo && !adev->enable_virtual_display) { in amdgpu_device_suspend()
3676 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_device_suspend()
3769 if (amdgpu_crtc->cursor_bo && !adev->enable_virtual_display) { in amdgpu_device_resume()
3770 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_device_resume()