drm/amd/display: Fix DML calculation errors
authorNicholas Susanto <nicholas.susanto@amd.com>
Fri, 21 Jul 2023 18:45:34 +0000 (14:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:15:23 +0000 (17:15 -0400)
commitd074e0f9ec57e6de09b06b24d208fefee222050f
tree8960825d863faad5f026b5915532ba2313854d7b
parentced575203a50d7de71b0839fe28284eee0e50f23
drm/amd/display: Fix DML calculation errors

[Why]
DML calculations differ with DCN3.1 spreadsheet values due to
translations errors from the visual basic code

[How]
Add missing calculations that set the value for DSCDelay

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c