drm/amd/powerplay: enable fw ctf,apcc dfll and gfx ss
authorKenneth Feng <kenneth.feng@amd.com>
Tue, 16 Jul 2019 07:01:31 +0000 (15:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 19:49:57 +0000 (14:49 -0500)
commit597292eb73eefe4e48f9f72640955813d59b733a
treea78f1b07555ceb28e1791178af2ac62f68e19a1a
parentf216994613bc9f44202eac3a298e52124eb3e35e
drm/amd/powerplay: enable fw ctf,apcc dfll and gfx ss

enable fw ctf, apcc dfll and gfx ss on navi10.
fw ctf: when the fw ctf is triggered, the gfx and soc power domain
are shut down. fan speed is boosted to the maximum.
gfx ss: hardware feature, sanity check has been done.
apcc dfll: can check the scoreboard in smu fw to confirm if it's enabled.
no need to do further check since the gfx hardware control the frequency once
a pcc signal comes.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c