Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c109 plane_state->dst_rect.x, in pre_surface_trace()
110 plane_state->dst_rect.y, in pre_surface_trace()
111 plane_state->dst_rect.width, in pre_surface_trace()
112 plane_state->dst_rect.height, in pre_surface_trace()
283 update->scaling_info->dst_rect.x, in update_surface_trace()
284 update->scaling_info->dst_rect.y, in update_surface_trace()
285 update->scaling_info->dst_rect.width, in update_surface_trace()
286 update->scaling_info->dst_rect.height, in update_surface_trace()
Ddc.c2480 if (u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2481 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2487 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2488 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2489 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2490 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
2519 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
2520 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
2812 surface->dst_rect = in copy_surface_update_to_plane()
2813 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
[all …]
Ddc_resource.c1152 plane_state->dst_rect.width); in calculate_scaling_ratios()
1155 plane_state->dst_rect.height); in calculate_scaling_ratios()
1268 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports()
1476 if (!plane_state->dst_rect.width || in resource_build_scaling_params()
1477 !plane_state->dst_rect.height || in resource_build_scaling_params()
1624 plane_state->dst_rect.height, in resource_build_scaling_params()
1625 plane_state->dst_rect.width, in resource_build_scaling_params()
1626 plane_state->dst_rect.x, in resource_build_scaling_params()
1627 plane_state->dst_rect.y, in resource_build_scaling_params()
4822 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c131 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
172 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
173 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
540 u32 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
541 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
579 struct drm_rect *dst_rect, in _dpu_plane_color_fill_pipe() argument
592 pipe_cfg.dst_rect = *dst_rect; in _dpu_plane_color_fill_pipe()
597 drm_rect_width(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe()
599 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe()
637 _dpu_plane_color_fill_pipe(pstate, &pstate->pipe, &pstate->pipe_cfg.dst_rect, in _dpu_plane_color_fill()
[all …]
Ddpu_hw_sspp.c435 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects()
436 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects()
437 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
Ddpu_hw_sspp.h148 struct drm_rect dst_rect; member
Ddpu_trace.h662 __field_struct( struct drm_rect, dst_rect )
676 __entry->dst_rect = drm_plane_state_dest(state);
691 DRM_RECT_ARG(&__entry->dst_rect),
/linux-6.12.1/drivers/media/platform/st/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-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/
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.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_spl_translate.c99 populate_splrect_from_rect(&spl_in->basic_out.dst_rect, &stream->dst); in translate_SPL_in_params_from_pipe_ctx()
105 populate_splrect_from_rect(&spl_in->basic_in.dst_rect, &plane_state->dst_rect); in translate_SPL_in_params_from_pipe_ctx()
Ddc.h1291 struct rect dst_rect; member
1474 struct rect dst_rect; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl_types.h436 struct spl_rect dst_rect; // Destination Rect member
454 struct spl_rect dst_rect; // Destination Rect member
Ddc_spl.c110 const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect; in calculate_plane_rec_in_timing_active()
334 &spl_in->basic_out.dst_rect); in spl_calculate_recout()
365 const int out_w = spl_in->basic_out.dst_rect.width; in spl_calculate_scaling_ratios()
366 const int out_h = spl_in->basic_out.dst_rect.height; in spl_calculate_scaling_ratios()
376 spl_in->basic_in.dst_rect.width); in spl_calculate_scaling_ratios()
379 spl_in->basic_in.dst_rect.height); in spl_calculate_scaling_ratios()
568 spl_in, &spl_in->basic_in.dst_rect); in spl_calculate_inits_and_viewports()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
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;
Damdgpu_dm_plane.c1178 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()
1179 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info()
1184 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info()
1189 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info()
1192 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info()
1203 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
1209 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddcn314_fpu.c351 (pipe->plane_state->src_rect.height < pipe->plane_state->dst_rect.height || in dcn314_populate_dml_pipes_from_context_fpu()
352 pipe->plane_state->src_rect.width < pipe->plane_state->dst_rect.width)) in dcn314_populate_dml_pipes_from_context_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource_helpers.c223 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing()
599 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling_for_res()
600 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling_for_res()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_utils.c399 memcpy(&phantom_plane->dst_rect, &main_plane->dst_rect, sizeof(phantom_plane->dst_rect)); in dml21_add_phantom_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_mall_phantom.c761 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect in enable_phantom_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn35/
Ddcn35_fpu.c484 pipe->plane_state->dst_rect.height || in dcn35_populate_dml_pipes_from_context_fpu()
486 pipe->plane_state->dst_rect.width)) in dcn35_populate_dml_pipes_from_context_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn351/
Ddcn351_fpu.c518 pipe->plane_state->dst_rect.height || in dcn351_populate_dml_pipes_from_context_fpu()
520 pipe->plane_state->dst_rect.width)) in dcn351_populate_dml_pipes_from_context_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c1433 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position()
1434 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c498 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling()
499 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce110/
Ddce110_resource.c1040 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
1041 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn10/
Ddcn10_resource.c1191 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1192 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()

12