/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A 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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_dpp.c | 190 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 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.3-rc2/Documentation/devicetree/bindings/pci/ |
A D | samsung,exynos-pcie.yaml | 64 num-viewport: 80 - num-viewport 110 num-viewport = <3>;
|
A D | socionext,uniphier-pcie.yaml | 44 num-viewport: true 94 num-viewport = <1>;
|
A D | toshiba,visconti-pcie.yaml | 90 num-viewport = <8>;
|
A D | snps,dw-pcie-ep.yaml | 73 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 D | dcn10_hubp.c | 827 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 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()
|
A D | dcn10_hw_sequencer.c | 2792 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 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_hubp.c | 188 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 D | dcn_calcs.c | 341 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 D | dc_resource.c | 797 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 D | gmc_v9_0.c | 1232 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 D | gmc_v6_0.c | 798 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 D | cn9130-crb-A.dts | 15 num-viewport = <8>;
|
A D | cn9130-crb-B.dts | 15 num-viewport = <8>;
|
A D | cn9132-db.dtsi | 156 num-viewport = <8>; 166 num-viewport = <8>;
|
/linux-6.3-rc2/drivers/usb/phy/ |
A D | Makefile | 24 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_dpp.c | 267 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 D | mem_input.h | 107 const struct rect *viewport,
|
A D | hubp.h | 113 const struct rect *viewport,
|
A D | transform.h | 172 struct rect viewport; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_trace.h | 443 __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;
|