diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-07-16 22:36:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-17 21:33:17 +0000 |
commit | e6dd5dc4ea27d6c734ff01f2812a30591bcefd36 (patch) | |
tree | 6b1d7877f39516ac786df7b80af71a4a4332eed7 /src | |
parent | d5b51beb797700f83f6d894e83679739280d8f11 (diff) |
soc/amd/common/block/graphics: add GPU PCI ID for Barcelo
Also rename the existing PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU
definition to PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_CEZANNE to clarify
that that is the one for Cezanne.
BUG=b:193888172
Change-Id: I1c5446c1517f2e0cd708d3275b08d2bce4be0ea8
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56396
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Matt Papageorge <matthewpapa07@gmail.com>
Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/device/pci_ids.h | 3 | ||||
-rw-r--r-- | src/soc/amd/common/block/graphics/graphics.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index f3f16fb433..24e8426a41 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -506,7 +506,8 @@ #define PCI_DEVICE_ID_ATI_FAM17H_MODEL18H_GPU 0x15D8 #define PCI_DEVICE_ID_ATI_FAM17H_MODEL60H_GPU 0x1636 #define PCI_DEVICE_ID_ATI_FAM17H_MODEL68H_GPU 0x164C -#define PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU 0x1638 +#define PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_CEZANNE 0x1638 +#define PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_BARCELO 0x15e7 #define PCI_DEVICE_ID_ATI_FAM17H_MODEL18H_HDA0 0x15DE #define PCI_DEVICE_ID_ATI_FAM17H_MODEL60H_HDA0 0x1637 diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c index 071dfcc7c5..79df6267e5 100644 --- a/src/soc/amd/common/block/graphics/graphics.c +++ b/src/soc/amd/common/block/graphics/graphics.c @@ -180,7 +180,8 @@ static const struct device_operations graphics_ops = { static const unsigned short pci_device_ids[] = { PCI_DEVICE_ID_ATI_FAM17H_MODEL18H_GPU, - PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU, + PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_CEZANNE, + PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_BARCELO, 0, }; |