Skip to content

Commit 57c806b

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu: add new polaris pci id
commit 30f3984 upstream. Add new pci id. Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5575041 commit 57c806b

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -715,12 +715,14 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
715715
break;
716716
case CHIP_POLARIS10:
717717
if (type == CGS_UCODE_ID_SMU) {
718-
if ((adev->pdev->device == 0x67df) &&
719-
((adev->pdev->revision == 0xe0) ||
720-
(adev->pdev->revision == 0xe3) ||
721-
(adev->pdev->revision == 0xe4) ||
722-
(adev->pdev->revision == 0xe5) ||
723-
(adev->pdev->revision == 0xe7) ||
718+
if (((adev->pdev->device == 0x67df) &&
719+
((adev->pdev->revision == 0xe0) ||
720+
(adev->pdev->revision == 0xe3) ||
721+
(adev->pdev->revision == 0xe4) ||
722+
(adev->pdev->revision == 0xe5) ||
723+
(adev->pdev->revision == 0xe7) ||
724+
(adev->pdev->revision == 0xef))) ||
725+
((adev->pdev->device == 0x6fdf) &&
724726
(adev->pdev->revision == 0xef))) {
725727
info->is_kicker = true;
726728
strcpy(fw_name, "amdgpu/polaris10_k_smc.bin");

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ static const struct pci_device_id pciidlist[] = {
500500
{0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
501501
{0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
502502
{0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
503+
{0x1002, 0x6FDF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
503504
/* Polaris12 */
504505
{0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
505506
{0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},

0 commit comments

Comments
 (0)