OSDN Git Service

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)
commit7c146177b3368feda6dbb0e01b085c84d9774589
tree9385835559a06fdca64a69bcb06821df5814c8dc
parentc4e0dbcb201a79639e5e74f456d8313893a259f5
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