| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_plane.c | 131 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw() 172 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk() 173 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk() 541 u32 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 542 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 580 struct drm_rect *dst_rect, in _dpu_plane_color_fill_pipe() argument 593 pipe_cfg.dst_rect = *dst_rect; in _dpu_plane_color_fill_pipe() 598 drm_rect_width(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 600 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 643 &pstate->pipe_cfg[i].dst_rect, in _dpu_plane_color_fill() [all …]
|
| H A D | dpu_hw_sspp.h | 152 struct drm_rect dst_rect; member 370 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_setup_rects_impl() 371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl() 372 drm_rect_width(&cfg->dst_rect); in dpu_hw_setup_rects_impl()
|
| H A D | dpu_trace.h | 662 __field_struct( struct drm_rect, dst_rect ) 676 __entry->dst_rect = drm_plane_state_dest(state); 691 DRM_RECT_ARG(&__entry->dst_rect),
|
| /linux/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-hw.c | 766 struct v4l2_rect dst_rect = dst->crop; in bdisp_hw_build_node() local 782 dst_rect.left += dst_x_offset; in bdisp_hw_build_node() 783 dst_rect.width = (src_rect.width * dst_width) / ctx->src.crop.width; in bdisp_hw_build_node() 839 dst_rect.height /= 2; in bdisp_hw_build_node() 840 dst_rect.width /= 2; in bdisp_hw_build_node() 841 dst_rect.left /= 2; in bdisp_hw_build_node() 842 dst_rect.top /= 2; in bdisp_hw_build_node() 847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node() 850 dst_rect.left; in bdisp_hw_build_node() 852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource_helpers.c | 223 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing() 599 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling_for_res() 600 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling_for_res()
|
| H A D | dcn32_resource.c | 1661 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.c | 1185 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info() 1186 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info() 1191 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info() 1196 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info() 1199 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info() 1210 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info() 1216 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
|
| H A D | amdgpu_dm.c | 6248 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes() 8039 dc_plane_state->dst_rect.height = stream->src.height; in dm_validate_stream_and_context() 8040 dc_plane_state->dst_rect.width = stream->src.width; in dm_validate_stream_and_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
| H A D | dcn351_fpu.c | 521 pipe->plane_state->dst_rect.height || in dcn351_populate_dml_pipes_from_context_fpu() 523 pipe->plane_state->dst_rect.width)) in dcn351_populate_dml_pipes_from_context_fpu()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
| H A D | dcn35_fpu.c | 488 pipe->plane_state->dst_rect.height || in dcn35_populate_dml_pipes_from_context_fpu() 490 pipe->plane_state->dst_rect.width)) in dcn35_populate_dml_pipes_from_context_fpu()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 2796 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 2797 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 2810 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 2811 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 2812 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 2813 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type() 2828 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type() 2829 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) { in get_scaling_info_update_type() 3113 surface->dst_rect = in copy_surface_update_to_plane() 3114 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane() [all …]
|
| H A D | dc_resource.c | 1197 plane_state->dst_rect.width); in calculate_scaling_ratios() 1200 plane_state->dst_rect.height); in calculate_scaling_ratios() 1313 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() 1497 !plane_state->dst_rect.width || in resource_build_scaling_params() 1498 !plane_state->dst_rect.height || in resource_build_scaling_params() 1668 plane_state->dst_rect.height, in resource_build_scaling_params() 1669 plane_state->dst_rect.width, in resource_build_scaling_params() 1670 plane_state->dst_rect.x, in resource_build_scaling_params() 1671 plane_state->dst_rect.y, in resource_build_scaling_params() 5199 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 1453 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position() 1454 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| H A D | dcn10_hwseq.c | 3665 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position() 3666 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position() 3702 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3704 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position() 3707 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3709 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position() 3711 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3713 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_translation_helper.c | 630 plane->composition.scaler_info.rect_out_width = plane_state->dst_rect.width; in populate_dml21_plane_config_from_plane_state() 639 plane_state->dst_rect.height >= stream->src.height && in populate_dml21_plane_config_from_plane_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
| H A D | dcn32_clk_mgr.c | 498 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling() 499 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| H A D | dcn10_resource.c | 1180 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global() 1181 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| H A D | dce110_resource.c | 1045 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane() 1046 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 2996 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe() 2997 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe() 2998 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe() 2999 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc.h | 1471 struct rect dst_rect; member 1832 struct rect dst_rect; member
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/ |
| H A D | dcn401_clk_mgr.c | 403 pipe->plane_state->dst_rect.width == width && in dcn401_check_native_scaling() 404 pipe->plane_state->dst_rect.height == height) in dcn401_check_native_scaling()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1653 != res_ctx->pipe_ctx[i].plane_state->dst_rect.width || in allow_pixel_rate_crb() 1655 != res_ctx->pipe_ctx[i].plane_state->dst_rect.height))) in allow_pixel_rate_crb()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1662 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn31_populate_dml_pipes_from_context() 1663 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn31_populate_dml_pipes_from_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| H A D | dcn_calcs.c | 718 (pipe->plane_state->dst_rect.width <= 16 || in hack_bounding_box() 719 pipe->plane_state->dst_rect.height <= 16 || in hack_bounding_box()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1846 (pipe->plane_state->dst_rect.width <= 16 || in dcn20_validate_apply_pipe_split_flags() 1847 pipe->plane_state->dst_rect.height <= 16 || in dcn20_validate_apply_pipe_split_flags()
|