Searched refs:dst_rect (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_debug.c | 108 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()
|
D | dc.c | 1161 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 1162 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height) { in get_scaling_info_update_type() 1165 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 1166 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 1167 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 1168 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type() 1187 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type() 1188 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
|
D | dc_resource.c | 523 data->viewport.x = surf_src.x + (clip.x - plane_state->dst_rect.x) * in calculate_viewport() 524 surf_src.width / plane_state->dst_rect.width; in calculate_viewport() 526 surf_src.width / plane_state->dst_rect.width; in calculate_viewport() 528 data->viewport.y = surf_src.y + (clip.y - plane_state->dst_rect.y) * in calculate_viewport() 529 surf_src.height / plane_state->dst_rect.height; in calculate_viewport() 531 surf_src.height / plane_state->dst_rect.height; in calculate_viewport() 640 recout_full->x = stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_recout() 642 surf_src.x * plane_state->dst_rect.width / surf_src.width in calculate_recout() 644 recout_full->y = stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_recout() 646 surf_src.y * plane_state->dst_rect.height / surf_src.height in calculate_recout() [all …]
|
/Linux-v4.19/drivers/media/platform/sti/bdisp/ |
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-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.c | 468 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects() 469 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects() 470 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
|
D | dpu_hw_sspp.h | 168 struct drm_rect dst_rect; member
|
D | dpu_plane.c | 756 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 757 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 807 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 809 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 1310 pdpu->pipe_cfg.dst_rect = dst; in dpu_plane_sspp_atomic_update()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 473 struct rect dst_rect; member 530 struct rect dst_rect; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 882 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane() 883 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
|
D | dce110_hw_sequencer.c | 2684 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe() 2685 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe() 2686 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe() 2687 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 1922 plane_state->dst_rect.x = state->crtc_x; in fill_rects_from_plane_state() 1923 plane_state->dst_rect.y = state->crtc_y; in fill_rects_from_plane_state() 1928 plane_state->dst_rect.width = state->crtc_w; in fill_rects_from_plane_state() 1933 plane_state->dst_rect.height = state->crtc_h; in fill_rects_from_plane_state() 1935 plane_state->clip_rect = plane_state->dst_rect; in fill_rects_from_plane_state() 4199 scaling_info[i].dst_rect = plane_states[i]->dst_rect; in commit_planes_to_stream()
|