Home
last modified time | relevance | path

Searched refs:scaling_info (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c259 if (update->scaling_info) { in update_surface_trace()
277 update->scaling_info->src_rect.x, in update_surface_trace()
278 update->scaling_info->src_rect.y, in update_surface_trace()
279 update->scaling_info->src_rect.width, in update_surface_trace()
280 update->scaling_info->src_rect.height, in update_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()
285 update->scaling_info->clip_rect.x, in update_surface_trace()
[all …]
Ddc.c2066 if (!u->scaling_info) in get_scaling_info_update_type()
2069 if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width in get_scaling_info_update_type()
2070 || u->scaling_info->clip_rect.height != u->surface->clip_rect.height in get_scaling_info_update_type()
2071 || u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2072 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2073 || u->scaling_info->scaling_quality.integer_scaling != in get_scaling_info_update_type()
2078 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2079 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2080 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2081 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
[all …]
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c4675 struct dc_scaling_info *scaling_info) in fill_dc_scaling_info() argument
4679 memset(scaling_info, 0, sizeof(*scaling_info)); in fill_dc_scaling_info()
4682 scaling_info->src_rect.x = state->src_x >> 16; in fill_dc_scaling_info()
4683 scaling_info->src_rect.y = state->src_y >> 16; in fill_dc_scaling_info()
4698 (scaling_info->src_rect.x != 0 || in fill_dc_scaling_info()
4699 scaling_info->src_rect.y != 0)) in fill_dc_scaling_info()
4702 scaling_info->src_rect.width = state->src_w >> 16; in fill_dc_scaling_info()
4703 if (scaling_info->src_rect.width == 0) in fill_dc_scaling_info()
4706 scaling_info->src_rect.height = state->src_h >> 16; in fill_dc_scaling_info()
4707 if (scaling_info->src_rect.height == 0) in fill_dc_scaling_info()
[all …]
/drivers/gpu/drm/amd/display/dc/
Ddc.h986 const struct dc_scaling_info *scaling_info; member