Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c108 plane_state->dst_rect.x, in pre_surface_trace()
109 plane_state->dst_rect.y, in pre_surface_trace()
110 plane_state->dst_rect.width, in pre_surface_trace()
111 plane_state->dst_rect.height, in pre_surface_trace()
282 update->scaling_info->dst_rect.x, in update_surface_trace()
283 update->scaling_info->dst_rect.y, in update_surface_trace()
284 update->scaling_info->dst_rect.width, in update_surface_trace()
285 update->scaling_info->dst_rect.height, in update_surface_trace()
Ddc.c1450 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
1451 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height) { in get_scaling_info_update_type()
1454 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
1455 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
1456 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
1457 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
1476 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
1477 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
1677 surface->dst_rect = in copy_surface_update_to_plane()
1678 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
Ddc_resource.c571 dest = plane_state->dst_rect; in calculate_viewport()
730 plane_state->dst_rect.width); in calculate_scaling_ratios()
733 plane_state->dst_rect.height); in calculate_scaling_ratios()
880 recout_skip_h = data->recout.x - (stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_adj_vp()
882 src.x * plane_state->dst_rect.width / src.width in calculate_inits_and_adj_vp()
884 recout_skip_v = data->recout.y - (stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_adj_vp()
886 src.y * plane_state->dst_rect.height / src.height in calculate_inits_and_adj_vp()
1043 plane_state->dst_rect.height, in resource_build_scaling_params()
1044 plane_state->dst_rect.width, in resource_build_scaling_params()
1045 plane_state->dst_rect.x, in resource_build_scaling_params()
[all …]
/Linux-v5.4/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.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c459 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects()
460 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
461 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
Ddpu_hw_sspp.h160 struct drm_rect dst_rect; member
Ddpu_plane.c559 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
560 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler()
597 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
599 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill()
1001 pdpu->pipe_cfg.dst_rect = state->dst; in dpu_plane_sspp_atomic_update()
Ddpu_trace.h654 __field_struct( struct drm_rect, dst_rect )
668 __entry->dst_rect = drm_plane_state_dest(state);
683 DRM_RECT_ARG(&__entry->dst_rect),
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
Ddc.h720 struct rect dst_rect; member
792 struct rect dst_rect; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1169 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1170 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
Ddcn10_hw_sequencer.c2968 uint32_t x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position()
2969 uint32_t y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c967 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
968 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
Ddce110_hw_sequencer.c2552 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe()
2553 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe()
2554 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe()
2555 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2622 scaling_info->dst_rect.x = state->crtc_x; in fill_dc_scaling_info()
2623 scaling_info->dst_rect.y = state->crtc_y; in fill_dc_scaling_info()
2628 scaling_info->dst_rect.width = state->crtc_w; in fill_dc_scaling_info()
2633 scaling_info->dst_rect.height = state->crtc_h; in fill_dc_scaling_info()
2636 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info()
2639 scale_w = scaling_info->dst_rect.width * 1000 / in fill_dc_scaling_info()
2645 scale_h = scaling_info->dst_rect.height * 1000 / in fill_dc_scaling_info()
3067 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()