Home
last modified time | relevance | path

Searched refs:cursor_width (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
A Ddcn20_hubp.c556 unsigned int cursor_width, in hubp2_get_lines_per_chunk() argument
566 if (cursor_width >= 1 && cursor_width <= 32) in hubp2_get_lines_per_chunk()
568 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk()
570 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk()
572 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk()
576 if (cursor_width >= 1 && cursor_width <= 16) in hubp2_get_lines_per_chunk()
578 else if (cursor_width >= 17 && cursor_width <= 32) in hubp2_get_lines_per_chunk()
580 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk()
582 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk()
584 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk()
[all …]
A Ddcn20_hubp.h331 unsigned int cursor_width,
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
A Ddcn10_dpp.c446 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()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/
A Ddcn32_hubp.c118 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/drivers/gpu/drm/radeon/
A Dradeon_cursor.c149 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()
A Dradeon_mode.h331 int cursor_width; member
/linux/drivers/gpu/drm/i915/display/
A Dintel_display_driver.c151 mode_config->cursor_width = IS_I845G(i915) ? 64 : 512; in intel_mode_config_init()
155 mode_config->cursor_width = 64; in intel_mode_config_init()
158 mode_config->cursor_width = 256; in intel_mode_config_init()
A Dintel_cursor.c89 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok()
351 return plane->base.dev->mode_config.cursor_width * 4; in i9xx_cursor_max_stride()
962 max_size = min(config->cursor_width, config->cursor_height); in intel_cursor_add_size_hints_property()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
A Ddcn401_hwseq.h83 void adjust_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position …
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
A Ddcn10_hubp.c1190 int cursor_width = (int)hubp->curs_attr.width; in hubp1_cursor_set_position() local
1208 swap(cursor_height, cursor_width); in hubp1_cursor_set_position()
1213 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1223 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1242 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/linux/include/drm/
A Ddrm_mode_config.h945 uint32_t cursor_width, cursor_height; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_display_cfg_types.h361 unsigned long cursor_width; member
/linux/drivers/gpu/drm/vkms/
A Dvkms_drv.c165 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
/linux/drivers/gpu/drm/
A Ddrm_ioctl.c286 if (dev->mode_config.cursor_width) in drm_getcap()
287 req->value = dev->mode_config.cursor_width; in drm_getcap()
/linux/drivers/gpu/drm/loongson/
A Dlsdc_drv.c140 ddev->mode_config.cursor_width = descp->hw_cursor_h; in lsdc_mode_config_init()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_mode.h470 int cursor_width; member
A Ddce_v6_0.c2247 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()
2622 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v6_0_crtc_init()
A Ddce_v8_0.c2268 ((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()
2633 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init()
A Ddce_v10_0.c2349 ((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()
2707 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Ddce_calcs.h223 uint32_t cursor_width; member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_utils.c449 phantom->cursor.cursor_width = 0; in create_phantom_plane_from_main_plane()
A Ddml2_core_shared.c302 unsigned int cursor_width,
5992 unsigned int cursor_width, in calculate_cursor_req_attributes() argument
6031 if (cursor_width <= 32) in calculate_cursor_req_attributes()
6033 else if (cursor_width <= 64) in calculate_cursor_req_attributes()
6035 else if (cursor_width <= 128) in calculate_cursor_req_attributes()
6040 if (cursor_width <= 16) in calculate_cursor_req_attributes()
6042 else if (cursor_width <= 32) in calculate_cursor_req_attributes()
6044 else if (cursor_width <= 64) in calculate_cursor_req_attributes()
6046 else if (cursor_width <= 128) in calculate_cursor_req_attributes()
6051 if (cursor_width > 0) { in calculate_cursor_req_attributes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_translation_helper.c637 plane->cursor.cursor_width = 256; in populate_dml21_dummy_plane_cfg()
729 plane->cursor.cursor_width = 256; in populate_dml21_plane_config_from_plane_state()
/linux/drivers/gpu/drm/amd/display/dc/basics/
A Ddce_calcs.c359 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()
A Dcalcs_logger.h172 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] cursor_width: %d", vbios->cursor_width); in print_bw_calcs_vbios()

Completed in 117 milliseconds

12