Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
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()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_dpp.c190 if (scl_data->viewport.width > scl_data->recout.width) in dpp201_get_optimal_number_of_taps()
193 pixel_width = scl_data->viewport.width; in dpp201_get_optimal_number_of_taps()
195 if (scl_data->viewport.width != scl_data->h_active && in dpp201_get_optimal_number_of_taps()
196 scl_data->viewport.height != scl_data->v_active && in dpp201_get_optimal_number_of_taps()
201 if (scl_data->viewport.width > scl_data->h_active && in dpp201_get_optimal_number_of_taps()
203 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp201_get_optimal_number_of_taps()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
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-6.3-rc2/Documentation/devicetree/bindings/pci/
A Dsamsung,exynos-pcie.yaml64 num-viewport:
80 - num-viewport
110 num-viewport = <3>;
A Dsocionext,uniphier-pcie.yaml44 num-viewport: true
94 num-viewport = <1>;
A Dtoshiba,visconti-pcie.yaml90 num-viewport = <8>;
A Dsnps,dw-pcie-ep.yaml73 set of viewport CSRs mapped into the PL space. Note iATU is
88 either by means of the embedded PHY viewport schema or by some
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hubp.c827 const struct rect *viewport, in min_set_viewport() argument
833 PRI_VIEWPORT_WIDTH, viewport->width, in min_set_viewport()
834 PRI_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport()
837 PRI_VIEWPORT_X_START, viewport->x, in min_set_viewport()
838 PRI_VIEWPORT_Y_START, viewport->y); in min_set_viewport()
842 SEC_VIEWPORT_WIDTH, viewport->width, in min_set_viewport()
843 SEC_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport()
846 SEC_VIEWPORT_X_START, viewport->x, in min_set_viewport()
847 SEC_VIEWPORT_Y_START, viewport->y); in min_set_viewport()
1182 int x_pos = pos->x - param->viewport.x; in hubp1_cursor_set_position()
[all …]
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()
A Ddcn10_hw_sequencer.c2792 size.surface_size = pipe_ctx->plane_res.scl_data.viewport; in dcn10_update_dchubp_dpp()
2816 &pipe_ctx->plane_res.scl_data.viewport, in dcn10_update_dchubp_dpp()
3425 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dcn10_set_cursor_position()
3521 pipe_ctx->plane_res.scl_data.viewport.width; in dcn10_set_cursor_position()
3523 pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position()
3551 (pos_cpy.y - pipe_ctx->plane_res.scl_data.viewport.x) + pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position()
3558 pipe_ctx->plane_res.scl_data.viewport.height; in dcn10_set_cursor_position()
3560 pipe_ctx->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
3585 pipe_ctx->top_pipe->plane_res.scl_data.viewport.y; in dcn10_set_cursor_position()
3614 pipe_ctx->plane_res.scl_data.viewport.width; in dcn10_set_cursor_position()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce60/
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-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_hubp.c188 const struct rect *viewport, in hubp21_set_viewport() argument
194 PRI_VIEWPORT_WIDTH, viewport->width, in hubp21_set_viewport()
195 PRI_VIEWPORT_HEIGHT, viewport->height); in hubp21_set_viewport()
198 PRI_VIEWPORT_X_START, viewport->x, in hubp21_set_viewport()
199 PRI_VIEWPORT_Y_START, viewport->y); in hubp21_set_viewport()
203 SEC_VIEWPORT_WIDTH, viewport->width, in hubp21_set_viewport()
204 SEC_VIEWPORT_HEIGHT, viewport->height); in hubp21_set_viewport()
207 SEC_VIEWPORT_X_START, viewport->x, in hubp21_set_viewport()
208 SEC_VIEWPORT_Y_START, viewport->y); in hubp21_set_viewport()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/
A Ddcn_calcs.c341 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
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()
951 + pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
955 - pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
958 - pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth()
960 int viewport_end = pipe->plane_res.scl_data.viewport.height in dcn_validate_bandwidth()
961 + pipe->plane_res.scl_data.viewport.y; in dcn_validate_bandwidth()
963 + pipe->bottom_pipe->plane_res.scl_data.viewport.y; in dcn_validate_bandwidth()
967 - pipe->bottom_pipe->plane_res.scl_data.viewport.y; in dcn_validate_bandwidth()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c797 swap(data->viewport.width, data->viewport.height); in calculate_viewport_size()
1050 &data->viewport.x, in calculate_inits_and_viewports()
1051 &data->viewport.width); in calculate_inits_and_viewports()
1070 &data->viewport.y, in calculate_inits_and_viewports()
1071 &data->viewport.height); in calculate_inits_and_viewports()
1083 swap(data->viewport.x, data->viewport.y); in calculate_inits_and_viewports()
1084 swap(data->viewport.width, data->viewport.height); in calculate_inits_and_viewports()
1088 data->viewport.x += src.x; in calculate_inits_and_viewports()
1089 data->viewport.y += src.y; in calculate_inits_and_viewports()
1246 pipe_ctx->plane_res.scl_data.viewport.x, in resource_build_scaling_params()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dgmc_v9_0.c1232 u32 viewport; in gmc_v9_0_get_vbios_fb_size() local
1237 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v9_0_get_vbios_fb_size()
1238 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1240 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1245 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2); in gmc_v9_0_get_vbios_fb_size()
1246 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1248 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size()
1253 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); in gmc_v9_0_get_vbios_fb_size()
1254 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v9_0_get_vbios_fb_size()
1255 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v9_0_get_vbios_fb_size()
A Dgmc_v6_0.c798 u32 viewport = RREG32(mmVIEWPORT_SIZE); in gmc_v6_0_get_vbios_fb_size() local
799 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v6_0_get_vbios_fb_size()
800 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v6_0_get_vbios_fb_size()
/linux-6.3-rc2/arch/arm64/boot/dts/marvell/
A Dcn9130-crb-A.dts15 num-viewport = <8>;
A Dcn9130-crb-B.dts15 num-viewport = <8>;
A Dcn9132-db.dtsi156 num-viewport = <8>;
166 num-viewport = <8>;
/linux-6.3-rc2/drivers/usb/phy/
A DMakefile24 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dpp.c267 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
268 scl_data->viewport.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dmem_input.h107 const struct rect *viewport,
A Dhubp.h113 const struct rect *viewport,
A Dtransform.h172 struct rect viewport; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_trace.h443 __entry->viewport_x = plane_res->scl_data.viewport.x;
444 __entry->viewport_y = plane_res->scl_data.viewport.y;
445 __entry->viewport_w = plane_res->scl_data.viewport.width;
446 __entry->viewport_h = plane_res->scl_data.viewport.height;

Completed in 51 milliseconds

123