aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-09-14 04:28:01 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-09-16 15:52:51 -0400
commit72f417a2e0b1bdb0e2accc36fd4d3b64769dce0f (patch)
treeabb3afbbf0cfbff9be01f9261649ce4d4a83df9e /drivers
parentd932f37c4aa8b380f8ed529d1472a2ff49b95727 (diff)
drm/amd/powerplay: Partially revert change initialize platform caps
partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1 this will lead APU can't work. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
index 1b3151ce8f9e..524d0dd4f0e9 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
@@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
658 PHM_PlatformCaps_DynamicPatchPowerState); 658 PHM_PlatformCaps_DynamicPatchPowerState);
659 659
660 phm_cap_set(hwmgr->platform_descriptor.platformCaps, 660 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
661 PHM_PlatformCaps_TablelessHardwareInterface);
662
663 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
664 PHM_PlatformCaps_EnableSMU7ThermalManagement); 661 PHM_PlatformCaps_EnableSMU7ThermalManagement);
665 662
666 phm_cap_set(hwmgr->platform_descriptor.platformCaps, 663 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
667 PHM_PlatformCaps_DynamicPowerManagement); 664 PHM_PlatformCaps_DynamicPowerManagement);
668 665
669 phm_cap_set(hwmgr->platform_descriptor.platformCaps, 666 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
670 PHM_PlatformCaps_UnTabledHardwareInterface);
671
672 phm_cap_set(hwmgr->platform_descriptor.platformCaps,
673 PHM_PlatformCaps_SMC); 667 PHM_PlatformCaps_SMC);
674 668
675 phm_cap_set(hwmgr->platform_descriptor.platformCaps, 669 phm_cap_set(hwmgr->platform_descriptor.platformCaps,