Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c261 if (update->scaling_info) { in update_surface_trace()
279 update->scaling_info->src_rect.x, in update_surface_trace()
280 update->scaling_info->src_rect.y, in update_surface_trace()
281 update->scaling_info->src_rect.width, in update_surface_trace()
282 update->scaling_info->src_rect.height, in update_surface_trace()
283 update->scaling_info->dst_rect.x, in update_surface_trace()
284 update->scaling_info->dst_rect.y, in update_surface_trace()
285 update->scaling_info->dst_rect.width, in update_surface_trace()
286 update->scaling_info->dst_rect.height, in update_surface_trace()
287 update->scaling_info->clip_rect.x, in update_surface_trace()
[all …]
Ddc.c2477 if (!u->scaling_info) in get_scaling_info_update_type()
2480 if (u->scaling_info->dst_rect.width != u->surface->dst_rect.width in get_scaling_info_update_type()
2481 || u->scaling_info->dst_rect.height != u->surface->dst_rect.height in get_scaling_info_update_type()
2482 || u->scaling_info->scaling_quality.integer_scaling != in get_scaling_info_update_type()
2487 if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width in get_scaling_info_update_type()
2488 || u->scaling_info->dst_rect.height < u->surface->dst_rect.height) in get_scaling_info_update_type()
2489 && (u->scaling_info->dst_rect.width < u->surface->src_rect.width in get_scaling_info_update_type()
2490 || u->scaling_info->dst_rect.height < u->surface->src_rect.height)) in get_scaling_info_update_type()
2495 if (u->scaling_info->src_rect.width != u->surface->src_rect.width in get_scaling_info_update_type()
2496 || u->scaling_info->src_rect.height != u->surface->src_rect.height) { in get_scaling_info_update_type()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1142 struct dc_scaling_info *scaling_info) in amdgpu_dm_plane_fill_dc_scaling_info() argument
1146 memset(scaling_info, 0, sizeof(*scaling_info)); in amdgpu_dm_plane_fill_dc_scaling_info()
1149 scaling_info->src_rect.x = state->src_x >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1150 scaling_info->src_rect.y = state->src_y >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1167 (scaling_info->src_rect.x != 0 || scaling_info->src_rect.y != 0))) in amdgpu_dm_plane_fill_dc_scaling_info()
1170 scaling_info->src_rect.width = state->src_w >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1171 if (scaling_info->src_rect.width == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1174 scaling_info->src_rect.height = state->src_h >> 16; in amdgpu_dm_plane_fill_dc_scaling_info()
1175 if (scaling_info->src_rect.height == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1178 scaling_info->dst_rect.x = state->crtc_x; in amdgpu_dm_plane_fill_dc_scaling_info()
[all …]
Damdgpu_dm_plane.h40 struct dc_scaling_info *scaling_info);
Damdgpu_dm.c5590 struct dc_scaling_info scaling_info; in fill_dc_plane_attributes() local
5595 ret = amdgpu_dm_plane_fill_dc_scaling_info(adev, plane_state, &scaling_info); in fill_dc_plane_attributes()
5599 dc_plane_state->src_rect = scaling_info.src_rect; in fill_dc_plane_attributes()
5600 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
5601 dc_plane_state->clip_rect = scaling_info.clip_rect; in fill_dc_plane_attributes()
5602 dc_plane_state->scaling_quality = scaling_info.scaling_quality; in fill_dc_plane_attributes()
9039 bundle->surface_updates[planes_count].scaling_info = in amdgpu_dm_commit_planes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_display_cfg_types.h305 } scaling_info; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c925 …am_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_height in dml2_core_shared_mode_support()
926 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_width in dml2_core_shared_mode_support()
927 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.input_height in dml2_core_shared_mode_support()
931 …am_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_height in dml2_core_shared_mode_support()
932 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_width in dml2_core_shared_mode_support()
933 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.input_height in dml2_core_shared_mode_support()
968 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.h_ratio > mode_… in dml2_core_shared_mode_support()
969 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.v_ratio > mode_… in dml2_core_shared_mode_support()
970 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.h_ratio < mode_… in dml2_core_shared_mode_support()
971 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.v_ratio < mode_… in dml2_core_shared_mode_support()
[all …]
Ddml2_core_dcn4_calcs.c6569scaling_info.output_height * (double)p->display_cfg->stream_descriptors[p->display_cfg->plane_desc… in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
7199 …am_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_height in dml_core_mode_support()
7200 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_width in dml_core_mode_support()
7201 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.input_height in dml_core_mode_support()
7205 …am_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_height in dml_core_mode_support()
7206 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.output_width in dml_core_mode_support()
7207 …eam_descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.input_height in dml_core_mode_support()
7229 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.h_ratio > mode_… in dml_core_mode_support()
7230 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.v_ratio > mode_… in dml_core_mode_support()
7231 …descriptors[display_cfg->plane_descriptors[k].stream_index].writeback.scaling_info.h_ratio < mode_… in dml_core_mode_support()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc.h1496 const struct dc_scaling_info *scaling_info; member