<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
</head>
<body>
if user select manual dpm mode,we will disabe autowattman.<br>
When switch to auto, we will restart the auto wattman on Polaris,<br>
Restore to default profile mode on other ASICS.<br>
<br>
<br>
Best Regards<br>
Rex
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Alex Deucher <alexdeucher@gmail.com><br>
<b>Sent:</b> Thursday, February 8, 2018 11:02:21 PM<br>
<b>To:</b> Zhu, Rex<br>
<b>Cc:</b> amd-gfx list<br>
<b>Subject:</b> Re: [PATCH 10/10] drm/amd/pp: Enable auto automan feature on Polaris</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Thu, Feb 8, 2018 at 4:14 AM, Rex Zhu <Rex.Zhu@amd.com> wrote:<br>
> Change-Id: I69b24ce65ddb361a89e5ac9b197ae6df9b60a9e5<br>
> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com><br>
<br>
Would be good to give a brief description of what autowattman actually<br>
does in the patch description. Also, we may need to manually select a<br>
profile in some cases (e.g., VR). Would that be a problem with<br>
autowattman?<br>
<br>
Alex<br>
<br>
> ---<br>
> drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 4 ++++<br>
> 1 file changed, 4 insertions(+)<br>
><br>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c<br>
> index f50b6cd..549e830 100644<br>
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c<br>
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c<br>
> @@ -1023,6 +1023,10 @@ int polaris_set_asic_special_caps(struct pp_hwmgr *hwmgr)<br>
> phm_cap_set(hwmgr->platform_descriptor.platformCaps,<br>
> PHM_PlatformCaps_TCPRamping);<br>
> }<br>
> +<br>
> + if (hwmgr->feature_mask & PP_AUTOWATTMAN_MASK)<br>
> + hwmgr->autowattman_enabled = true; /* currently only enabled on polaris */<br>
> +<br>
> return 0;<br>
> }<br>
><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></div>
</body>
</html>