]> www.infradead.org Git - linux.git/commit
drm/amd/display: Fix MS/MP mismatches in dml21 for dcn401
authorDillon Varone <dillon.varone@amd.com>
Wed, 14 Aug 2024 21:32:16 +0000 (17:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:52:07 +0000 (17:52 -0400)
commit949237a34dba3f0218857f5afa0dde2076dd8c82
tree812272a9405e9b6e4a23c15358d7b3dba5315ce4
parentf0b7dcf25834afd17df316367dfe5d4c890c713c
drm/amd/display: Fix MS/MP mismatches in dml21 for dcn401

[WHY]
Prefetch calculations did not guarantee that bandwidth required in
mode support was less than mode programming which can cause failures.

[HOW]
Fix bandwidth calculations to assume fixed times for OTO schedule,
and choose which schedule to use based on time to fetch pixel data.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@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
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h