drm/cirrus: bind also to qemu-xen-traditional
authorOlaf Hering <olaf@aepfle.de>
Fri, 11 Apr 2014 06:56:23 +0000 (08:56 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2014 04:09:04 +0000 (14:09 +1000)
qemu as used by xend/xm toolstack uses a different subvendor id.
Bind the drm driver also to this emulated card.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/cirrus/cirrus_drv.c

index e705335..c2a1cba 100644 (file)
@@ -32,6 +32,8 @@ static struct drm_driver driver;
 static const struct pci_device_id pciidlist[] = {
        { PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, 0x1af4, 0x1100, 0,
          0, 0 },
+       { PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, PCI_VENDOR_ID_XEN,
+         0x0001, 0, 0, 0 },
        {0,}
 };