drm/amd/display: Use hardware sequencer functions for PG control
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Sun, 13 Dec 2020 15:59:01 +0000 (10:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:18 +0000 (16:38 -0500)
commitd2138be3831499e1d112bb5994f30870f08e6df0
tree345acbdae64479f4522292a44db864c0b8e42cf7
parent7a214cd84680698987d8f1dc4afe59746320c904
drm/amd/display: Use hardware sequencer functions for PG control

[Why & How]
These can differ per ASIC or not be present. Don't call the dcn20 ones
directly but rather the ones defined by the ASIC init table.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c