Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn32/
H A Ddcn32_dpp.c43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
68 scl_data->viewport.height == scl_data->v_active) { in dscl32_calc_lb_num_partitions()
81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
82 scl_data->viewport.height == scl_data->v_active) { in dscl32_calc_lb_num_partitions()
176 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_spl_calc_lb_num_partitions()
177 scl_data->viewport.width : scl_data->recout.width; in dscl32_spl_calc_lb_num_partitions()
200 if (scl_data->viewport.width == scl_data->h_active && in dscl32_spl_calc_lb_num_partitions()
201 scl_data->viewport.height == scl_data->v_active) { in dscl32_spl_calc_lb_num_partitions()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
H A Ddcn401_dpp.c292 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl401_calc_lb_num_partitions()
293 scl_data->viewport.width : scl_data->recout.width; in dscl401_calc_lb_num_partitions()
316 if (scl_data->viewport.width == scl_data->h_active && in dscl401_calc_lb_num_partitions()
317 scl_data->viewport.height == scl_data->v_active) { in dscl401_calc_lb_num_partitions()
330 if (scl_data->viewport.width == scl_data->h_active && in dscl401_calc_lb_num_partitions()
331 scl_data->viewport.height == scl_data->v_active) { in dscl401_calc_lb_num_partitions()
367 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl401_spl_calc_lb_num_partitions()
368 scl_data->viewport.width : scl_data->recout.width; in dscl401_spl_calc_lb_num_partitions()
391 if (scl_data->viewport.width == scl_data->h_active && in dscl401_spl_calc_lb_num_partitions()
392 scl_data->viewport.height == scl_data->v_active) { in dscl401_spl_calc_lb_num_partitions()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c53 luma_viewport->x = scl_data->viewport.x - scl_data->viewport.x % 2; in calculate_viewport()
54 luma_viewport->y = scl_data->viewport.y - scl_data->viewport.y % 2; in calculate_viewport()
56 scl_data->viewport.width - scl_data->viewport.width % 2; in calculate_viewport()
58 scl_data->viewport.height - scl_data->viewport.height % 2; in calculate_viewport()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c589 const struct rect *viewport, in hubp401_set_viewport() argument
595 PRI_VIEWPORT_WIDTH, viewport->width, in hubp401_set_viewport()
596 PRI_VIEWPORT_HEIGHT, viewport->height); in hubp401_set_viewport()
599 PRI_VIEWPORT_X_START, viewport->x, in hubp401_set_viewport()
600 PRI_VIEWPORT_Y_START, viewport->y); in hubp401_set_viewport()
604 SEC_VIEWPORT_WIDTH, viewport->width, in hubp401_set_viewport()
605 SEC_VIEWPORT_HEIGHT, viewport->height); in hubp401_set_viewport()
608 SEC_VIEWPORT_X_START, viewport->x, in hubp401_set_viewport()
609 SEC_VIEWPORT_Y_START, viewport->y); in hubp401_set_viewport()
690 x_pos_viewport = x_pos * param->viewport.width / param->recout.width; in hubp401_cursor_set_position()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c828 const struct rect *viewport, in min_set_viewport() argument
834 PRI_VIEWPORT_WIDTH, viewport->width, in min_set_viewport()
835 PRI_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport()
838 PRI_VIEWPORT_X_START, viewport->x, in min_set_viewport()
839 PRI_VIEWPORT_Y_START, viewport->y); in min_set_viewport()
843 SEC_VIEWPORT_WIDTH, viewport->width, in min_set_viewport()
844 SEC_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport()
847 SEC_VIEWPORT_X_START, viewport->x, in min_set_viewport()
848 SEC_VIEWPORT_Y_START, viewport->y); in min_set_viewport()
1183 int x_pos = pos->x - param->viewport.x; in hubp1_cursor_set_position()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
H A Ddcn201_dpp.c196 if (scl_data->viewport.width != scl_data->h_active && in dpp201_get_optimal_number_of_taps()
197 scl_data->viewport.height != scl_data->v_active && in dpp201_get_optimal_number_of_taps()
202 if (scl_data->viewport.width > scl_data->h_active && in dpp201_get_optimal_number_of_taps()
204 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp201_get_optimal_number_of_taps()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c136 if (scl_data->viewport.width > scl_data->h_active && in dpp1_get_optimal_number_of_taps()
138 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp1_get_optimal_number_of_taps()
439 int x_pos = pos->x - param->viewport.x; in dpp1_set_cursor_position()
440 int y_pos = pos->y - param->viewport.y; in dpp1_set_cursor_position()
471 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
477 if (src_y_offset >= (int)param->viewport.height) in dpp1_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/
H A Ddcn21_hubp.c190 const struct rect *viewport, in hubp21_set_viewport() argument
196 PRI_VIEWPORT_WIDTH, viewport->width, in hubp21_set_viewport()
197 PRI_VIEWPORT_HEIGHT, viewport->height); in hubp21_set_viewport()
200 PRI_VIEWPORT_X_START, viewport->x, in hubp21_set_viewport()
201 PRI_VIEWPORT_Y_START, viewport->y); in hubp21_set_viewport()
205 SEC_VIEWPORT_WIDTH, viewport->width, in hubp21_set_viewport()
206 SEC_VIEWPORT_HEIGHT, viewport->height); in hubp21_set_viewport()
209 SEC_VIEWPORT_X_START, viewport->x, in hubp21_set_viewport()
210 SEC_VIEWPORT_Y_START, viewport->y); in hubp21_set_viewport()
/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c371 pipe_ctx->plane_res.scl_data.viewport.width, in dce60_program_front_end_for_pipe()
372 pipe_ctx->plane_res.scl_data.viewport.height, in dce60_program_front_end_for_pipe()
373 pipe_ctx->plane_res.scl_data.viewport.x, in dce60_program_front_end_for_pipe()
374 pipe_ctx->plane_res.scl_data.viewport.y, in dce60_program_front_end_for_pipe()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn20/
H A Ddcn20_dpp.c269 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
270 scl_data->viewport.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
446 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_spl_calc_lb_num_partitions()
447 scl_data->viewport.width : scl_data->recout.width; in dscl2_spl_calc_lb_num_partitions()
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c341 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
342 input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; in pipe_ctx_to_e2e_pipe_params()
343 input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
344 input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
942 v->viewport_height[input_idx] = pipe->plane_res.scl_data.viewport.height; in dcn_validate_bandwidth()
943 v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width; in dcn_validate_bandwidth()
948 int viewport_end = pipe->plane_res.scl_data.viewport.width in dcn_validate_bandwidth()
949 + pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
950 int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width in dcn_validate_bandwidth()
951 + pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_utils.c441 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
443 (double)main->composition.viewport.plane0.height); in create_phantom_plane_from_main_plane()
444 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
446 (double)main->composition.viewport.plane1.height); in create_phantom_plane_from_main_plane()
H A Ddml2_core_shared.c897 …mode_lib->ms.SwathWidthYSingleDPP[k] = display_cfg->plane_descriptors[k].composition.viewport.plan… in dml2_core_shared_mode_support()
898 …mode_lib->ms.SwathWidthCSingleDPP[k] = display_cfg->plane_descriptors[k].composition.viewport.plan… in dml2_core_shared_mode_support()
900 …mode_lib->ms.SwathWidthYSingleDPP[k] = display_cfg->plane_descriptors[k].composition.viewport.plan… in dml2_core_shared_mode_support()
901 …mode_lib->ms.SwathWidthCSingleDPP[k] = display_cfg->plane_descriptors[k].composition.viewport.plan… in dml2_core_shared_mode_support()
1105 …osition.viewport.plane0.width > display_cfg->plane_descriptors[k].surface.plane0.width || display_… in dml2_core_shared_mode_support()
1108 …rtWidth = %d\n", __func__, k, display_cfg->plane_descriptors[k].composition.viewport.plane0.width); in dml2_core_shared_mode_support()
1110 …Height = %d\n", __func__, k, display_cfg->plane_descriptors[k].composition.viewport.plane0.height); in dml2_core_shared_mode_support()
1115 …if (display_cfg->plane_descriptors[k].composition.viewport.plane1.width > display_cfg->plane_descr… in dml2_core_shared_mode_support()
1116 …display_cfg->plane_descriptors[k].composition.viewport.plane1.height > display_cfg->plane_descript… in dml2_core_shared_mode_support()
1656 …s->SurfParameters[k].ViewportHeight = display_cfg->plane_descriptors[k].composition.viewport.plane… in dml2_core_shared_mode_support()
[all …]
H A Ddml2_core_dcn4.c175 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
177 (double)main->composition.viewport.plane0.height); in create_phantom_plane_from_main_plane()
178 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane()
180 (double)main->composition.viewport.plane1.height); in create_phantom_plane_from_main_plane()
/linux/arch/arm64/boot/dts/marvell/
H A Dcn9130-crb-A.dts15 num-viewport = <8>;
H A Dcn9130-crb-B.dts15 num-viewport = <8>;
H A Dcn9132-db.dtsi156 num-viewport = <8>;
166 num-viewport = <8>;
/linux/drivers/usb/phy/
H A DMakefile24 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v9_0.c1354 u32 viewport; in gmc_v9_0_get_vbios_fb_size() local
1359 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v9_0_get_vbios_fb_size()
1360 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1362 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1367 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2); in gmc_v9_0_get_vbios_fb_size()
1368 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1370 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1375 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); in gmc_v9_0_get_vbios_fb_size()
1376 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v9_0_get_vbios_fb_size()
1377 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v9_0_get_vbios_fb_size()
H A Dgmc_v11_0.c518 u32 viewport; in gmc_v11_0_get_vbios_fb_size() local
521 viewport = RREG32_SOC15(DCE, 0, regHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v11_0_get_vbios_fb_size()
523 size = (REG_GET_FIELD(viewport, in gmc_v11_0_get_vbios_fb_size()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c2852 size.surface_size = pipe_ctx->plane_res.scl_data.viewport; in dcn10_update_dchubp_dpp()
2876 &pipe_ctx->plane_res.scl_data.viewport, in dcn10_update_dchubp_dpp()
3486 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dcn10_set_cursor_position()
3503 if ((pipe_ctx->plane_state->src_rect.width != pipe_ctx->plane_res.scl_data.viewport.width) || in dcn10_set_cursor_position()
3504 (pipe_ctx->plane_state->src_rect.height != pipe_ctx->plane_res.scl_data.viewport.height)) { in dcn10_set_cursor_position()
3583 pipe_ctx->plane_res.scl_data.viewport.width; in dcn10_set_cursor_position()
3585 pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position()
3612 pos_cpy.x = pipe_ctx->plane_res.scl_data.viewport.width - in dcn10_set_cursor_position()
3613 (pos_cpy.y - pipe_ctx->plane_res.scl_data.viewport.x) + pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position()
3620 pipe_ctx->plane_res.scl_data.viewport.height; in dcn10_set_cursor_position()
[all …]
/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-sdm845-fails.txt30 kms_plane_cursor@viewport,Fail
/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl_types.h136 struct spl_rect viewport; member
264 struct spl_rect viewport; member
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmem_input.h116 const struct rect *viewport,
H A Dtransform.h157 struct rect viewport; member

123