summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/graphics
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-23 14:01:12 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 19:21:30 +0000
commit9e1a49cea530f389c0255dc4555590fbb1abaa26 (patch)
treecf22996d08ec5fa018a272c1b7f186bcc77d850b /src/soc/amd/common/block/graphics
parentc82aabca0122c5a118f6ab988768bd05eefc3a05 (diff)
soc/amd/picasso: Use common block graphics driver
This change selects common block graphics driver for Picasso and also adds PCI ID for Family 17h graphics controller to the graphics driver. Since the common driver provides .acpi_name() callback for graphics device, soc_acpi_name() no longer needs to provide the ACPI name for graphics device. BUG=b:153858769 Change-Id: Id3ffcb05d8f8a253a0b27407d52d7907c507cabb Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40676 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block/graphics')
-rw-r--r--src/soc/amd/common/block/graphics/graphics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c
index 6d40f7c757..880573b11f 100644
--- a/src/soc/amd/common/block/graphics/graphics.c
+++ b/src/soc/amd/common/block/graphics/graphics.c
@@ -21,6 +21,7 @@ static const struct device_operations graphics_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DEVICE_ID_AMD_FAM17H_GPU,
0,
};