linux/drivers/gpu/drm/amd/display/dc/dml
Dmytro Laktyushkin 6566cae7ae drm/amd/display: fix odm scaling
There are two issues with scaling calculations, odm recout
calculation and matching viewport to actual recout.

This change fixes both issues. Odm recout calculation via
special casing and viewport matching issue by reworking
the viewport calcualtion to use scaling ratios and recout
to derrive the required offset and size.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-27 12:26:17 -04:00
..
dcn20 drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
dcn21 drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
dcn30 drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
dc_features.h
display_mode_enums.h drm/amd/display: fix dml immediate flip input 2020-05-28 14:00:48 -04:00
display_mode_lib.c drm/amd/display: Cleanup DML DSC input bpc validation 2021-04-09 16:53:32 -04:00
display_mode_lib.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
display_mode_structs.h drm/amd/display: fix odm scaling 2021-05-27 12:26:17 -04:00
display_mode_vba.c drm/amd/display: fix odm scaling 2021-05-27 12:26:17 -04:00
display_mode_vba.h drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
display_rq_dlg_helpers.c
display_rq_dlg_helpers.h drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dml1_display_rq_dlg_calc.c drm/amd/display: Fix UBSAN: shift-out-of-bounds warning 2021-04-09 16:41:21 -04:00
dml1_display_rq_dlg_calc.h drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dml_inline_defs.h drm/amd/display: simplify dml log2 function 2020-05-28 14:00:50 -04:00
dml_logger.h
Makefile drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00