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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2021 14:37:16 +0000 (15:37 +0100)
commit932ab13b8af3e46551869478a2dc03d11c8ba0a3
treefb575a60a405b8637f88cbebbfd48ad72de74005
parent95850b9d0b23c2a3a5b7bc0dc636aba95df182d3
drm/amd/display: Use hardware sequencer functions for PG control

[ Upstream commit c74f865f14318217350aa33363577cb95b06eb82 ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c