drm/amdgpu: update yellow carp external rev_id handling
Subsystems (2)
Alex Deucher
maintainerPATCH 1/2 drm/amdgpu: update yellow carp external rev_id handling
From: Aaron Liu <[email protected]>
0x1681 has a different external revision id.
Signed-off-by Aaron Liu <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/nv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +4 -1
@@ -1236,7 +1236,10 @@ static int nv_common_early_init(void *handle)AMD_PG_SUPPORT_VCN |AMD_PG_SUPPORT_VCN_DPG |AMD_PG_SUPPORT_JPEG ; - adev->external_rev_id = adev->rev_id +0x01 ; +if (adev->pdev->device ==0x1681 ) + adev->external_rev_id = adev->rev_id +0x19 ; +else + adev->external_rev_id = adev->rev_id +0x01 ;break ;default :/* FIXME: not supported yet */
Signature · 6 lines
2.31.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
maintainerPATCH 2/2 drm/amdgpu: add yellow carp pci id (v2)
From: Aaron Liu <[email protected]>
Add Yellow Carp PCI id support.
v2: add another DID
Signed-off-by Aaron Liu <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +4 -0
@@ -1188,6 +1188,10 @@ static const struct pci_device_id pciidlist[] = {/* Van Gogh */ {0x1002, 0x163F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VANGOGH|AMD_IS_APU}, +/* Yellow Carp */ + {0x1002, 0x164D, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_YELLOW_CARP|AMD_IS_APU}, + {0x1002, 0x1681, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_YELLOW_CARP|AMD_IS_APU}, +/* Navy_Flounder */ {0x1002, 0x73C0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVY_FLOUNDER}, {0x1002, 0x73C1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVY_FLOUNDER},
Signature · 6 lines
2.31.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx