Home
last modified time | relevance | path

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

/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.h332 int cursor_height; member
Dradeon_display.c710 dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; in radeon_crtc_init()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c445 int cursor_height = (int)height; in dpp1_set_cursor_position() local
451 swap(cursor_height, cursor_width); in dpp1_set_cursor_position()
461 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
468 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
480 if (src_y_offset + cursor_height <= 0) in dpp1_set_cursor_position()
Ddcn10_hubp.c1188 int cursor_height = (int)hubp->curs_attr.height; in hubp1_cursor_set_position() local
1207 swap(cursor_height, cursor_width); in hubp1_cursor_set_position()
1217 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1224 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1247 if (src_y_offset + cursor_height <= 0) in hubp1_cursor_set_position()
/drivers/gpu/drm/amd/display/dc/dcn32/
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()
/drivers/gpu/drm/i915/display/
Dintel_display_driver.c147 mode_config->cursor_height = 1023; in intel_mode_config_init()
151 mode_config->cursor_height = 64; in intel_mode_config_init()
154 mode_config->cursor_height = 256; in intel_mode_config_init()
Dintel_cursor.c76 height > 0 && height <= config->cursor_height; in intel_cursor_size_ok()
/drivers/gpu/drm/vkms/
Dvkms_drv.c166 dev->mode_config.cursor_height = 512; in vkms_modeset_init()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c982 int cursor_height = (int)hubp->curs_attr.height; in hubp2_cursor_set_position() local
1001 swap(cursor_height, cursor_width); in hubp2_cursor_set_position()
1011 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1018 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1041 if (src_y_offset + cursor_height <= 0) in hubp2_cursor_set_position()
/drivers/gpu/drm/
Ddrm_ioctl.c293 if (dev->mode_config.cursor_height) in drm_getcap()
294 req->value = dev->mode_config.cursor_height; in drm_getcap()
/drivers/gpu/drm/loongson/
Dlsdc_drv.c141 ddev->mode_config.cursor_height = descp->hw_cursor_h; in lsdc_mode_config_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h381 int cursor_height; member
Ddce_v8_0.c2250 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked()
2318 height != amdgpu_crtc->cursor_height || in dce_v8_0_crtc_cursor_set2()
2329 amdgpu_crtc->cursor_height = height; in dce_v8_0_crtc_cursor_set2()
2615 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v8_0_crtc_init()
Ddce_v6_0.c2251 ((w - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v6_0_cursor_move_locked()
2319 height != amdgpu_crtc->cursor_height || in dce_v6_0_crtc_cursor_set2()
2330 amdgpu_crtc->cursor_height = height; in dce_v6_0_crtc_cursor_set2()
2604 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v6_0_crtc_init()
Ddce_v10_0.c2345 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked()
2413 height != amdgpu_crtc->cursor_height || in dce_v10_0_crtc_cursor_set2()
2424 amdgpu_crtc->cursor_height = height; in dce_v10_0_crtc_cursor_set2()
2703 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v10_0_crtc_init()
Ddce_v11_0.c2429 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v11_0_cursor_move_locked()
2497 height != amdgpu_crtc->cursor_height || in dce_v11_0_crtc_cursor_set2()
2508 amdgpu_crtc->cursor_height = height; in dce_v11_0_crtc_cursor_set2()
2816 adev_to_drm(adev)->mode_config.cursor_height = amdgpu_crtc->max_cursor_height; in dce_v11_0_crtc_init()
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c2637 dev->mode_config.cursor_height = 256; in nv50_display_create()
2640 dev->mode_config.cursor_height = 128; in nv50_display_create()
2643 dev->mode_config.cursor_height = 64; in nv50_display_create()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c845 cmd.mall.cursor_height = cursor_attr.height; in dcn30_apply_idle_power_optimizations()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c1074 dev->mode_config.cursor_height = 512; in dpu_kms_hw_init()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h1227 uint16_t cursor_height; /**< Cursor height in pixels */ member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1261 amdgpu_crtc->cursor_height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
Damdgpu_dm.c1845 adev_to_drm(adev)->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()