Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.h152 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()
/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/core/
H A Ddc.c2934 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2935 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2948 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2949 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2950 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2951 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
2966 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
2967 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) { in get_scaling_info_update_type()
3360 surface->dst_rect = in copy_surface_update_to_plane()
3361 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
[all …]