Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A 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()
A Ddc.c2410 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2411 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2417 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2418 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2439 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
2440 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
2785 surface->dst_rect = in copy_surface_update_to_plane()
2786 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
3045 srf_updates[i].surface->dst_rect.width == 0 || in update_planes_and_stream_state()
3046 srf_updates[i].surface->dst_rect.height == 0) && in update_planes_and_stream_state()
[all …]
A Ddc_resource.c897 plane_state->dst_rect.width); in calculate_scaling_ratios()
900 plane_state->dst_rect.height); in calculate_scaling_ratios()
1014 recout_full_x = stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_viewports()
1016 recout_full_y = stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_viewports()
1103 if (!plane_state->dst_rect.width || in resource_build_scaling_params()
1104 !plane_state->dst_rect.height || in resource_build_scaling_params()
1258 plane_state->dst_rect.height, in resource_build_scaling_params()
1259 plane_state->dst_rect.width, in resource_build_scaling_params()
1260 plane_state->dst_rect.x, in resource_build_scaling_params()
1261 plane_state->dst_rect.y, in resource_build_scaling_params()
[all …]
/linux-6.3-rc2/drivers/media/platform/st/sti/bdisp/
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-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce60/
A 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-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_plane.c160 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
205 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
206 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
645 u32 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
646 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
711 pipe_cfg.dst_rect = pstate->base.dst; in _dpu_plane_color_fill()
716 drm_rect_width(&pipe_cfg.dst_rect); in _dpu_plane_color_fill()
718 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill()
1159 pipe_cfg.dst_rect = state->dst; in dpu_plane_sspp_atomic_update()
A Ddpu_hw_sspp.c481 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects()
482 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
483 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
A Ddpu_hw_sspp.h167 struct drm_rect dst_rect; member
A Ddpu_trace.h645 __field_struct( struct drm_rect, dst_rect )
659 __entry->dst_rect = drm_plane_state_dest(state);
674 DRM_RECT_ARG(&__entry->dst_rect),
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_plane.c1094 scaling_info->dst_rect.x = state->crtc_x; in fill_dc_scaling_info()
1095 scaling_info->dst_rect.y = state->crtc_y; in fill_dc_scaling_info()
1100 scaling_info->dst_rect.width = state->crtc_w; in fill_dc_scaling_info()
1105 scaling_info->dst_rect.height = state->crtc_h; in fill_dc_scaling_info()
1108 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info()
1119 scale_w = scaling_info->dst_rect.width * 1000 / in fill_dc_scaling_info()
1125 scale_h = scaling_info->dst_rect.height * 1000 / in fill_dc_scaling_info()
A Damdgpu_dm_trace.h427 __entry->dst_x = plane_state->dst_rect.x;
428 __entry->dst_y = plane_state->dst_rect.y;
429 __entry->dst_w = plane_state->dst_rect.width;
430 __entry->dst_h = plane_state->dst_rect.height;
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn314/
A Ddcn314_fpu.c307 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn314_populate_dml_pipes_from_context_fpu()
308 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn314_populate_dml_pipes_from_context_fpu()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_hwseq.c1281 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1282 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
A Ddcn32_resource_helpers.c245 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing()
A Ddcn32_resource.c1671 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect in dcn32_enable_phantom_plane()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc.h1157 struct rect dst_rect; member
1238 struct rect dst_rect; member
A Ddc_dmub_srv.c652 reduce_fraction(subvp_pipe->plane_state->src_rect.height, subvp_pipe->plane_state->dst_rect.height, in populate_subvp_cmd_pipe_info()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer.c3435 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position()
3436 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position()
3466 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position()
3468 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
3471 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position()
3473 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
A Ddcn10_resource.c1193 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1194 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_resource.c1039 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
1040 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
A Ddce110_hw_sequencer.c2751 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe()
2752 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe()
2753 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe()
2754 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_resource.c1690 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn31_populate_dml_pipes_from_context()
1691 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn31_populate_dml_pipes_from_context()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/calcs/
A 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-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.c1880 (pipe->plane_state->dst_rect.width <= 16 || in dcn20_validate_apply_pipe_split_flags()
1881 pipe->plane_state->dst_rect.height <= 16 || in dcn20_validate_apply_pipe_split_flags()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/
A Ddcn32_fpu.c2747 pipe->plane_state->dst_rect.height == 1440 && in dcn32_allow_subvp_with_active_margin()
2748 pipe->plane_state->dst_rect.width == 2560) in dcn32_allow_subvp_with_active_margin()

Completed in 85 milliseconds

12