drm/amd/powerplay: add the smu manager for vega20 (v2)
authorEvan Quan <evan.quan@amd.com>
Thu, 2 Aug 2018 20:52:41 +0000 (15:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:26 +0000 (11:10 -0500)
commitf4eac80add11572fe36800c045a1ed1fd9132ec0
tree69163098dbb622066fe22913b469a19309208bfd
parentb9443b572c0614c54bc475abf5b3b7e6e88c1158
drm/amd/powerplay: add the smu manager for vega20 (v2)

The SMU manager handles the driver interaction with the SMU
which handles clock and voltage controls.

v2: switch to SOC15 register access macros
    reserve space for ActivityMonitor table
    enable SMU fw loading
    Drop dead code from bringup

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/Makefile
drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.h [new file with mode: 0644]