Commit 53f1e7f6 authored by mengwang's avatar mengwang Committed by Alex Deucher
Browse files

drm/amdgpu: add new device id for Renior



add DID 0x164C into pciidlist under CHIP_RENOIR family.

Signed-off-by: default avatarmengwang <mengbing.wang@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.10.x
parent 21702c8c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1086,6 +1086,7 @@ static const struct pci_device_id pciidlist[] = {
	/* Renoir */
	{0x1002, 0x1636, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},
	{0x1002, 0x1638, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},
	{0x1002, 0x164C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},

	/* Navi12 */
	{0x1002, 0x7360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVI12},
+2 −1
Original line number Diff line number Diff line
@@ -1239,7 +1239,8 @@ static int soc15_common_early_init(void *handle)
		break;
	case CHIP_RENOIR:
		adev->asic_funcs = &soc15_asic_funcs;
		if (adev->pdev->device == 0x1636)
		if ((adev->pdev->device == 0x1636) ||
		    (adev->pdev->device == 0x164c))
			adev->apu_flags |= AMD_APU_IS_RENOIR;
		else
			adev->apu_flags |= AMD_APU_IS_GREEN_SARDINE;