Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_cursor.c209 if (x <= (crtc->x - w) || y <= (crtc->y - radeon_crtc->cursor_height) || in radeon_cursor_move_locked()
221 ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); in radeon_cursor_move_locked()
226 ((w - 1) << 16) | (radeon_crtc->cursor_height - 1)); in radeon_cursor_move_locked()
329 height != radeon_crtc->cursor_height || in radeon_crtc_cursor_set2()
338 radeon_crtc->cursor_height = height; in radeon_crtc_cursor_set2()
Dradeon_mode.h341 int cursor_height; member
Dradeon_display.c712 dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; in radeon_crtc_init()
/kernel/linux/linux-5.10/include/drm/
Ddrm_mode_config.h936 uint32_t cursor_width, cursor_height; member
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_drv.c135 dev->mode_config.cursor_height = 512; in vkms_modeset_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_ioctl.c295 if (dev->mode_config.cursor_height) in drm_getcap()
296 req->value = dev->mode_config.cursor_height; in drm_getcap()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c1157 int cursor_height = (int)hubp->curs_attr.height; in hubp1_cursor_set_position() local
1174 swap(cursor_height, cursor_width); in hubp1_cursor_set_position()
1209 if (src_y_offset + cursor_height <= 0) in hubp1_cursor_set_position()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h394 int cursor_height; member
Ddce_v6_0.c2250 ((w - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v6_0_cursor_move_locked()
2318 height != amdgpu_crtc->cursor_height || in dce_v6_0_crtc_cursor_set2()
2329 amdgpu_crtc->cursor_height = height; in dce_v6_0_crtc_cursor_set2()
2603 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v6_0_crtc_init()
Ddce_v8_0.c2256 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked()
2324 height != amdgpu_crtc->cursor_height || in dce_v8_0_crtc_cursor_set2()
2335 amdgpu_crtc->cursor_height = height; in dce_v8_0_crtc_cursor_set2()
2621 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v8_0_crtc_init()
Ddce_v10_0.c2355 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked()
2423 height != amdgpu_crtc->cursor_height || in dce_v10_0_crtc_cursor_set2()
2434 amdgpu_crtc->cursor_height = height; in dce_v10_0_crtc_cursor_set2()
2713 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v10_0_crtc_init()
Ddce_v11_0.c2434 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v11_0_cursor_move_locked()
2502 height != amdgpu_crtc->cursor_height || in dce_v11_0_crtc_cursor_set2()
2513 amdgpu_crtc->cursor_height = height; in dce_v11_0_crtc_cursor_set2()
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/dc/dcn20/
Ddcn20_hubp.c974 int cursor_height = (int)hubp->curs_attr.height; in hubp2_cursor_set_position() local
991 swap(cursor_height, cursor_width); in hubp2_cursor_set_position()
1026 if (src_y_offset + cursor_height <= 0) in hubp2_cursor_set_position()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1103 adev_to_drm(adev)->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
6963 amdgpu_crtc->cursor_height = plane->state->crtc_h; in handle_cursor_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display.c11366 height > 0 && height <= config->cursor_height; in intel_cursor_size_ok()
17840 mode_config->cursor_height = 1023; in intel_mode_config_init()
17844 mode_config->cursor_height = 64; in intel_mode_config_init()
17847 mode_config->cursor_height = 256; in intel_mode_config_init()