<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Acked-by: Alex Deucher <alexander.deucher@amd.com><br>
</div>
<div id="appendonsend"></div>
<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> Quan, Evan <Evan.Quan@amd.com><br>
<b>Sent:</b> Tuesday, August 24, 2021 11:58 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Chen, Guchun <Guchun.Chen@amd.com>; Quan, Evan <Evan.Quan@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: reenable BACO support for 699F:C7 polaris12 SKU</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">This reverts the commit below:<br>
"drm/amdgpu: disable BACO support for 699F:C7 polaris12 SKU temporarily".<br>
As the S3 hang issue has been fixed by another commit:<br>
"drm/amdgpu: add missing cleanups for Polaris12 UVD/VCE on suspend".<br>
<br>
Change-Id: I5ea08a75eedd7fe32c7fa0b448f5bae1f390abe6<br>
Signed-off-by: Evan Quan <evan.quan@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/vi.c | 9 +--------<br>
1 file changed, 1 insertion(+), 8 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c<br>
index 42a35d9520f9..fe9a7cc8d9eb 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/vi.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c<br>
@@ -904,14 +904,7 @@ static bool vi_asic_supports_baco(struct amdgpu_device *adev)<br>
case CHIP_POLARIS11:<br>
case CHIP_POLARIS12:<br>
case CHIP_TOPAZ:<br>
- /* Disable BACO support for the specific polaris12 SKU temporarily */<br>
- if ((adev->pdev->device == 0x699F) &&<br>
- (adev->pdev->revision == 0xC7) &&<br>
- (adev->pdev->subsystem_vendor == 0x1028) &&<br>
- (adev->pdev->subsystem_device == 0x0039))<br>
- return false;<br>
- else<br>
- return amdgpu_dpm_is_baco_supported(adev);<br>
+ return amdgpu_dpm_is_baco_supported(adev);<br>
default:<br>
return false;<br>
}<br>
-- <br>
2.29.0<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>