| /drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_plane.c | 578 struct drm_rect *dst_rect, in _dpu_plane_color_fill_pipe() argument 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() 792 DRM_RECT_ARG(&pipe_cfg->dst_rect)); in dpu_plane_atomic_check_pipe() 891 pipe_cfg->dst_rect.x2 = (pipe_cfg->dst_rect.x1 + pipe_cfg->dst_rect.x2) >> 1; in dpu_plane_atomic_check_nosspp() 893 r_pipe_cfg->dst_rect.x1 = pipe_cfg->dst_rect.x2; in dpu_plane_atomic_check_nosspp() 1048 (pipe_cfg->dst_rect.x1 >= prev_pipe_cfg->dst_rect.x2 || in dpu_plane_try_multirect_shared() 1049 prev_pipe_cfg->dst_rect.x1 >= pipe_cfg->dst_rect.x2)) { in dpu_plane_try_multirect_shared() 1061 if (pipe_cfg->dst_rect.y1 >= prev_pipe_cfg->dst_rect.y2 + 2 * max_tile_height || in dpu_plane_try_multirect_shared() [all …]
|
| A D | dpu_hw_sspp.c | 435 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()
|
| A D | dpu_hw_sspp.h | 151 struct drm_rect dst_rect; member
|
| A D | dpu_trace.h | 662 __field_struct( struct drm_rect, dst_rect ) 676 __entry->dst_rect = drm_plane_state_dest(state); 691 DRM_RECT_ARG(&__entry->dst_rect),
|
| /drivers/media/platform/st/sti/bdisp/ |
| 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()
|
| /drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_debug.c | 158 update->scaling_info->dst_rect.x, in update_surface_trace() 159 update->scaling_info->dst_rect.y, in update_surface_trace() 160 update->scaling_info->dst_rect.width, in update_surface_trace() 161 update->scaling_info->dst_rect.height, in update_surface_trace()
|
| A D | dc.c | 2719 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 2720 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 2732 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 2733 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 2750 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type() 2751 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type() 3073 surface->dst_rect = in copy_surface_update_to_plane() 3074 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane() 3461 srf_updates[i].surface->dst_rect.width == 0 || in update_planes_and_stream_state() 3462 srf_updates[i].surface->dst_rect.height == 0) && in update_planes_and_stream_state() [all …]
|
| A D | dc_resource.c | 1150 plane_state->dst_rect.width); in calculate_scaling_ratios() 1153 plane_state->dst_rect.height); in calculate_scaling_ratios() 1266 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() 1450 !plane_state->dst_rect.width || in resource_build_scaling_params() 1451 !plane_state->dst_rect.height || in resource_build_scaling_params() 1621 plane_state->dst_rect.height, in resource_build_scaling_params() 1622 plane_state->dst_rect.width, in resource_build_scaling_params() 1623 plane_state->dst_rect.x, in resource_build_scaling_params() 1624 plane_state->dst_rect.y, in resource_build_scaling_params() 5099 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
|
| /drivers/gpu/drm/amd/display/dc/hwss/dce60/ |
| A D | dce60_hwseq.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()
|
| /drivers/gpu/drm/amd/display/dc/ |
| A D | dc_spl_translate.c | 106 populate_splrect_from_rect(&spl_in->basic_out.dst_rect, &stream->dst); in translate_SPL_in_params_from_pipe_ctx() 112 populate_splrect_from_rect(&spl_in->basic_in.dst_rect, &plane_state->dst_rect); in translate_SPL_in_params_from_pipe_ctx()
|
| A D | dc.h | 1380 struct rect dst_rect; member 1741 struct rect dst_rect; member
|
| /drivers/gpu/drm/amd/display/dc/sspl/ |
| A D | dc_spl_types.h | 443 struct spl_rect dst_rect; // Destination Rect member 470 struct spl_rect dst_rect; // Destination Rect member
|
| A D | dc_spl.c | 159 const struct spl_rect *stream_dst = &spl_in->basic_out.dst_rect; in calculate_plane_rec_in_timing_active() 405 &spl_in->basic_out.dst_rect); in spl_calculate_recout() 436 const int out_w = spl_in->basic_out.dst_rect.width; in spl_calculate_scaling_ratios() 437 const int out_h = spl_in->basic_out.dst_rect.height; in spl_calculate_scaling_ratios() 447 spl_in->basic_in.dst_rect.width); in spl_calculate_scaling_ratios() 450 spl_in->basic_in.dst_rect.height); in spl_calculate_scaling_ratios() 620 spl_in, &spl_in->basic_in.dst_rect); in spl_calculate_inits_and_viewports()
|
| /drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
| A D | dml21_utils.c | 299 memcpy(&phantom_plane->dst_rect, &main_plane->dst_rect, sizeof(phantom_plane->dst_rect)); in dml21_add_phantom_plane()
|
| /drivers/gpu/drm/amd/display/amdgpu_dm/ |
| 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;
|
| A D | amdgpu_dm_plane.c | 1179 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info() 1180 scaling_info->dst_rect.y = state->crtc_y; in amdgpu_dm_plane_fill_dc_scaling_info() 1185 scaling_info->dst_rect.width = state->crtc_w; in amdgpu_dm_plane_fill_dc_scaling_info() 1190 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info() 1193 scaling_info->clip_rect = scaling_info->dst_rect; in amdgpu_dm_plane_fill_dc_scaling_info() 1204 scale_w = scaling_info->dst_rect.width * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info() 1210 scale_h = scaling_info->dst_rect.height * 1000 / in amdgpu_dm_plane_fill_dc_scaling_info()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| 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()
|
| /drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| A D | dcn32_resource_helpers.c | 223 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()
|
| /drivers/gpu/drm/amd/display/dc/dml2/ |
| A D | dml2_mall_phantom.c | 761 …memcpy(&phantom_plane->dst_rect, &curr_pipe->plane_state->dst_rect, sizeof(phantom_plane->dst_rect… in enable_phantom_plane()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn351/ |
| A D | dcn351_fpu.c | 519 pipe->plane_state->dst_rect.height || in dcn351_populate_dml_pipes_from_context_fpu() 521 pipe->plane_state->dst_rect.width)) in dcn351_populate_dml_pipes_from_context_fpu()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn35/ |
| A D | dcn35_fpu.c | 486 pipe->plane_state->dst_rect.height || in dcn35_populate_dml_pipes_from_context_fpu() 488 pipe->plane_state->dst_rect.width)) in dcn35_populate_dml_pipes_from_context_fpu()
|
| /drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| A D | dcn32_hwseq.c | 1443 phantom_plane->dst_rect.x = pipe->plane_state->dst_rect.x; in dcn32_update_phantom_vp_position() 1444 phantom_plane->dst_rect.y = pipe->plane_state->dst_rect.y; in dcn32_update_phantom_vp_position()
|
| /drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
| A D | dcn32_clk_mgr.c | 498 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()
|
| /drivers/gpu/drm/amd/display/dc/resource/dce110/ |
| A D | dce110_resource.c | 1040 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()
|
| /drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| A D | dcn10_resource.c | 1179 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global() 1180 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
|