Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c554 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 …]
Ddcn20_hubp.h288 unsigned int cursor_width,
/drivers/gpu/drm/amd/display/dc/dcn10/
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()
Ddcn10_hubp.c1189 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/
Ddcn32_hubp.c109 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/
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()
Dradeon_mode.h335 int cursor_width; member
Dradeon_display.c709 dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; in radeon_crtc_init()
/drivers/gpu/drm/vkms/
Dvkms_drv.c151 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
/drivers/gpu/drm/
Ddrm_ioctl.c288 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/
Dintel_cursor.c75 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()
Dintel_display.c8649 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/
Damdgpu_mode.h382 int cursor_width; member
Ddce_v8_0.c2252 ((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()
Ddce_v6_0.c2227 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()
Ddce_v10_0.c2351 ((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()
Ddce_v11_0.c2427 ((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/
Ddce_calcs.h223 uint32_t cursor_width; member
/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c361 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()
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/
Ddisp.c2774 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/
Ddmub_cmd.h949 uint16_t cursor_width; /**< Cursor width in pixels */ member
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c861 cmd.mall.cursor_width = cursor_attr.width; in dcn30_apply_idle_power_optimizations()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1260 amdgpu_crtc->cursor_width = plane->state->crtc_w; in handle_cursor_update()
Damdgpu_dm.c1823 adev_to_drm(adev)->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()