Skip to contentSkip to conversation

drm/amd/powrplay: delete code set/unset deep_sleep/power_containment.

PATCH In review Rex Zhu 2 participants 2 messages Aug 3, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amd/powrplay: delete code set/unset deep_sleep/power_containment.

they were controled by module parameter.

Change-Id Ia492c811191be2246bc6d2c3569ec250f1e66572
---
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c       | 3 ---
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c | 2 --
 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c  | 3 +--
 3 files changed, 1 insertion(+), 7 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +0 -3
index 8cc0df9..4015384 100644
@@ -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);
 
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c +0 -2
index c3b2f51..f5992ea 100644
@@ -57,8 +57,6 @@ void fiji_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)
 
 	/* 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,
 			PHM_PlatformCaps_SQRamping);
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c +1 -2
index d8ca59b..da87127 100644
@@ -3847,8 +3847,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,
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1470206521-5439-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

Reviewed-by Ken Wang
#2 lore raw

________________________________
发件人: amd-gfx <[email protected]> 代表 Rex Zhu <[email protected]> 发送时间: 2016年8月3日 14:42:01
收件人: [email protected]
抄送: Zhu, Rex
主题: [PATCH] drm/amd/powrplay: delete code set/unset deep_sleep/power_containment.

they were controled by module parameter.

Change-Id Ia492c811191be2246bc6d2c3569ec250f1e66572
---
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c       | 3 ---
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c | 2 --
 drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c  | 3 +--
 3 files changed, 1 insertion(+), 7 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +0 -3
index 8cc0df9..4015384 100644
@@ -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);
 
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c +0 -2
index c3b2f51..f5992ea 100644
@@ -57,8 +57,6 @@ void fiji_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)
 
         /* 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,
                         PHM_PlatformCaps_SQRamping);
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c +1 -2
index d8ca59b..da87127 100644
@@ -3847,8 +3847,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,

--
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx