drm/amd/display: make clk_mgr call enable_pme_wa
authorSu Sung Chung <Su.Chung@amd.com>
Thu, 30 May 2019 18:59:03 +0000 (14:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:51:25 +0000 (12:51 -0500)
commita1651530a3bacf1d796fdb7bc587faef9f305d36
tree05b5ec74b3c0ed41d59a322f22039e75880284a8
parent16b6253a083707734bf05b4377095e9c9f2102cc
drm/amd/display: make clk_mgr call enable_pme_wa

refactor a code so we will call clk_mgr's enable_pme_wa function so we
can use pme_wa for future asics. This way we don't need to worry about
different ASIC since clk_mgr already have that information

Signed-off-by: Su Sung Chung <Su.Chung@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c