summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authormengwang <mengbing.wang@amd.com>2020-08-12 11:49:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-01-13 23:53:27 -0500
commit278cdb6834901658a81a1e22f5799aa15dca5029 (patch)
treeb0bb4e2d4bae4b92395d36d7f8ec326b1c2a2af7 /drivers/gpu/drm/amd/amdgpu/soc15.c
parent8bf0835132c19437e1530621b730dd4f29fe938e (diff)
downloadlinux-278cdb6834901658a81a1e22f5799aa15dca5029.tar.gz
linux-278cdb6834901658a81a1e22f5799aa15dca5029.tar.bz2
linux-278cdb6834901658a81a1e22f5799aa15dca5029.zip
drm/amdgpu: add new device id for Renior
add DID 0x164C into pciidlist under CHIP_RENOIR family. Signed-off-by: mengwang <mengbing.wang@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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 9a25accd48a3..2396be16c28e 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1204,7 +1204,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;