/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
D | dcn20_hubp.c | 570 unsigned int cursor_width, in hubp2_get_lines_per_chunk() argument 580 if (cursor_width >= 1 && cursor_width <= 32) in hubp2_get_lines_per_chunk() 582 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk() 584 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk() 586 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk() 590 if (cursor_width >= 1 && cursor_width <= 16) in hubp2_get_lines_per_chunk() 592 else if (cursor_width >= 17 && cursor_width <= 32) in hubp2_get_lines_per_chunk() 594 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk() 596 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk() 598 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk() [all …]
|
D | dcn20_hubp.h | 331 unsigned int cursor_width,
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp.c | 449 int cursor_width = (int)width; in dpp1_set_cursor_position() local 454 swap(cursor_height, cursor_width); in dpp1_set_cursor_position() 459 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position() 469 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position() 477 if (src_x_offset + cursor_width <= 0) in dpp1_set_cursor_position()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubp/dcn32/ |
D | dcn32_hubp.c | 118 uint32_t cursor_width = ((attr->width + 63) / 64) * 64; in hubp32_cursor_set_attributes() local 120 uint32_t cursor_size = cursor_width * cursor_height; in hubp32_cursor_set_attributes()
|
/linux-6.14.4/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 | 334 int cursor_width; member
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | intel_display_driver.c | 152 mode_config->cursor_width = display->platform.i845g ? 64 : 512; in intel_mode_config_init() 156 mode_config->cursor_width = 64; in intel_mode_config_init() 159 mode_config->cursor_width = 256; in intel_mode_config_init()
|
D | intel_cursor.c | 89 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok() 353 return plane->base.dev->mode_config.cursor_width * 4; in i9xx_cursor_max_stride() 968 max_size = min(config->cursor_width, config->cursor_height); in intel_cursor_add_size_hints_property()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
D | dcn401_hwseq.h | 85 void adjust_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position …
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
D | dcn10_hubp.c | 1210 int cursor_width = (int)hubp->curs_attr.width; in hubp1_cursor_set_position() local 1228 swap(cursor_height, cursor_width); in hubp1_cursor_set_position() 1233 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position() 1243 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position() 1262 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
|
/linux-6.14.4/include/drm/ |
D | drm_mode_config.h | 945 uint32_t cursor_width, cursor_height; member
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
D | dml_top_display_cfg_types.h | 361 unsigned long cursor_width; member
|
/linux-6.14.4/drivers/gpu/drm/vkms/ |
D | vkms_drv.c | 164 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
|
/linux-6.14.4/drivers/gpu/drm/ |
D | drm_ioctl.c | 286 if (dev->mode_config.cursor_width) in drm_getcap() 287 req->value = dev->mode_config.cursor_width; in drm_getcap()
|
/linux-6.14.4/drivers/gpu/drm/loongson/ |
D | lsdc_drv.c | 140 ddev->mode_config.cursor_width = descp->hw_cursor_h; in lsdc_mode_config_init()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 223 uint32_t cursor_width; member
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mode.h | 470 int cursor_width; member
|
D | dce_v8_0.c | 2268 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked() 2336 if (width != amdgpu_crtc->cursor_width || in dce_v8_0_crtc_cursor_set2() 2347 amdgpu_crtc->cursor_width = width; in dce_v8_0_crtc_cursor_set2() 2658 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init()
|
D | dce_v6_0.c | 2247 int w = amdgpu_crtc->cursor_width; in dce_v6_0_cursor_move_locked() 2337 if (width != amdgpu_crtc->cursor_width || in dce_v6_0_crtc_cursor_set2() 2348 amdgpu_crtc->cursor_width = width; in dce_v6_0_crtc_cursor_set2() 2648 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v6_0_crtc_init()
|
D | dce_v10_0.c | 2349 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked() 2417 if (width != amdgpu_crtc->cursor_width || in dce_v10_0_crtc_cursor_set2() 2428 amdgpu_crtc->cursor_width = width; in dce_v10_0_crtc_cursor_set2() 2733 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_utils.c | 603 phantom->cursor.cursor_width = 0; in create_phantom_plane_from_main_plane()
|
D | dml2_core_shared.c | 302 unsigned int cursor_width, 909 …->plane_descriptors[k].cursor.num_cursors * display_cfg->plane_descriptors[k].cursor.cursor_width * in dml2_core_shared_mode_support() 1041 if (display_cfg->plane_descriptors[k].cursor.cursor_width > 0.0) { in dml2_core_shared_mode_support() 1811 display_cfg->plane_descriptors[k].cursor.cursor_width, in dml2_core_shared_mode_support() 1823 display_cfg->plane_descriptors[k].cursor.cursor_width, in dml2_core_shared_mode_support() 2364 …PrefetchSchedule_params->num_cursors = (display_cfg->plane_descriptors[k].cursor.cursor_width > 0); in dml2_core_shared_mode_support() 5992 unsigned int cursor_width, in calculate_cursor_req_attributes() argument 6012 cursor_pitch = (unsigned int)1 << (unsigned int)math_ceil2(math_log((float)cursor_width, 2), 1); in calculate_cursor_req_attributes() 6016 cursor_width_bytes = (unsigned int)math_ceil2((double)cursor_width * cursor_bpp / 8, 1); in calculate_cursor_req_attributes() 6031 if (cursor_width <= 32) in calculate_cursor_req_attributes() [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 672 plane->cursor.cursor_width = 256; in populate_dml21_dummy_plane_cfg() 775 plane->cursor.cursor_width = 256; in populate_dml21_plane_config_from_plane_state()
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/basics/ |
D | dce_calcs.c | 359 data->cursor_width_pixels[i] = bw_int_to_fixed(vbios->cursor_width); in calculate_bandwidth() 2096 vbios->cursor_width = 32; in bw_calcs_init() 2212 vbios->cursor_width = 32; in bw_calcs_init() 2328 vbios->cursor_width = 32; in bw_calcs_init() 2444 vbios->cursor_width = 32; in bw_calcs_init() 2557 vbios->cursor_width = 32; in bw_calcs_init() 2670 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()
|