Skip to contentSkip to conversation

drm/cirrus: bind also to qemu-xen-traditional

PATCH In review Olaf Hering 2 participants 5 messages Apr 11, 2014 – Oct 23, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/cirrus: bind also to qemu-xen-traditional

qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card.

---
 drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/cirrus/cirrus_drv.c +2 -0
index 953fc8a..8555548 100644
@@ -31,6 +31,8 @@ static struct drm_driver driver;
 static DEFINE_PCI_DEVICE_TABLE(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,}
 };
 
#1 lore raw

Ping?

Quoted 21 lines · Olaf Hering

qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card.

---
 drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/cirrus/cirrus_drv.c +2 -0
index 953fc8a..8555548 100644
@@ -31,6 +31,8 @@ static struct drm_driver driver;
 static DEFINE_PCI_DEVICE_TABLE(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,}
 };
 
#2 lore raw

Ping?

Quoted 25 lines · Olaf Hering

Ping?

Quoted 21 lines · Olaf Hering

qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card.

---
 drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/cirrus/cirrus_drv.c +2 -0
index 953fc8a..8555548 100644
@@ -31,6 +31,8 @@ static struct drm_driver driver;
 static DEFINE_PCI_DEVICE_TABLE(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,}
 };
 
#3 lore raw

Ping?

Quoted 29 lines · Olaf Hering

Ping?

Quoted 25 lines · Olaf Hering

Ping?

Quoted 21 lines · Olaf Hering

qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card.

---
 drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/cirrus/cirrus_drv.c +2 -0
index 953fc8a..8555548 100644
@@ -31,6 +31,8 @@ static struct drm_driver driver;
 static DEFINE_PCI_DEVICE_TABLE(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,}
 };
 
maintainer
#4 lore raw

No idea why I kept missing this, I've applied it to -fixes now.

Dave.

Quoted 38 lines · Olaf Hering

Ping?

Quoted 16 lines · Olaf Hering

Ping?

Quoted 12 lines · Olaf Hering

Ping?

Quoted 8 lines · Olaf Hering

qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card.

---
 drivers/gpu/drm/cirrus/cirrus_drv.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/cirrus/cirrus_drv.c +0 -0
index 953fc8a..8555548 100644
@@ -31,6 +31,8 @@ static struct drm_driver driver;
Quoted 8 lines

drivers/gpu/drm/cirrus/cirrus_drv.c static struct drm_driver driver; · line 38

Quoted 8 lines
drivers/gpu/drm/cirrus/cirrus_drv.c +2 -0
 static DEFINE_PCI_DEVICE_TABLE(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,}
 };
 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/