<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Reviewed-by: Ken Wang <Qingqing.Wang@amd.com><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Rex Zhu <Rex.Zhu@amd.com><br>
<b>发送时间:</b> 2016年8月3日 14:42:01<br>
<b>收件人:</b> amd-gfx@lists.freedesktop.org<br>
<b>抄送:</b> Zhu, Rex<br>
<b>主题:</b> [PATCH] drm/amd/powrplay: delete code set/unset deep_sleep/power_containment.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">they were controled by module parameter.<br>
<br>
Change-Id: Ia492c811191be2246bc6d2c3569ec250f1e66572<br>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com><br>
---<br>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 3 ---<br>
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c | 2 --<br>
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c | 3 +--<br>
3 files changed, 1 insertion(+), 7 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c<br>
index 8cc0df9..4015384 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c<br>
@@ -221,9 +221,6 @@ static int cz_initialize_dpm_defaults(struct pp_hwmgr *hwmgr)<br>
phm_cap_set(hwmgr->platform_descriptor.platformCaps,<br>
PHM_PlatformCaps_NonABMSupportInPPLib);<br>
<br>
- phm_cap_set(hwmgr->platform_descriptor.platformCaps,<br>
- PHM_PlatformCaps_SclkDeepSleep);<br>
-<br>
phm_cap_unset(hwmgr->platform_descriptor.platformCaps,<br>
PHM_PlatformCaps_DynamicM3Arbiter);<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c<br>
index c3b2f51..f5992ea 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c<br>
@@ -57,8 +57,6 @@ void fiji_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)<br>
<br>
/* Assume disabled */<br>
phm_cap_unset(hwmgr->platform_descriptor.platformCaps,<br>
- PHM_PlatformCaps_PowerContainment);<br>
- phm_cap_unset(hwmgr->platform_descriptor.platformCaps,<br>
PHM_PlatformCaps_CAC);<br>
phm_cap_unset(hwmgr->platform_descriptor.platformCaps,<br>
PHM_PlatformCaps_SQRamping);<br>
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c<br>
index d8ca59b..da87127 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c<br>
@@ -3847,8 +3847,7 @@ static int iceland_hwmgr_backend_init(struct pp_hwmgr *hwmgr)<br>
PHM_PlatformCaps_GFXClockGatingManagedInCAIL);<br>
phm_cap_set(hwmgr->platform_descriptor.platformCaps,<br>
PHM_PlatformCaps_IcelandULPSSWWorkAround);<br>
- phm_cap_set(hwmgr->platform_descriptor.platformCaps,<br>
- PHM_PlatformCaps_PowerContainment);<br>
+<br>
<br>
/* iceland doesn't support UVD and VCE */<br>
phm_cap_unset(hwmgr->platform_descriptor.platformCaps,<br>
-- <br>
1.9.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</div>
</span></font>
</body>
</html>