Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c559 unsigned int cursor_width, in hubp2_get_lines_per_chunk() argument
569 if (cursor_width >= 1 && cursor_width <= 32) in hubp2_get_lines_per_chunk()
571 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk()
573 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk()
575 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk()
579 if (cursor_width >= 1 && cursor_width <= 16) in hubp2_get_lines_per_chunk()
581 else if (cursor_width >= 17 && cursor_width <= 32) in hubp2_get_lines_per_chunk()
583 else if (cursor_width >= 33 && cursor_width <= 64) in hubp2_get_lines_per_chunk()
585 else if (cursor_width >= 65 && cursor_width <= 128) in hubp2_get_lines_per_chunk()
587 else if (cursor_width >= 129 && cursor_width <= 256) in hubp2_get_lines_per_chunk()
[all …]
Ddcn20_hubp.h281 unsigned int cursor_width,
/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.h340 int cursor_width; member
Dradeon_display.c711 dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; in radeon_crtc_init()
/drivers/gpu/drm/vkms/
Dvkms_drv.c134 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
/drivers/gpu/drm/
Ddrm_ioctl.c289 if (dev->mode_config.cursor_width) in drm_getcap()
290 req->value = dev->mode_config.cursor_width; in drm_getcap()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c1158 int cursor_width = (int)hubp->curs_attr.width; in hubp1_cursor_set_position() local
1174 swap(cursor_height, cursor_width); in hubp1_cursor_set_position()
1203 if (src_x_offset + cursor_width <= 0) in hubp1_cursor_set_position()
/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h223 uint32_t cursor_width; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h393 int cursor_width; member
Ddce_v8_0.c2256 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v8_0_cursor_move_locked()
2323 if (width != amdgpu_crtc->cursor_width || in dce_v8_0_crtc_cursor_set2()
2334 amdgpu_crtc->cursor_width = width; in dce_v8_0_crtc_cursor_set2()
2620 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v8_0_crtc_init()
Ddce_v6_0.c2228 int w = amdgpu_crtc->cursor_width; in dce_v6_0_cursor_move_locked()
2317 if (width != amdgpu_crtc->cursor_width || in dce_v6_0_crtc_cursor_set2()
2328 amdgpu_crtc->cursor_width = width; in dce_v6_0_crtc_cursor_set2()
2602 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v6_0_crtc_init()
Ddce_v10_0.c2355 ((amdgpu_crtc->cursor_width - 1) << 16) | (amdgpu_crtc->cursor_height - 1)); in dce_v10_0_cursor_move_locked()
2422 if (width != amdgpu_crtc->cursor_width || in dce_v10_0_crtc_cursor_set2()
2433 amdgpu_crtc->cursor_width = width; in dce_v10_0_crtc_cursor_set2()
2712 adev_to_drm(adev)->mode_config.cursor_width = amdgpu_crtc->max_cursor_width; in dce_v10_0_crtc_init()
Ddce_v11_0.c2434 ((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()
2820 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/calcs/
Ddce_calcs.c346 data->cursor_width_pixels[i] = bw_int_to_fixed(vbios->cursor_width); in calculate_bandwidth()
2072 vbios.cursor_width = 32; in bw_calcs_init()
2188 vbios.cursor_width = 32; in bw_calcs_init()
2304 vbios.cursor_width = 32; in bw_calcs_init()
2420 vbios.cursor_width = 32; in bw_calcs_init()
2533 vbios.cursor_width = 32; in bw_calcs_init()
2646 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/i915/display/
Dintel_display.c11365 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok()
11618 return plane->base.dev->mode_config.cursor_width * 4; in i9xx_cursor_max_stride()
17839 mode_config->cursor_width = IS_I845G(i915) ? 64 : 512; in intel_mode_config_init()
17843 mode_config->cursor_width = 64; in intel_mode_config_init()
17846 mode_config->cursor_width = 256; in intel_mode_config_init()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1102 adev_to_drm(adev)->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
6964 amdgpu_crtc->cursor_width = plane->state->crtc_w; in handle_cursor_update()