| /linux/drivers/media/platform/st/sti/bdisp/ |
| H A 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/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_sspp.h | 152 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/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_utils.c | 301 memcpy(&phantom_plane->dst_rect, &main_plane->dst_rect, sizeof(phantom_plane->dst_rect)); in dml21_add_phantom_plane()
|
| H A D | dml21_translation_helper.c | 650 plane->composition.scaler_info.rect_out_width = plane_state->dst_rect.width; in populate_dml21_plane_config_from_plane_state() 660 plane_state->dst_rect.height >= stream->src.height && in populate_dml21_plane_config_from_plane_state()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.c | 1184 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info() 1185 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info() 1190 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info() 1195 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info() 1198 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info() 1209 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info() 1215 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
|
| H A D | amdgpu_dm.c | 6324 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes() 8115 dc_plane_state->dst_rect.height = stream->src.height; in dm_validate_stream_and_context() 8116 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 D | dc_resource.c | 1204 plane_state->dst_rect.width); in calculate_scaling_ratios() 1207 plane_state->dst_rect.height); in calculate_scaling_ratios() 1320 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() 1504 !plane_state->dst_rect.width || in resource_build_scaling_params() 1505 !plane_state->dst_rect.height || in resource_build_scaling_params() 1675 plane_state->dst_rect.height, in resource_build_scaling_params() 1676 plane_state->dst_rect.width, in resource_build_scaling_params() 1677 plane_state->dst_rect.x, in resource_build_scaling_params() 1678 plane_state->dst_rect.y, in resource_build_scaling_params() 5218 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| H A D | dce110_resource.c | 1049 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane() 1050 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| H A D | dcn10_resource.c | 1216 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global() 1217 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 3107 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe() 3108 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe() 3109 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe() 3110 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 1702 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in dcn32_enable_phantom_plane()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc.h | 1515 struct rect dst_rect; member 1880 struct rect dst_rect; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1695 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn31_populate_dml_pipes_from_context() 1696 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn31_populate_dml_pipes_from_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1686 != res_ctx->pipe_ctx[i].plane_state->dst_rect.width || in allow_pixel_rate_crb() 1688 != res_ctx->pipe_ctx[i].plane_state->dst_rect.height))) in allow_pixel_rate_crb()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1889 (pipe->plane_state->dst_rect.width <= 16 || in dcn20_validate_apply_pipe_split_flags() 1890 pipe->plane_state->dst_rect.height <= 16 || in dcn20_validate_apply_pipe_split_flags()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_translation_helper.c | 1128 out->ScalerRecoutWidth[location] = in->dst_rect.width; in populate_dml_plane_cfg_from_plane_state()
|