]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/powerplay: delete code set/unset deep_sleep/power_containment.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 3 Aug 2016 06:37:19 +0000 (14:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:26 +0000 (11:33 -0400)
they were controled by module parameter.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c

index 8cc0df9b534ac4dc0105f9e0418203e408a33755..40153847675a05ec4be977bb2cc8e55bf5fa45d6 100644 (file)
@@ -221,9 +221,6 @@ static int cz_initialize_dpm_defaults(struct pp_hwmgr *hwmgr)
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                                    PHM_PlatformCaps_NonABMSupportInPPLib);
 
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                                          PHM_PlatformCaps_SclkDeepSleep);
-
        phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
                                        PHM_PlatformCaps_DynamicM3Arbiter);
 
index c3b2f511e3640b006883dcfbc417383a420ad57a..f5992ea0c56f96fea6c87c3f26325e2b4ceba77f 100644 (file)
@@ -56,8 +56,6 @@ void fiji_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)
                fiji_hwmgr->power_tune_defaults = &fiji_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,
index d8ca59b283d323acb3abc303896ba817e47bd839..f48f3eac5ba4bd6b895c437dd2b4eb76513cbd74 100644 (file)
@@ -3621,9 +3621,6 @@ static int iceland_hwmgr_backend_init(struct pp_hwmgr *hwmgr)
        data->engine_clock_data = 0;
        data->memory_clock_data = 0;
 
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                   PHM_PlatformCaps_SclkDeepSleep);
-
        phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
                      PHM_PlatformCaps_SclkDeepSleepAboveLow);
 
@@ -3847,8 +3844,7 @@ static int iceland_hwmgr_backend_init(struct pp_hwmgr *hwmgr)
                        PHM_PlatformCaps_GFXClockGatingManagedInCAIL);
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                        PHM_PlatformCaps_IcelandULPSSWWorkAround);
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                       PHM_PlatformCaps_PowerContainment);
+
 
        /* iceland doesn't support UVD and VCE */
        phm_cap_unset(hwmgr->platform_descriptor.platformCaps,