| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_debug.c | 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() 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 D | dc.c | 2200 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type() 2201 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type() 2207 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type() 2208 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type() 2209 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type() 2210 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type() 2229 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type() 2230 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type() 2479 surface->dst_rect = in copy_surface_update_to_plane() 2480 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
|
| A D | dc_resource.c | 858 plane_state->dst_rect.width); in calculate_scaling_ratios() 861 plane_state->dst_rect.height); in calculate_scaling_ratios() 975 recout_full_x = stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_viewports() 977 recout_full_y = stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_viewports() 1188 plane_state->dst_rect.height, in resource_build_scaling_params() 1189 plane_state->dst_rect.width, in resource_build_scaling_params() 1190 plane_state->dst_rect.x, in resource_build_scaling_params() 1191 plane_state->dst_rect.y, in resource_build_scaling_params() 3026 plane_state->dst_rect.width == 0 || plane_state->dst_rect.height == 0) in dc_validate_plane()
|
| /linux/drivers/media/platform/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()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce60/ |
| 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()
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_plane.c | 174 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_bw() 219 dst_width = drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk() 220 dst_height = drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_calc_clk() 667 drm_rect_width(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 668 drm_rect_height(&pdpu->pipe_cfg.dst_rect), in _dpu_plane_setup_scaler() 705 drm_rect_width(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 707 drm_rect_height(&pdpu->pipe_cfg.dst_rect); in _dpu_plane_color_fill() 1117 pdpu->pipe_cfg.dst_rect = state->dst; in dpu_plane_sspp_atomic_update()
|
| 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()
|
| A D | dpu_hw_sspp.h | 162 struct drm_rect dst_rect; member
|
| A D | dpu_trace.h | 648 __field_struct( struct drm_rect, dst_rect ) 662 __entry->dst_rect = drm_plane_state_dest(state); 677 DRM_RECT_ARG(&__entry->dst_rect),
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| A D | amdgpu_dm_trace.h | 425 __entry->dst_x = plane_state->dst_rect.x; 426 __entry->dst_y = plane_state->dst_rect.y; 427 __entry->dst_w = plane_state->dst_rect.width; 428 __entry->dst_h = plane_state->dst_rect.height;
|
| A D | amdgpu_dm.c | 4654 scaling_info->dst_rect.x = state->crtc_x; in fill_dc_scaling_info() 4655 scaling_info->dst_rect.y = state->crtc_y; in fill_dc_scaling_info() 4660 scaling_info->dst_rect.width = state->crtc_w; in fill_dc_scaling_info() 4665 scaling_info->dst_rect.height = state->crtc_h; in fill_dc_scaling_info() 4668 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info() 4679 scale_w = scaling_info->dst_rect.width * 1000 / in fill_dc_scaling_info() 4685 scale_h = scaling_info->dst_rect.height * 1000 / in fill_dc_scaling_info() 5554 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| A D | dc.h | 959 struct rect dst_rect; member 1035 struct rect dst_rect; member
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
| A D | dcn10_hw_sequencer.c | 3312 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position() 3313 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position() 3336 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3338 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position() 3341 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position() 3343 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
|
| A D | dcn10_resource.c | 1235 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global() 1236 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
|
| /linux/drivers/gpu/drm/amd/display/dc/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()
|
| A D | dce110_hw_sequencer.c | 2830 pipe_ctx->plane_state->dst_rect.x, 2831 pipe_ctx->plane_state->dst_rect.y, 2832 pipe_ctx->plane_state->dst_rect.width, 2833 pipe_ctx->plane_state->dst_rect.height,
|
| /linux/drivers/gpu/drm/amd/display/dc/calcs/ |
| A D | dcn_calcs.c | 721 (pipe->plane_state->dst_rect.width <= 16 || in hack_bounding_box() 722 pipe->plane_state->dst_rect.height <= 16 || in hack_bounding_box()
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
| A D | dcn20_resource.c | 2671 (pipe->plane_state->dst_rect.width <= 16 || in dcn20_validate_apply_pipe_split_flags() 2672 pipe->plane_state->dst_rect.height <= 16 || in dcn20_validate_apply_pipe_split_flags()
|