/linux-6.1.9/drivers/gpu/drm/amd/display/dc/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()
|
D | dcn32_resource_helpers.c | 87 full_vp_height = main_pipe->plane_res.scl_data.viewport.height; in dcn32_helper_calculate_num_ways_for_subvp() 99 full_vp_width_blk_aligned = ((pipe->plane_res.scl_data.viewport.x + in dcn32_helper_calculate_num_ways_for_subvp() 100 pipe->plane_res.scl_data.viewport.width + mblk_width - 1) / mblk_width * mblk_width) + in dcn32_helper_calculate_num_ways_for_subvp() 101 (pipe->plane_res.scl_data.viewport.x / mblk_width * mblk_width); in dcn32_helper_calculate_num_ways_for_subvp() 106 full_vp_height_blk_aligned = ((pipe->plane_res.scl_data.viewport.y + in dcn32_helper_calculate_num_ways_for_subvp() 108 (pipe->plane_res.scl_data.viewport.y / mblk_height * mblk_height); in dcn32_helper_calculate_num_ways_for_subvp() 114 … mall_alloc_height_blk_aligned = (pipe->plane_res.scl_data.viewport.height - 1 + mblk_height - 1) / in dcn32_helper_calculate_num_ways_for_subvp()
|
D | dcn32_hwseq.c | 244 mall_alloc_width_blk_aligned = ((pipe->plane_res.scl_data.viewport.x + in dcn32_calculate_cab_allocation() 245 pipe->plane_res.scl_data.viewport.width + mblk_width - 1) / mblk_width * mblk_width) - in dcn32_calculate_cab_allocation() 246 (pipe->plane_res.scl_data.viewport.x / mblk_width * mblk_width); in dcn32_calculate_cab_allocation() 253 mall_alloc_height_blk_aligned = ((pipe->plane_res.scl_data.viewport.y + in dcn32_calculate_cab_allocation() 254 pipe->plane_res.scl_data.viewport.height + mblk_height - 1) / mblk_height * mblk_height) - in dcn32_calculate_cab_allocation() 255 (pipe->plane_res.scl_data.viewport.y / mblk_height * mblk_height); in dcn32_calculate_cab_allocation()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
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.1.9/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.1.9/Documentation/devicetree/bindings/pci/ |
D | samsung,exynos-pcie.yaml | 64 num-viewport: 80 - num-viewport 110 num-viewport = <3>;
|
D | socionext,uniphier-pcie.yaml | 44 num-viewport: true 94 num-viewport = <1>;
|
D | snps,dw-pcie.yaml | 70 num-viewport:
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
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 …]
|
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()
|
D | dcn10_hw_sequencer.c | 2780 size.surface_size = pipe_ctx->plane_res.scl_data.viewport; in dcn10_update_dchubp_dpp() 2804 &pipe_ctx->plane_res.scl_data.viewport, in dcn10_update_dchubp_dpp() 3409 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dcn10_set_cursor_position() 3425 if ((pipe_ctx->plane_state->src_rect.width != pipe_ctx->plane_res.scl_data.viewport.width) || in dcn10_set_cursor_position() 3426 (pipe_ctx->plane_state->src_rect.height != pipe_ctx->plane_res.scl_data.viewport.height)) { in dcn10_set_cursor_position() 3505 pipe_ctx->plane_res.scl_data.viewport.width; in dcn10_set_cursor_position() 3507 pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position() 3534 pos_cpy.x = pipe_ctx->plane_res.scl_data.viewport.width - in dcn10_set_cursor_position() 3535 (pos_cpy.y - pipe_ctx->plane_res.scl_data.viewport.x) + pipe_ctx->plane_res.scl_data.viewport.x; in dcn10_set_cursor_position() 3542 pipe_ctx->plane_res.scl_data.viewport.height; in dcn10_set_cursor_position() [all …]
|
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
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.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 791 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size() 792 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size() 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() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v9_0.c | 1151 u32 viewport; in gmc_v9_0_get_vbios_fb_size() local 1156 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v9_0_get_vbios_fb_size() 1157 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1159 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1164 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2); in gmc_v9_0_get_vbios_fb_size() 1165 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1167 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 1172 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); in gmc_v9_0_get_vbios_fb_size() 1173 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v9_0_get_vbios_fb_size() 1174 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v9_0_get_vbios_fb_size()
|
/linux-6.1.9/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.1.9/drivers/usb/phy/ |
D | Makefile | 25 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
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.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 442 __entry->viewport_x = plane_res->scl_data.viewport.x; 443 __entry->viewport_y = plane_res->scl_data.viewport.y; 444 __entry->viewport_w = plane_res->scl_data.viewport.width; 445 __entry->viewport_h = plane_res->scl_data.viewport.height;
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mem_input.h | 107 const struct rect *viewport,
|
D | hubp.h | 113 const struct rect *viewport,
|
D | transform.h | 172 struct rect viewport; member
|