/[packages]/cauldron/kernel/current/SOURCES/drm-amdgpu-add-new-device-id-for-Renior.patch
ViewVC logotype

Contents of /cauldron/kernel/current/SOURCES/drm-amdgpu-add-new-device-id-for-Renior.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1671987 - (show annotations) (download)
Sat Jan 16 00:28:03 2021 UTC (3 years, 2 months ago) by tmb
File size: 1790 byte(s)
- drm/amdgpu: fix DRM_INFO flood if display core is not supported
- drm/amdgpu: add green_sardine device id (v2)
- drm/amdgpu: add new device id for Renior
- drm/i915/gt: Limit VFE threads based on GT
- drm/i915: Allow the sysadmin to override security mitigations
- ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS_ERR
- ext4: fix wrong list_splice in ext4_fc_cleanup
- ext4: fix bug for rename with RENAME_WHITEOUT


1 From 53f1e7f6a1720f8299b5283857eedc8f07d29533 Mon Sep 17 00:00:00 2001
2 From: mengwang <mengbing.wang@amd.com>
3 Date: Wed, 12 Aug 2020 11:49:29 +0800
4 Subject: [PATCH] drm/amdgpu: add new device id for Renior
5
6 add DID 0x164C into pciidlist under CHIP_RENOIR family.
7
8 Signed-off-by: mengwang <mengbing.wang@amd.com>
9 Reviewed-by: Huang Rui <ray.huang@amd.com>
10 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
11 Cc: stable@vger.kernel.org # 5.10.x
12 ---
13 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
14 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
15 2 files changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
18 index e191383f34f7..7169fb5e3d9c 100644
19 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
20 +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
21 @@ -1086,6 +1086,7 @@ static const struct pci_device_id pciidlist[] = {
22 /* Renoir */
23 {0x1002, 0x1636, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},
24 {0x1002, 0x1638, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},
25 + {0x1002, 0x164C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RENOIR|AMD_IS_APU},
26
27 /* Navi12 */
28 {0x1002, 0x7360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVI12},
29 diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
30 index 8a23636ecc27..0b3516c4eefb 100644
31 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
32 +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
33 @@ -1239,7 +1239,8 @@ static int soc15_common_early_init(void *handle)
34 break;
35 case CHIP_RENOIR:
36 adev->asic_funcs = &soc15_asic_funcs;
37 - if (adev->pdev->device == 0x1636)
38 + if ((adev->pdev->device == 0x1636) ||
39 + (adev->pdev->device == 0x164c))
40 adev->apu_flags |= AMD_APU_IS_RENOIR;
41 else
42 adev->apu_flags |= AMD_APU_IS_GREEN_SARDINE;
43 --
44 2.30.0
45

  ViewVC Help
Powered by ViewVC 1.1.30