<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><font size="3" color="black" face="Calibri,Helvetica,sans-serif"><span style="font-size:12pt;" dir="ltr"><font size="2"><span style="font-size:11pt;"><span class="currentHitHighlight" id="0.1965201842331269" name="searchHitInReadingPane" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Reviewed</span><span style="color: rgb(0, 0, 0);">-by:
Rex Zhu <Rex.Zhu@amd.com></span></span></font><font size="2"><span style="font-size:11pt;"><br>
</span></font><font size="2"><span style="font-size:11pt;"><br>
Regards</span></font><font size="2"><span style="font-size:11pt;"><br>
Rex</span></font></span></font><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Alex Deucher <alexdeucher@gmail.com><br>
<b>Sent:</b> Thursday, September 20, 2018 11:05 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> Deucher, Alexander; stable@vger.kernel.org<br>
<b>Subject:</b> [PATCH] drm/amdgpu: add new polaris pci id</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Add new pci id.<br>
<br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com><br>
Cc: stable@vger.kernel.org<br>
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 14 ++++++++------<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +<br>
2 files changed, 9 insertions(+), 6 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c<br>
index 693ec5ea4950..8816c697b205 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c<br>
@@ -367,12 +367,14 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,<br>
break;<br>
case CHIP_POLARIS10:<br>
if (type == CGS_UCODE_ID_SMU) {<br>
- if ((adev->pdev->device == 0x67df) &&<br>
- ((adev->pdev->revision == 0xe0) ||<br>
- (adev->pdev->revision == 0xe3) ||<br>
- (adev->pdev->revision == 0xe4) ||<br>
- (adev->pdev->revision == 0xe5) ||<br>
- (adev->pdev->revision == 0xe7) ||<br>
+ if (((adev->pdev->device == 0x67df) &&<br>
+ ((adev->pdev->revision == 0xe0) ||<br>
+ (adev->pdev->revision == 0xe3) ||<br>
+ (adev->pdev->revision == 0xe4) ||<br>
+ (adev->pdev->revision == 0xe5) ||<br>
+ (adev->pdev->revision == 0xe7) ||<br>
+ (adev->pdev->revision == 0xef))) ||<br>
+ ((adev->pdev->device == 0x6fdf) &&<br>
(adev->pdev->revision == 0xef))) {<br>
info->is_kicker = true;<br>
strcpy(fw_name, "amdgpu/polaris10_k_smc.bin");<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
index ff10df4f50d3..b536808f62ec 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c<br>
@@ -837,6 +837,7 @@ static const struct pci_device_id pciidlist[] = {<br>
{0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},<br>
{0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},<br>
{0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},<br>
+ {0x1002, 0x6FDF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},<br>
/* Polaris12 */<br>
{0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},<br>
{0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},<br>
-- <br>
2.13.6<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" id="LPlnk781055" class="OWAAutoLink" previewremoved="true">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
<div id="LPBorder_GT_15374133612380.3943062631994061" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15374133612360.14867005219577956" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_15374133612380.46817862060444804" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_15374133612380.471948463344283"></div>
<div id="LPTitle_15374133612380.08552007701564845" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15374133612380.9595223192254231" style="text-decoration: none;" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" target="_blank">amd-gfx Info Page - freedesktop.org</a></div>
<div id="LPMetadata_15374133612380.22195630813550482" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.freedesktop.org</div>
<div id="LPDescription_15374133612380.15277489343008643" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
To see the collection of prior postings to the list, visit the amd-gfx Archives.. Using amd-gfx: To post a message to all the list members, send email to amd-gfx@lists.freedesktop.org. You can subscribe to the list, or change your existing subscription, in
the sections below.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>