History

drm/amdgpu: add new polaris pci id

Add new pci id.

Alex Deucher committed 8 years ago

Commit 30f39841 parent 8ca4fff2 files · +9 −6Browse files

Unified · Split

2 files
  1. drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +8 −6
  2. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +1 −0
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c+8−6
@@ -367,12 +367,14 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, · 366 unmodified lines
367 break;367 break;
368 case CHIP_POLARIS10:368 case CHIP_POLARIS10:
369 if (type == CGS_UCODE_ID_SMU) {369 if (type == CGS_UCODE_ID_SMU) {
370 if ((adev->pdev->device == 0x67df) &&370 if (((adev->pdev->device == 0x67df) &&
371 ((adev->pdev->revision == 0xe0) ||371 ((adev->pdev->revision == 0xe0) ||
372 (adev->pdev->revision == 0xe3) ||372 (adev->pdev->revision == 0xe3) ||
373 (adev->pdev->revision == 0xe4) ||373 (adev->pdev->revision == 0xe4) ||
374 (adev->pdev->revision == 0xe5) ||374 (adev->pdev->revision == 0xe5) ||
375 (adev->pdev->revision == 0xe7) ||375 (adev->pdev->revision == 0xe7) ||
376 (adev->pdev->revision == 0xef))) ||
377 ((adev->pdev->device == 0x6fdf) &&
376 (adev->pdev->revision == 0xef))) {378 (adev->pdev->revision == 0xef))) {
377 info->is_kicker = true;379 info->is_kicker = true;
378 strcpy(fw_name, "amdgpu/polaris10_k_smc.bin");380 strcpy(fw_name, "amdgpu/polaris10_k_smc.bin");
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c+1−0
@@ -740,6 +740,7 @@ static const struct pci_device_id pciidlist[] = { · 739 unmodified lines
740 {0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},740 {0x1002, 0x67CA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
741 {0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},741 {0x1002, 0x67CC, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
742 {0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},742 {0x1002, 0x67CF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
743 {0x1002, 0x6FDF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS10},
743 /* Polaris12 */744 /* Polaris12 */
744 {0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},745 {0x1002, 0x6980, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},
745 {0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},746 {0x1002, 0x6981, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS12},

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t