/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_debug.c | 95 "plane_state->dst_rect.x = %d;\n" in pre_surface_trace() 96 "plane_state->dst_rect.y = %d;\n" in pre_surface_trace() 97 "plane_state->dst_rect.width = %d;\n" in pre_surface_trace() 98 "plane_state->dst_rect.height = %d;\n" in pre_surface_trace() 107 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() 265 "scaling_info->dst_rect.x = %d;\n" in update_surface_trace() 266 "scaling_info->dst_rect in update_surface_trace() [all...] |
H A D | dc.c | 1820 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 1821 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 1827 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 1828 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 1829 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 1830 || u->scaling_info->dst_rect in get_scaling_info_update_type() [all...] |
H A D | dc_resource.c | 674 dest = plane_state->dst_rect; in calculate_viewport() 717 /* offset = surf_src.ofs + (clip.ofs - surface->dst_rect.ofs) * scl_ratio in calculate_viewport() 852 plane_state->dst_rect.width); in calculate_scaling_ratios() 855 plane_state->dst_rect.height); in calculate_scaling_ratios() 1013 - (stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_adj_vp() 1015 src.x * plane_state->dst_rect.width / src.width in calculate_inits_and_adj_vp() 1019 recout_skip_v = data->recout.y - (stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_adj_vp() 1021 src.y * plane_state->dst_rect.height / src.height in calculate_inits_and_adj_vp() 1207 "src_rect: height:%d width:%d x:%d y:%d dst_rect: height:%d width:%d x:%d y:%d clip_rect: height:%d width:%d x:%d y:%d\n", in resource_build_scaling_params() 1224 plane_state->dst_rect in resource_build_scaling_params() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_debug.c | 95 "plane_state->dst_rect.x = %d;\n" in pre_surface_trace() 96 "plane_state->dst_rect.y = %d;\n" in pre_surface_trace() 97 "plane_state->dst_rect.width = %d;\n" in pre_surface_trace() 98 "plane_state->dst_rect.height = %d;\n" in pre_surface_trace() 107 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() 265 "scaling_info->dst_rect.x = %d;\n" in update_surface_trace() 266 "scaling_info->dst_rect in update_surface_trace() [all...] |
H A D | dc.c | 2458 if (u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 2459 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 2465 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 2466 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 2467 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 2468 || u->scaling_info->dst_rect in get_scaling_info_update_type() [all...] |
H A D | dc_resource.c | 1193 plane_state->dst_rect.width); in calculate_scaling_ratios() 1196 plane_state->dst_rect.height); in calculate_scaling_ratios() 1309 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() 1397 if (!plane_state->dst_rect.width || in resource_build_scaling_params() 1398 !plane_state->dst_rect.height || in resource_build_scaling_params() 1509 "src_rect: height:%d width:%d x:%d y:%d dst_rect: height:%d width:%d x:%d y:%d clip_rect: height:%d width:%d x:%d y:%d\n", in resource_build_scaling_params() 1526 plane_state->dst_rect.height, in resource_build_scaling_params() 1527 plane_state->dst_rect.width, in resource_build_scaling_params() 1528 plane_state->dst_rect.x, in resource_build_scaling_params() 1529 plane_state->dst_rect in resource_build_scaling_params() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 131 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() 539 u32 dst_width = drm_rect_width(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 540 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 578 struct drm_rect *dst_rect, in _dpu_plane_color_fill_pipe() 591 pipe_cfg.dst_rect = *dst_rect; in _dpu_plane_color_fill_pipe() 596 drm_rect_width(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 598 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 576 _dpu_plane_color_fill_pipe(struct dpu_plane_state *pstate, struct dpu_sw_pipe *pipe, struct drm_rect *dst_rect, u32 fill_color, const struct dpu_format *fmt) _dpu_plane_color_fill_pipe() argument [all...] |
H A D | dpu_hw_sspp.c | 440 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects() 441 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects() 442 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
|
H A D | dpu_hw_sspp.h | 163 struct drm_rect dst_rect; member
|
H A D | dpu_trace.h | 622 __field_struct( struct drm_rect, dst_rect ) 636 __entry->dst_rect = drm_plane_state_dest(state); 651 DRM_RECT_ARG(&__entry->dst_rect),
|
/kernel/linux/linux-5.10/drivers/media/platform/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 in bdisp_hw_build_node() [all...] |
/kernel/linux/linux-6.6/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 in bdisp_hw_build_node() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 357 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/ |
H A D | dce60_hw_sequencer.c | 357 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_sspp.c | 476 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1; in dpu_hw_sspp_setup_rects() 477 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_sspp_setup_rects() 478 drm_rect_width(&cfg->dst_rect); in dpu_hw_sspp_setup_rects()
|
H A D | dpu_plane.c | 164 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_bw() 201 dst_width = drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk() 202 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk() 652 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 653 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 690 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 692 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 1094 pdpu->pipe_cfg.dst_rect = state->dst; in dpu_plane_sspp_atomic_update()
|
H A D | dpu_hw_sspp.h | 161 struct drm_rect dst_rect; member
|
H A D | dpu_trace.h | 652 __field_struct( struct drm_rect, dst_rect ) 666 __entry->dst_rect = drm_plane_state_dest(state); 681 DRM_RECT_ARG(&__entry->dst_rect),
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_trace.h | 427 __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;
|
H A D | amdgpu_dm_plane.c | 1085 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info() 1086 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info() 1091 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info() 1096 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info() 1099 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info() 1110 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info() 1116 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 239 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing() 615 pipe->plane_state->dst_rect.width == width && in dcn32_check_native_scaling_for_res() 616 pipe->plane_state->dst_rect.height == height) in dcn32_check_native_scaling_for_res()
|
H A D | dcn32_hwseq.c | 1367 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position() 1368 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 351 (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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dc.h | 831 struct rect dst_rect; member 904 struct rect dst_rect; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_hw_sequencer.c | 2628 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe() 2629 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe() 2630 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe() 2631 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
|