drm/amd/powerplay: fix issue power containment not enabled on Tonga.
authorRex Zhu <[email protected]>
Mon, 5 Sep 2016 10:34:18 +0000 (18:34 +0800)
committerAlex Deucher <[email protected]>
Mon, 12 Sep 2016 22:12:19 +0000 (18:12 -0400)
Signed-off-by: Rex Zhu <[email protected]>
Acked-by: Flora Cui <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_powertune.c

index 9496ade3247efe09d3b24e1864d5b147590aa3ca..24d9a05e7997015dd245a103a853b3e4851ff5bd 100644 (file)
@@ -56,9 +56,6 @@ void tonga_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)
        else
                tonga_hwmgr->power_tune_defaults = &tonga_power_tune_data_set_array[0];
 
-       /* Assume disabled */
-       phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
-                       PHM_PlatformCaps_PowerContainment);
        phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
                        PHM_PlatformCaps_CAC);
        phm_cap_unset(hwmgr->platform_descriptor.platformCaps,