Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
H A Damdgpu_dc_debug.c112 plane_state->dst_rect.x, in pre_surface_trace()
113 plane_state->dst_rect.y, in pre_surface_trace()
114 plane_state->dst_rect.width, in pre_surface_trace()
115 plane_state->dst_rect.height, in pre_surface_trace()
286 update->scaling_info->dst_rect.x, in update_surface_trace()
287 update->scaling_info->dst_rect.y, in update_surface_trace()
288 update->scaling_info->dst_rect.width, in update_surface_trace()
289 update->scaling_info->dst_rect.height, in update_surface_trace()
H A Damdgpu_dc.c1593 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
1594 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
1600 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
1601 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
1602 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
1603 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
1622 || u->scaling_info->dst_rect.x != u->surface->dst_rect.x in get_scaling_info_update_type()
1623 || u->scaling_info->dst_rect.y != u->surface->dst_rect.y) in get_scaling_info_update_type()
1842 surface->dst_rect = in copy_surface_update_to_plane()
1843 srf_update->scaling_info->dst_rect; in copy_surface_update_to_plane()
H A Damdgpu_dc_resource.c564 dest = plane_state->dst_rect; in calculate_viewport()
723 plane_state->dst_rect.width); in calculate_scaling_ratios()
726 plane_state->dst_rect.height); in calculate_scaling_ratios()
873 recout_skip_h = data->recout.x - (stream->dst.x + (plane_state->dst_rect.x - stream->src.x) in calculate_inits_and_adj_vp()
875 src.x * plane_state->dst_rect.width / src.width in calculate_inits_and_adj_vp()
877 recout_skip_v = data->recout.y - (stream->dst.y + (plane_state->dst_rect.y - stream->src.y) in calculate_inits_and_adj_vp()
879 src.y * plane_state->dst_rect.height / src.height in calculate_inits_and_adj_vp()
1070 plane_state->dst_rect.height, in resource_build_scaling_params()
1071 plane_state->dst_rect.width, in resource_build_scaling_params()
1072 plane_state->dst_rect.x, in resource_build_scaling_params()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
H A Ddc.h744 struct rect dst_rect; member
813 struct rect dst_rect; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
H A Damdgpu_dce110_resource.c1018 if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) || in dce110_validate_plane()
1019 ((plane_state->dst_rect.height * 2) < plane_state->src_rect.height)) in dce110_validate_plane()
H A Damdgpu_dce110_hw_sequencer.c2544 pipe_ctx->plane_state->dst_rect.x, in dce110_program_front_end_for_pipe()
2545 pipe_ctx->plane_state->dst_rect.y, in dce110_program_front_end_for_pipe()
2546 pipe_ctx->plane_state->dst_rect.width, in dce110_program_front_end_for_pipe()
2547 pipe_ctx->plane_state->dst_rect.height, in dce110_program_front_end_for_pipe()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
H A Damdgpu_dcn10_resource.c1213 if (plane->src_rect.width > plane->dst_rect.width || in dcn10_validate_global()
1214 plane->src_rect.height > plane->dst_rect.height) in dcn10_validate_global()
H A Damdgpu_dcn10_hw_sequencer.c2963 int x_plane = pipe_ctx->plane_state->dst_rect.x; in dcn10_set_cursor_position()
2964 int y_plane = pipe_ctx->plane_state->dst_rect.y; in dcn10_set_cursor_position()
2970 pipe_ctx->plane_state->dst_rect.width; in dcn10_set_cursor_position()
2972 pipe_ctx->plane_state->dst_rect.height; in dcn10_set_cursor_position()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c3075 scaling_info->dst_rect.x = state->crtc_x; in fill_dc_scaling_info()
3076 scaling_info->dst_rect.y = state->crtc_y; in fill_dc_scaling_info()
3081 scaling_info->dst_rect.width = state->crtc_w; in fill_dc_scaling_info()
3086 scaling_info->dst_rect.height = state->crtc_h; in fill_dc_scaling_info()
3089 scaling_info->clip_rect = scaling_info->dst_rect; in fill_dc_scaling_info()
3092 scale_w = scaling_info->dst_rect.width * 1000 / in fill_dc_scaling_info()
3098 scale_h = scaling_info->dst_rect.height * 1000 / in fill_dc_scaling_info()
3516 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()