/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 523 data->viewport.x = surf_src.x + (clip.x - plane_state->dst_rect.x) * in calculate_viewport() 525 data->viewport.width = clip.width * in calculate_viewport() 528 data->viewport.y = surf_src.y + (clip.y - plane_state->dst_rect.y) * in calculate_viewport() 530 data->viewport.height = clip.height * in calculate_viewport() 534 data->viewport_c.x = data->viewport.x / vpc_div; in calculate_viewport() 535 data->viewport_c.y = data->viewport.y / vpc_div; in calculate_viewport() 536 data->inits.h_c = (data->viewport.x % vpc_div) != 0 ? in calculate_viewport() 538 data->inits.v_c = (data->viewport.y % vpc_div) != 0 ? in calculate_viewport() 541 data->viewport_c.width = (data->viewport.width + vpc_div - 1) / vpc_div; in calculate_viewport() 542 data->viewport_c.height = (data->viewport.height + vpc_div - 1) / vpc_div; in calculate_viewport() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubp.c | 771 const struct rect *viewport, in min_set_viewport() argument 777 PRI_VIEWPORT_WIDTH, viewport->width, in min_set_viewport() 778 PRI_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport() 781 PRI_VIEWPORT_X_START, viewport->x, in min_set_viewport() 782 PRI_VIEWPORT_Y_START, viewport->y); in min_set_viewport() 786 SEC_VIEWPORT_WIDTH, viewport->width, in min_set_viewport() 787 SEC_VIEWPORT_HEIGHT, viewport->height); in min_set_viewport() 790 SEC_VIEWPORT_X_START, viewport->x, in min_set_viewport() 791 SEC_VIEWPORT_Y_START, viewport->y); in min_set_viewport() 1071 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in hubp1_cursor_set_position() [all …]
|
D | dcn10_dpp.c | 142 if (scl_data->viewport.width > scl_data->recout.width) in dpp_get_optimal_number_of_taps() 145 pixel_width = scl_data->viewport.width; in dpp_get_optimal_number_of_taps() 154 if (scl_data->viewport.width > scl_data->h_active && in dpp_get_optimal_number_of_taps() 156 scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width) in dpp_get_optimal_number_of_taps() 448 int src_x_offset = pos->x - pos->x_hotspot - param->viewport.x; in dpp1_set_cursor_position() 451 if (src_x_offset >= (int)param->viewport.width) in dpp1_set_cursor_position()
|
D | dcn10_dpp_dscl.c | 409 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions() 410 scl_data->viewport.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
|
D | dcn10_hw_sequencer.c | 2041 size.grph.surface_size = pipe_ctx->plane_res.scl_data.viewport; in update_dchubp_dpp() 2063 &pipe_ctx->plane_res.scl_data.viewport, in update_dchubp_dpp() 2588 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dcn10_set_cursor_position()
|
D | dcn10_hubp.h | 721 const struct rect *viewport,
|
/Linux-v4.19/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()
|
D | dce110_hw_sequencer.c | 2698 pipe_ctx->plane_res.scl_data.viewport.width, in dce110_program_front_end_for_pipe() 2699 pipe_ctx->plane_res.scl_data.viewport.height, in dce110_program_front_end_for_pipe() 2700 pipe_ctx->plane_res.scl_data.viewport.x, in dce110_program_front_end_for_pipe() 2701 pipe_ctx->plane_res.scl_data.viewport.y, in dce110_program_front_end_for_pipe() 2817 .viewport = pipe_ctx->plane_res.scl_data.viewport, in dce110_set_cursor_position()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 276 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params() 277 input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; in pipe_ctx_to_e2e_pipe_params() 278 input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params() 279 input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params() 866 v->viewport_height[input_idx] = pipe->plane_res.scl_data.viewport.height; in dcn_validate_bandwidth() 867 v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width; in dcn_validate_bandwidth() 872 int viewport_end = pipe->plane_res.scl_data.viewport.width in dcn_validate_bandwidth() 873 + pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth() 874 int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width in dcn_validate_bandwidth() 875 + pipe->bottom_pipe->plane_res.scl_data.viewport.x; in dcn_validate_bandwidth() [all …]
|
D | dce_calcs.c | 2796 data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); in populate_initial_data() 2798 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data() 2850 …t[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.height); in populate_initial_data() 2851 …th[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.width); in populate_initial_data() 2894 data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); in populate_initial_data() 2896 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v9_0.c | 815 u32 viewport; in gmc_v9_0_get_vbios_fb_size() 819 viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION); in gmc_v9_0_get_vbios_fb_size() 820 size = (REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 822 REG_GET_FIELD(viewport, in gmc_v9_0_get_vbios_fb_size() 829 viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE); in gmc_v9_0_get_vbios_fb_size() 830 size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v9_0_get_vbios_fb_size() 831 REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v9_0_get_vbios_fb_size()
|
D | gmc_v6_0.c | 832 u32 viewport = RREG32(mmVIEWPORT_SIZE); in gmc_v6_0_get_vbios_fb_size() local 833 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v6_0_get_vbios_fb_size() 834 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v6_0_get_vbios_fb_size()
|
D | gmc_v7_0.c | 964 u32 viewport = RREG32(mmVIEWPORT_SIZE); in gmc_v7_0_get_vbios_fb_size() local 965 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v7_0_get_vbios_fb_size() 966 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v7_0_get_vbios_fb_size()
|
D | gmc_v8_0.c | 1060 u32 viewport = RREG32(mmVIEWPORT_SIZE); in gmc_v8_0_get_vbios_fb_size() local 1061 size = (REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_HEIGHT) * in gmc_v8_0_get_vbios_fb_size() 1062 REG_GET_FIELD(viewport, VIEWPORT_SIZE, VIEWPORT_WIDTH) * in gmc_v8_0_get_vbios_fb_size()
|
/Linux-v4.19/drivers/usb/phy/ |
D | Makefile | 25 obj-$(CONFIG_USB_ULPI_VIEWPORT) += phy-ulpi-viewport.o
|
D | Kconfig | 184 controllers with a viewport register (e.g. Chipidea/ARC controllers).
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | hubp.h | 70 const struct rect *viewport,
|
D | mem_input.h | 100 const struct rect *viewport,
|
D | transform.h | 174 struct rect viewport; member
|
/Linux-v4.19/Documentation/devicetree/bindings/pci/ |
D | designware-pcie.txt | 35 - num-viewport: number of view ports configured in hardware. If a platform
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 393 program_viewport(xfm_dce, &data->viewport); in dce_transform_set_scaler() 897 int pixel_width = scl_data->viewport.width; in dce_transform_get_optimal_number_of_taps() 901 (scl_data->viewport.width > scl_data->recout.width)) in dce_transform_get_optimal_number_of_taps()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dc_hw_types.h | 407 struct rect viewport; member
|
/Linux-v4.19/arch/arm64/boot/dts/marvell/ |
D | armada-8040-mcbin.dts | 185 num-viewport = <8>;
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 1466 SVGA3dRect viewport; member
|
/Linux-v4.19/Documentation/media/v4l-drivers/ |
D | philips.rst | 216 64 0x40 Show viewport and image sizes Off
|