drm/amd/powerplay: enable df cstate control on powerplay routine
authorEvan Quan <evan.quan@amd.com>
Thu, 10 Oct 2019 03:34:51 +0000 (11:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:48:09 +0000 (15:48 -0400)
commit06615f9a0c0d68566fc069729aade64a7dbadd58
tree97128c45152602d01ea0c982e802b34346a4da08
parentbc7ef86566bb233ff190dd7f4972b537d11558e4
drm/amd/powerplay: enable df cstate control on powerplay routine

Currently this is only supported on Vega20 with 40.50 and later
SMC firmware.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/vega20_ppsmc.h