/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 209 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()
|
D | radeon_mode.h | 332 int cursor_height; member
|
D | radeon_display.c | 710 dev->mode_config.cursor_height = radeon_crtc->max_cursor_height; in radeon_crtc_init()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp.c | 445 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()
|
D | dcn10_hubp.c | 1188 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/ |
D | dcn32_hubp.c | 119 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/ |
D | intel_display_driver.c | 147 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()
|
D | intel_cursor.c | 76 height > 0 && height <= config->cursor_height; in intel_cursor_size_ok()
|
/drivers/gpu/drm/vkms/ |
D | vkms_drv.c | 166 dev->mode_config.cursor_height = 512; in vkms_modeset_init()
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 982 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/ |
D | drm_ioctl.c | 293 if (dev->mode_config.cursor_height) in drm_getcap() 294 req->value = dev->mode_config.cursor_height; in drm_getcap()
|
/drivers/gpu/drm/loongson/ |
D | lsdc_drv.c | 141 ddev->mode_config.cursor_height = descp->hw_cursor_h; in lsdc_mode_config_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mode.h | 381 int cursor_height; member
|
D | dce_v8_0.c | 2250 ((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()
|
D | dce_v6_0.c | 2251 ((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()
|
D | dce_v10_0.c | 2345 ((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()
|
D | dce_v11_0.c | 2429 ((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/ |
D | disp.c | 2637 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/ |
D | dcn30_hwseq.c | 845 cmd.mall.cursor_height = cursor_attr.height; in dcn30_apply_idle_power_optimizations()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.c | 1074 dev->mode_config.cursor_height = 512; in dpu_kms_hw_init()
|
/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 1227 uint16_t cursor_height; /**< Cursor height in pixels */ member
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 1261 amdgpu_crtc->cursor_height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
|
D | amdgpu_dm.c | 1845 adev_to_drm(adev)->mode_config.cursor_height = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
|