/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 554 unsigned int cursor_width, in hubp2_get_lines_per_chunk() argument 564 if (cursor_width >= 1 && cursor_width <= 32) in hubp2_get_lines_per_chunk() 566 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk() 568 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk() 570 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk() 574 if (cursor_width >= 1 && cursor_width <= 16) in hubp2_get_lines_per_chunk() 576 else if (cursor_width >= 17 && cursor_width <= 32) in hubp2_get_lines_per_chunk() 578 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk() 580 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk() 582 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk() [all …]
|
D | dcn20_hubp.h | 288 unsigned int cursor_width,
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp.c | 446 int cursor_width = (int)width; in dpp1_set_cursor_position() local 451 swap(cursor_height, cursor_width); in dpp1_set_cursor_position() 456 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position() 466 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position() 474 if (src_x_offset + cursor_width <= 0) in dpp1_set_cursor_position()
|
D | dcn10_hubp.c | 1189 int cursor_width = (int)hubp->curs_attr.width; in hubp1_cursor_set_position() local 1207 swap(cursor_height, cursor_width); in hubp1_cursor_set_position() 1212 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position() 1222 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position() 1241 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
|
/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hubp.c | 109 uint32_t cursor_width = ((attr->width + 63) / 64) * 64; in hubp32_cursor_set_attributes() local 111 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes()
|
/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 149 int w = radeon_crtc->cursor_width; in radeon_cursor_move_locked() 328 if (width != radeon_crtc->cursor_width || in radeon_crtc_cursor_set2() 337 radeon_crtc->cursor_width = width; in radeon_crtc_cursor_set2()
|
D | radeon_mode.h | 335 int cursor_width; member
|
D | radeon_display.c | 709 dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; in radeon_crtc_init()
|
/drivers/gpu/drm/vkms/ |
D | vkms_drv.c | 151 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
|
/drivers/gpu/drm/ |
D | drm_ioctl.c | 288 if (dev->mode_config.cursor_width) in drm_getcap() 289 req->value = dev->mode_config.cursor_width; in drm_getcap()
|
/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 75 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok() 330 return plane->base.dev->mode_config.cursor_width * 4; in i9xx_cursor_max_stride()
|
D | intel_display.c | 8649 mode_config->cursor_width = IS_I845G(i915) ? 64 : 512; in intel_mode_config_init() 8653 mode_config->cursor_width = 64; in intel_mode_config_init() 8656 mode_config->cursor_width = 256; in intel_mode_config_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mode.h | 382 int cursor_width; member
|
D | dce_v8_0.c | 2252 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked() 2319 if (width != amdgpu_crtc->cursor_width || in dce_v8_0_crtc_cursor_set2() 2330 amdgpu_crtc->cursor_width = width; in dce_v8_0_crtc_cursor_set2() 2616 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init()
|
D | dce_v6_0.c | 2227 int w = amdgpu_crtc->cursor_width; in dce_v6_0_cursor_move_locked() 2316 if (width != amdgpu_crtc->cursor_width || in dce_v6_0_crtc_cursor_set2() 2327 amdgpu_crtc->cursor_width = width; in dce_v6_0_crtc_cursor_set2() 2601 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v6_0_crtc_init()
|
D | dce_v10_0.c | 2351 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked() 2418 if (width != amdgpu_crtc->cursor_width || in dce_v10_0_crtc_cursor_set2() 2429 amdgpu_crtc->cursor_width = width; in dce_v10_0_crtc_cursor_set2() 2708 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init()
|
D | dce_v11_0.c | 2427 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v11_0_cursor_move_locked() 2494 if (width != amdgpu_crtc->cursor_width || in dce_v11_0_crtc_cursor_set2() 2505 amdgpu_crtc->cursor_width = width; in dce_v11_0_crtc_cursor_set2() 2813 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v11_0_crtc_init()
|
/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 223 uint32_t cursor_width; member
|
/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dce_calcs.c | 361 data->cursor_width_pixels[i] = bw_int_to_fixed(vbios->cursor_width); in calculate_bandwidth() 2098 vbios->cursor_width = 32; in bw_calcs_init() 2214 vbios->cursor_width = 32; in bw_calcs_init() 2330 vbios->cursor_width = 32; in bw_calcs_init() 2446 vbios->cursor_width = 32; in bw_calcs_init() 2559 vbios->cursor_width = 32; in bw_calcs_init() 2672 vbios->cursor_width = 32; in bw_calcs_init()
|
D | calcs_logger.h | 172 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] cursor_width: %d", vbios->cursor_width); in print_bw_calcs_vbios()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 2774 dev->mode_config.cursor_width = 256; in nv50_display_create() 2777 dev->mode_config.cursor_width = 128; in nv50_display_create() 2780 dev->mode_config.cursor_width = 64; in nv50_display_create()
|
/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 949 uint16_t cursor_width; /**< Cursor width in pixels */ member
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hwseq.c | 861 cmd.mall.cursor_width = cursor_attr.width; in dcn30_apply_idle_power_optimizations()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 1260 amdgpu_crtc->cursor_width = plane->state->crtc_w; in handle_cursor_update()
|
D | amdgpu_dm.c | 1823 adev_to_drm(adev)->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
|