drm/amd/pp: Add PCC feature support on Vega
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 2 Mar 2018 05:50:59 +0000 (13:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:39:20 +0000 (15:39 -0500)
commit15826fbfef16a20799fa7c990df758b455bf7b62
tree37893ac6add6e86bf19bb32387bc9d8bad39cc80
parentcc1bb66fbc26c29d360fab4b8d66fb7f278a2564
drm/amd/pp: Add PCC feature support on Vega

This features controls vega peak current protection to allow
for a wider compatibility with power supplies.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h