| From c0c3e735fa7bae29c6623511127fd021b2d6d849 Mon Sep 17 00:00:00 2001 |
| From: Olaf Hering <olaf@aepfle.de> |
| Date: Fri, 11 Apr 2014 08:56:23 +0200 |
| Subject: drm/cirrus: bind also to qemu-xen-traditional |
| |
| From: Olaf Hering <olaf@aepfle.de> |
| |
| commit c0c3e735fa7bae29c6623511127fd021b2d6d849 upstream. |
| |
| 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> |
| Signed-off-by: Dave Airlie <airlied@redhat.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_drv.c |
| +++ b/drivers/gpu/drm/cirrus/cirrus_drv.c |
| @@ -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,} |
| }; |
| |