Re: [Mesa-dev] [PATCH 1/2] virtio_gpu: Add PCI ID to driver map

2015-12-19 Thread Emil Velikov
On 18 December 2015 at 21:33, Dave Airlie wrote: > On 19 December 2015 at 02:57, Emil Velikov wrote: >> On 17 December 2015 at 15:45, Rob Herring wrote: >>> Add the virtio-gpu PCI ID so the driver probing works. >>> >> Dave, I'd imagine that currently this works ala platform device style >> ? I.

Re: [Mesa-dev] [PATCH 1/2] virtio_gpu: Add PCI ID to driver map

2015-12-18 Thread Dave Airlie
On 19 December 2015 at 02:57, Emil Velikov wrote: > On 17 December 2015 at 15:45, Rob Herring wrote: >> Add the virtio-gpu PCI ID so the driver probing works. >> > Dave, I'd imagine that currently this works ala platform device style > ? I.e. we fail to get the pciid and fall back to the kernel m

Re: [Mesa-dev] [PATCH 1/2] virtio_gpu: Add PCI ID to driver map

2015-12-18 Thread Emil Velikov
On 17 December 2015 at 15:45, Rob Herring wrote: > Add the virtio-gpu PCI ID so the driver probing works. > Dave, I'd imagine that currently this works ala platform device style ? I.e. we fail to get the pciid and fall back to the kernel module name being our dri module name. If the PCI id is sta

[Mesa-dev] [PATCH 1/2] virtio_gpu: Add PCI ID to driver map

2015-12-17 Thread Rob Herring
Add the virtio-gpu PCI ID so the driver probing works. Signed-off-by: Rob Herring --- include/pci_ids/virtio_gpu_pci_ids.h | 1 + src/loader/pci_id_driver_map.h | 7 +++ 2 files changed, 8 insertions(+) create mode 100644 include/pci_ids/virtio_gpu_pci_ids.h diff --git a/include/pci_