drm/amd/display: DML21 Update Prefetch Calculations
authorAustin Zheng <Austin.Zheng@amd.com>
Tue, 26 Nov 2024 16:39:32 +0000 (11:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:31:52 +0000 (10:31 -0500)
commitfae0e342f56a96511c97f6f50bd9cb9497e47206
treedc694d0dba94604773bce56ba0ff9b18c69709fe
parent58a8467a3493c0817c95aa53c6ef0d17a508f544
drm/amd/display: DML21 Update Prefetch Calculations

[Why/How]
Mismatch between mode support and mode programming occurs.
Mode support would calculate higher row vblank than mode programming.
As a result, mode programming fails and hardware isn't properly programmed.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c