Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c107 plane_state->dst_rect.x, in pre_surface_trace()
108 plane_state->dst_rect.y, in pre_surface_trace()
109 plane_state->dst_rect.width, in pre_surface_trace()
110 plane_state->dst_rect.height, in pre_surface_trace()
281 update->scaling_info->dst_rect.x, in update_surface_trace()
282 update->scaling_info->dst_rect.y, in update_surface_trace()
283 update->scaling_info->dst_rect.width, in update_surface_trace()
284 update->scaling_info->dst_rect.height, in update_surface_trace()
Ddc.c1805 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
1806 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
1812 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
1813 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
1814 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
1815 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
1834 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
1835 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
2071 surface->dst_rect = in copy_surface_update_to_plane()
2072 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
Ddc_resource.c674 dest = plane_state->dst_rect; in calculate_viewport()
852 plane_state->dst_rect.width); in calculate_scaling_ratios()
855 plane_state->dst_rect.height); in calculate_scaling_ratios()
1013 - (stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_adj_vp()
1015 src.x * plane_state->dst_rect.width / src.width in calculate_inits_and_adj_vp()
1019 recout_skip_v = data->recout.y - (stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_adj_vp()
1021 src.y * plane_state->dst_rect.height / src.height in calculate_inits_and_adj_vp()
1224 plane_state->dst_rect.height, in resource_build_scaling_params()
1225 plane_state->dst_rect.width, in resource_build_scaling_params()
1226 plane_state->dst_rect.x, in resource_build_scaling_params()
[all …]
/Linux-v5.10/drivers/media/platform/sti/bdisp/
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-v5.10/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c357 pipe_ctx->plane_state->dst_rect.x, in dce60_program_front_end_for_pipe()
358 pipe_ctx->plane_state->dst_rect.y, in dce60_program_front_end_for_pipe()
359 pipe_ctx->plane_state->dst_rect.width, in dce60_program_front_end_for_pipe()
360 pipe_ctx->plane_state->dst_rect.height, in dce60_program_front_end_for_pipe()
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c474 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects()
475 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
476 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
Ddpu_plane.c163 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_bw()
201 dst_width = drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk()
202 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk()
652 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
653 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
690 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
692 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
1094 pdpu->pipe_cfg.dst_rect = state->dst; in dpu_plane_sspp_atomic_update()
Ddpu_hw_sspp.h161 struct drm_rect dst_rect; member
Ddpu_trace.h652 __field_struct( struct drm_rect, dst_rect )
666 __entry->dst_rect = drm_plane_state_dest(state);
681 DRM_RECT_ARG(&__entry->dst_rect),
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h831 struct rect dst_rect; member
904 struct rect dst_rect; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2623 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe()
2624 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe()
2625 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe()
2626 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
Ddce110_resource.c1047 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
1048 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1235 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1236 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
Ddcn10_hw_sequencer.c3382 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position()
3383 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position()
3405 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position()
3407 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3657 scaling_info->dst_rect.x = state->crtc_x; in fill_dc_scaling_info()
3658 scaling_info->dst_rect.y = state->crtc_y; in fill_dc_scaling_info()
3663 scaling_info->dst_rect.width = state->crtc_w; in fill_dc_scaling_info()
3668 scaling_info->dst_rect.height = state->crtc_h; in fill_dc_scaling_info()
3671 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info()
3674 scale_w = scaling_info->dst_rect.width * 1000 / in fill_dc_scaling_info()
3680 scale_h = scaling_info->dst_rect.height * 1000 / in fill_dc_scaling_info()
4141 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c718 (pipe->plane_state->dst_rect.width <= 16 || in hack_bounding_box()
719 pipe->plane_state->dst_rect.height <= 16 || in hack_bounding_box()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2673 (pipe->plane_state->dst_rect.width <= 16 ||
2674 pipe->plane_state->dst_rect.height <= 16 ||