]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amd/display: Clean up global sync param retrieval
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 6 Jul 2020 14:54:37 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:23:14 +0000 (16:23 -0400)
commita00d8fd405ed7c071b2e3fa12a2e03d0a0d2d6fa
treed961b27209571e875bf43862712bf958c59e3c45
parent0eb52d81565588797d031d50f09fe871112f1138
drm/amd/display: Clean up global sync param retrieval

[Why]
This change replaces older looping code in favor of these functions.

[How]
There are built in functions for extracting global sync params
during mode validation now.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h