summaryrefslogtreecommitdiffstats
path: root/src/loader/pci_id_driver_map.h
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2015-12-17 09:45:49 -0600
committerDave Airlie <[email protected]>2016-01-23 12:35:24 +1000
commit657dc4f533831f51e18892c2bba0bfccf9abcf98 (patch)
tree2a65b97e28462a1cc8dd34953f5f29df981ffff6 /src/loader/pci_id_driver_map.h
parentb3340cd32acf5935891f19833de0cfc500a93e0b (diff)
virtio_gpu: Add PCI ID to driver map
Add the virtio-gpu PCI ID so the driver probing works. Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/loader/pci_id_driver_map.h')
-rw-r--r--src/loader/pci_id_driver_map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/loader/pci_id_driver_map.h b/src/loader/pci_id_driver_map.h
index 11e39d3a206..cab69fb87f4 100644
--- a/src/loader/pci_id_driver_map.h
+++ b/src/loader/pci_id_driver_map.h
@@ -53,6 +53,12 @@ static const int radeonsi_chip_ids[] = {
#undef CHIPSET
};
+static const int virtio_gpu_chip_ids[] = {
+#define CHIPSET(chip, name, family) chip,
+#include "pci_ids/virtio_gpu_pci_ids.h"
+#undef CHIPSET
+};
+
static const int vmwgfx_chip_ids[] = {
#define CHIPSET(chip, name, family) chip,
#include "pci_ids/vmwgfx_pci_ids.h"
@@ -78,6 +84,7 @@ static const struct {
{ 0x1002, "radeonsi", radeonsi_chip_ids, ARRAY_SIZE(radeonsi_chip_ids), _LOADER_GALLIUM},
{ 0x10de, "nouveau_vieux", NULL, -1, _LOADER_DRI, is_nouveau_vieux },
{ 0x10de, "nouveau", NULL, -1, _LOADER_GALLIUM },
+ { 0x1af4, "virtio_gpu", virtio_gpu_chip_ids, ARRAY_SIZE(virtio_gpu_chip_ids), _LOADER_GALLIUM },
{ 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids), _LOADER_GALLIUM },
{ 0x0000, NULL, NULL, 0 },
};