Home
last modified time | relevance | path

Searched refs:dst_rect (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c131 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 Ddpu_hw_sspp.h152 struct drm_rect dst_rect; member
H A Ddpu_trace.h662 __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 Dbdisp-hw.c766 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 Ddcn32_resource_helpers.c223 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()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1180 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()
1181 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info()
1186 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info()
1191 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info()
1194 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info()
1205 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
1211 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
H A Damdgpu_dm.c6204 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
7992 dc_plane_state->dst_rect.height = stream->src.height; in dm_validate_stream_and_context()
7993 dc_plane_state->dst_rect.width = stream->src.width; in dm_validate_stream_and_context()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c2795 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2796 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2809 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2810 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2811 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2812 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
2827 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
2828 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) { in get_scaling_info_update_type()
3107 surface->dst_rect = in copy_surface_update_to_plane()
3108 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
[all …]
H A Ddc_resource.c1197 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/dml/dcn351/
H A Ddcn351_fpu.c521 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 Ddcn35_fpu.c488 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/
H A Ddc.h1448 struct rect dst_rect; member
1809 struct rect dst_rect; member