Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
A Ddcn20_hubp.c570 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 …]
A Ddcn20_hubp.h330 unsigned int cursor_width,
/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
A Ddcn10_dpp.c449 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()
/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.h335 int cursor_width; member
/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()
/drivers/gpu/drm/i915/display/
A Dintel_display_driver.c148 mode_config->cursor_width = display->platform.i845g ? 64 : 512; in intel_mode_config_init()
152 mode_config->cursor_width = 64; in intel_mode_config_init()
155 mode_config->cursor_width = 256; in intel_mode_config_init()
A Dintel_cursor.c88 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok()
358 return plane->base.dev->mode_config.cursor_width * 4; in i9xx_cursor_max_stride()
996 max_size = min(config->cursor_width, config->cursor_height); in intel_cursor_add_size_hints_property()
/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
A Ddcn10_hubp.c1210 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()
/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
A Ddcn401_hwseq.h85 void adjust_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position …
/drivers/gpu/drm/vkms/
A Dvkms_drv.c136 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
A Ddml_top_display_cfg_types.h362 unsigned long cursor_width; member
/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()
/drivers/gpu/drm/loongson/
A Dlsdc_drv.c140 ddev->mode_config.cursor_width = descp->hw_cursor_h; in lsdc_mode_config_init()
/drivers/gpu/drm/amd/display/dc/inc/
A Ddce_calcs.h223 uint32_t cursor_width; member
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_mode.h470 int cursor_width; member
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()
2658 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init()
A Ddce_v6_0.c2300 int w = amdgpu_crtc->cursor_width; in dce_v6_0_cursor_move_locked()
2390 if (width != amdgpu_crtc->cursor_width || in dce_v6_0_crtc_cursor_set2()
2401 amdgpu_crtc->cursor_width = width; in dce_v6_0_crtc_cursor_set2()
2700 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v6_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()
2733 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init()
A Ddce_v11_0.c2433 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v11_0_cursor_move_locked()
2501 if (width != amdgpu_crtc->cursor_width || in dce_v11_0_crtc_cursor_set2()
2512 amdgpu_crtc->cursor_width = width; in dce_v11_0_crtc_cursor_set2()
2846 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/dml2/dml21/src/dml2_core/
A Ddml2_core_utils.c604 phantom->cursor.cursor_width = 0; in create_phantom_plane_from_main_plane()
/drivers/gpu/drm/amd/display/dc/dml2/dml21/
A Ddml21_translation_helper.c748 plane->cursor.cursor_width = 256; in populate_dml21_dummy_plane_cfg()
850 plane->cursor.cursor_width = 256; in populate_dml21_plane_config_from_plane_state()
/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()
/drivers/gpu/drm/nouveau/dispnv50/
A Ddisp.c2887 dev->mode_config.cursor_width = 256; in nv50_display_create()
2890 dev->mode_config.cursor_width = 128; in nv50_display_create()
2893 dev->mode_config.cursor_width = 64; in nv50_display_create()

Completed in 100 milliseconds

12