/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn32/ |
D | dcn32_dpp.c | 43 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-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp.c | 292 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 640 plane->composition.viewport.plane0.width = width; in populate_dml21_dummy_plane_cfg() 641 plane->composition.viewport.plane0.height = height; in populate_dml21_dummy_plane_cfg() 642 plane->composition.viewport.plane1.width = 0; in populate_dml21_dummy_plane_cfg() 643 plane->composition.viewport.plane1.height = 0; in populate_dml21_dummy_plane_cfg() 645 plane->composition.viewport.stationary = false; in populate_dml21_dummy_plane_cfg() 646 plane->composition.viewport.plane0.x_start = 0; in populate_dml21_dummy_plane_cfg() 647 plane->composition.viewport.plane0.y_start = 0; in populate_dml21_dummy_plane_cfg() 648 plane->composition.viewport.plane1.x_start = 0; in populate_dml21_dummy_plane_cfg() 649 plane->composition.viewport.plane1.y_start = 0; in populate_dml21_dummy_plane_cfg() 761 plane->composition.viewport.plane0.height = scaler_data->viewport.height; in populate_dml21_plane_config_from_plane_state() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/ |
D | dc_spl.c | 426 …spl_scratch->scl_data.viewport.width = spl_fixpt_ceil(spl_fixpt_mul_int(spl_scratch->scl_data.rati… in spl_calculate_viewport_size() 428 …spl_scratch->scl_data.viewport.height = spl_fixpt_ceil(spl_fixpt_mul_int(spl_scratch->scl_data.rat… in spl_calculate_viewport_size() 436 spl_swap(spl_scratch->scl_data.viewport.width, spl_scratch->scl_data.viewport.height); in spl_calculate_viewport_size() 626 &spl_scratch->scl_data.viewport.x, in spl_calculate_inits_and_viewports() 627 &spl_scratch->scl_data.viewport.width); in spl_calculate_inits_and_viewports() 648 &spl_scratch->scl_data.viewport.y, in spl_calculate_inits_and_viewports() 649 &spl_scratch->scl_data.viewport.height); in spl_calculate_inits_and_viewports() 662 spl_swap(spl_scratch->scl_data.viewport.x, spl_scratch->scl_data.viewport.y); in spl_calculate_inits_and_viewports() 663 spl_swap(spl_scratch->scl_data.viewport.width, spl_scratch->scl_data.viewport.height); in spl_calculate_inits_and_viewports() 667 spl_scratch->scl_data.viewport.x += src.x; in spl_calculate_inits_and_viewports() [all …]
|
D | dc_spl_types.h | 138 struct spl_rect viewport; member 265 struct spl_rect viewport; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 53 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-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 589 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-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
D | dcn201_dpp.c | 196 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-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
D | dcn10_hubp.c | 828 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-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp.c | 136 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-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
D | dcn20_dpp.c | 269 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-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 371 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-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
D | dcn21_hubp.c | 190 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 341 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_utils.c | 440 phantom->composition.viewport.plane0.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane() 442 (double)main->composition.viewport.plane0.height); in create_phantom_plane_from_main_plane() 443 phantom->composition.viewport.plane1.height = (long int unsigned) math_min2(math_ceil2( in create_phantom_plane_from_main_plane() 445 (double)main->composition.viewport.plane1.height); in create_phantom_plane_from_main_plane()
|
D | dml2_core_shared.c | 897 …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 …]
|
/linux-6.12.1/arch/arm64/boot/dts/marvell/ |
D | cn9130-crb-A.dts | 15 num-viewport = <8>;
|
D | cn9130-crb-B.dts | 15 num-viewport = <8>;
|
D | cn9132-db.dtsi | 156 num-viewport = <8>; 166 num-viewport = <8>;
|
/linux-6.12.1/drivers/usb/phy/ |
D | Makefile | 24 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v9_0.c | 1348 u32 viewport; in gmc_v9_0_get_vbios_fb_size() local 1353 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v9_0_get_vbios_fb_size() 1354 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1356 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1361 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2); in gmc_v9_0_get_vbios_fb_size() 1362 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1364 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1369 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); in gmc_v9_0_get_vbios_fb_size() 1370 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v9_0_get_vbios_fb_size() 1371 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v9_0_get_vbios_fb_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 2852 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() 3487 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dcn10_set_cursor_position() 3504 if ((pipe_ctx->plane_state->src_rect.width != pipe_ctx->plane_res.scl_data.viewport.width) || in dcn10_set_cursor_position() 3505 (pipe_ctx->plane_state->src_rect.height != pipe_ctx->plane_res.scl_data.viewport.height)) { in dcn10_set_cursor_position() 3584 pipe_ctx->plane_res.scl_data.viewport.width; in dcn10_set_cursor_position() 3586 pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position() 3613 pos_cpy.x = pipe_ctx->plane_res.scl_data.viewport.width - in dcn10_set_cursor_position() 3614 (pos_cpy.y - pipe_ctx->plane_res.scl_data.viewport.x) + pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position() 3621 pipe_ctx->plane_res.scl_data.viewport.height; in dcn10_set_cursor_position() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 776 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size() 777 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size() 782 swap(data->viewport.width, data->viewport.height); in calculate_viewport_size() 1302 &data->viewport.x, in calculate_inits_and_viewports() 1303 &data->viewport.width); in calculate_inits_and_viewports() 1322 &data->viewport.y, in calculate_inits_and_viewports() 1323 &data->viewport.height); in calculate_inits_and_viewports() 1335 swap(data->viewport.x, data->viewport.y); in calculate_inits_and_viewports() 1336 swap(data->viewport.width, data->viewport.height); in calculate_inits_and_viewports() 1340 data->viewport.x += src.x; in calculate_inits_and_viewports() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_spl_translate.c | 212 …ulate_rect_from_splrect(&pipe_ctx->plane_res.scl_data.viewport, &spl_out->dscl_prog_data->viewport… in translate_SPL_out_params_to_pipe_ctx()
|
/linux-6.12.1/drivers/gpu/drm/ci/xfails/ |
D | msm-sdm845-fails.txt | 34 kms_plane_cursor@viewport,Fail
|