drm/amdgpu: add green_sardine device id (v2)
authorPrike Liang <Prike.Liang@amd.com>
Fri, 2 Oct 2020 14:58:55 +0000 (10:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 05:25:40 +0000 (00:25 -0500)
Add green_sardine PCI id support and map it to renoir asic type.

v2: add apu flag

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.10.x
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c

index 72efd579ec5ee198ef2c100f38faefa5f60641e0..e191383f34f7843b1f7f88ee714cc9a474f22ede 100644 (file)
@@ -1085,6 +1085,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},
 
        /* Navi12 */
        {0x1002, 0x7360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVI12},