]> git.baikalelectronics.ru Git - 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)
commit9e0242f7cc95fd81e086cf3c91f9ef6b2086f18c
treed961b27209571e875bf43862712bf958c59e3c45
parente10dd4e92d8a6b860dc9eea945bcd4db2718c550
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