]> 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>
Thu, 6 Aug 2020 20:37:35 +0000 (16:37 -0400)
commita0de20616d241ae4a4155e1560414a89d999201f
tree9385835559a06fdca64a69bcb06821df5814c8dc
parent62b42c9202e5911391537e82dfb9a9142e278c7c
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