Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A 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()
H A Dradeon_mode.h336 int cursor_height; member
H A Dradeon_display.c710 dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; in radeon_crtc_init()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c448 int cursor_height = (int)height; in dpp1_set_cursor_position() local
454 swap(cursor_height, cursor_width); in dpp1_set_cursor_position()
464 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
471 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
483 if (src_y_offset + cursor_height <= 0) in dpp1_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/
H A Ddcn32_hubp.c119 uint32_t cursor_height = attr->height; in hubp32_cursor_set_attributes() local
120 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_driver.c149 mode_config->cursor_height = 1023; in intel_mode_config_init()
153 mode_config->cursor_height = 64; in intel_mode_config_init()
156 mode_config->cursor_height = 256; in intel_mode_config_init()
H A Dintel_cursor.c89 height > 0 && height <= config->cursor_height; in intel_cursor_size_ok()
996 max_size = min(config->cursor_width, config->cursor_height); in intel_cursor_add_size_hints_property()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c1209 int cursor_height = (int)hubp->curs_attr.height; in hubp1_cursor_set_position() local
1228 swap(cursor_height, cursor_width); in hubp1_cursor_set_position()
1238 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1245 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1268 if (src_y_offset + cursor_height <= 0) in hubp1_cursor_set_position()
/linux/include/drm/
H A Ddrm_mode_config.h340 * @cursor_height: hint to userspace for max cursor height
952 uint32_t cursor_width, cursor_height; member
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c999 int cursor_height = (int)hubp->curs_attr.height; in hubp2_cursor_set_position() local
1018 swap(cursor_height, cursor_width); in hubp2_cursor_set_position()
1028 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1035 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1058 if (src_y_offset + cursor_height <= 0) in hubp2_cursor_set_position()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_drv.c141 ddev->mode_config.cursor_height = descp->hw_cursor_h; in lsdc_mode_config_init()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c2268 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked()
2337 height != amdgpu_crtc->cursor_height || in dce_v8_0_crtc_cursor_set2()
2348 amdgpu_crtc->cursor_height = height; in dce_v8_0_crtc_cursor_set2()
2659 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v8_0_crtc_init()
H A Ddce_v10_0.c2349 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked()
2418 height != amdgpu_crtc->cursor_height || in dce_v10_0_crtc_cursor_set2()
2429 amdgpu_crtc->cursor_height = height; in dce_v10_0_crtc_cursor_set2()
2734 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v10_0_crtc_init()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c2888 dev->mode_config.cursor_height = 256; in nv50_display_create()
2891 dev->mode_config.cursor_height = 128; in nv50_display_create()
2894 dev->mode_config.cursor_height = 64; in nv50_display_create()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.c554 drm->mode_config.cursor_height = 512; in mtk_drm_kms_init()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h1825 uint16_t cursor_height; /**< Cursor height in pixels */ member
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c2141 adev_to_drm(adev)->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
9208 amdgpu_crtc->cursor_height = plane->state->crtc_h; in amdgpu_dm_update_cursor()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c3304 unsigned int cursor_height = 0; in calculate_cursor_req_attributes() local
3357 cursor_height = cursor_width; in calculate_cursor_req_attributes()
3358 *cursor_bytes = *cursor_bytes_per_line * cursor_height; in calculate_cursor_req_attributes()