Home
last modified time | relevance | path

Searched refs:max_cursor_height (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_cursor.c163 yorigin = min(-y, radeon_crtc->max_cursor_height - 1); in radeon_cursor_move_locked()
298 (height > radeon_crtc->max_cursor_height)) { in radeon_crtc_cursor_set2()
Dradeon_display.c706 radeon_crtc->max_cursor_height = CIK_CURSOR_HEIGHT; in radeon_crtc_init()
709 radeon_crtc->max_cursor_height = CURSOR_HEIGHT; in radeon_crtc_init()
712 dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; in radeon_crtc_init()
Dradeon_mode.h343 int max_cursor_height; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h396 int max_cursor_height; member
Ddce_v6_0.c2243 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v6_0_cursor_move_locked()
2288 (height > amdgpu_crtc->max_cursor_height)) { in dce_v6_0_crtc_cursor_set2()
2601 amdgpu_crtc->max_cursor_height = CURSOR_HEIGHT; in dce_v6_0_crtc_init()
2603 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v6_0_crtc_init()
Ddce_v8_0.c2249 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v8_0_cursor_move_locked()
2294 (height > amdgpu_crtc->max_cursor_height)) { in dce_v8_0_crtc_cursor_set2()
2619 amdgpu_crtc->max_cursor_height = CIK_CURSOR_HEIGHT; in dce_v8_0_crtc_init()
2621 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v8_0_crtc_init()
Ddce_v10_0.c2348 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v10_0_cursor_move_locked()
2393 (height > amdgpu_crtc->max_cursor_height)) { in dce_v10_0_crtc_cursor_set2()
2711 amdgpu_crtc->max_cursor_height = 128; in dce_v10_0_crtc_init()
2713 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v10_0_crtc_init()
Ddce_v11_0.c2427 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v11_0_cursor_move_locked()
2472 (height > amdgpu_crtc->max_cursor_height)) { in dce_v11_0_crtc_cursor_set2()
2819 amdgpu_crtc->max_cursor_height = 128; in dce_v11_0_crtc_init()
2821 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v11_0_crtc_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c6236 acrtc->max_cursor_height = dm->adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_crtc_init()
6854 (plane->state->crtc_h > amdgpu_crtc->max_cursor_height)) { in get_cursor_position()
6866 y <= -amdgpu_crtc->max_cursor_height) in get_cursor_position()
6874 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in get_cursor_position()
8484 (new_plane_state->crtc_h > new_acrtc->max_cursor_height)) { in dm_update_plane_state()