]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: remove ODM combine before bandwidth validation
authorWenjing Liu <wenjing.liu@amd.com>
Tue, 28 May 2024 20:52:15 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:17:16 +0000 (16:17 -0400)
commitc006d1a15a9cf9df6a68a2f6b870fc55eacd9054
treefd5fa7f6ac15ce8cb8621a10dd4a23f18c1334dc
parent3ddd9c83ff7ac0ead38188425b14d03dc2f2c133
drm/amd/display: remove ODM combine before bandwidth validation

[why]
DML1 validation code doesn't have the ability to remove ODM combine.
It will directly translate currently used ODM combine config into ODM
override. If ODM combine is used in the initial state it will only
validate the timing if ODM is used. This is not correct for dynamic ODM u
se case, as ODM is used as an optimization not a hard requirement.

[how]
Remove ODM combine in the initial state before bandwidth validation so
DML will not translate it into ODM override in the initial bandwidth
validation.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/dcn32/dcn32_fpu.c