Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
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 …]
Ddcn20_hubp.h281 unsigned int cursor_width,
/Linux-v5.10/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.c706 dev->mode_config.cursor_width = radeon_crtc->max_cursor_width; in radeon_crtc_init()
/Linux-v5.10/include/drm/
Ddrm_mode_config.h936 uint32_t cursor_width, cursor_height; member
/Linux-v5.10/drivers/gpu/drm/vkms/
Dvkms_drv.c133 dev->mode_config.cursor_width = 512; in vkms_modeset_init()
/Linux-v5.10/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()
/Linux-v5.10/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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h223 uint32_t cursor_width; member
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h393 int cursor_width; member
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_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_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()
/Linux-v5.10/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()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_display.c11366 return width > 0 && width <= config->cursor_width && in intel_cursor_size_ok()
11619 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()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1067 adev_to_drm(adev)->mode_config.cursor_width = adev->dm.dc->caps.max_cursor_size; in amdgpu_dm_init()
6842 amdgpu_crtc->cursor_width = plane->state->crtc_w; in handle_cursor_update()