Displaying 2 results from an estimated 2 matches for "36d82e8".
2015 Apr 01
2
[PATCH v2 4/4] Add virtio-vga bits.
...ot;,
+ vga ? "virtio-vga" : "virtio-gpu-pci");
+ dev->pdev = pdev;
+ if (vga)
+ virtio_pci_kick_out_firmware_fb(pdev);
+ }
ret = drm_dev_register(dev, 0);
if (ret)
diff --git a/drivers/virtio/virtio_pci_common.c b/drivers/virtio/virtio_pci_common.c
index e894eb2..36d82e8 100644
--- a/drivers/virtio/virtio_pci_common.c
+++ b/drivers/virtio/virtio_pci_common.c
@@ -510,7 +510,12 @@ static int virtio_pci_probe(struct pci_dev *pci_dev,
goto err_enable_device;
rc = pci_request_regions(pci_dev, "virtio-pci");
- if (rc)
+ /*
+ * virtio-vga: vesafb/efifb m...
2015 Apr 01
2
[PATCH v2 4/4] Add virtio-vga bits.
...ot;,
+ vga ? "virtio-vga" : "virtio-gpu-pci");
+ dev->pdev = pdev;
+ if (vga)
+ virtio_pci_kick_out_firmware_fb(pdev);
+ }
ret = drm_dev_register(dev, 0);
if (ret)
diff --git a/drivers/virtio/virtio_pci_common.c b/drivers/virtio/virtio_pci_common.c
index e894eb2..36d82e8 100644
--- a/drivers/virtio/virtio_pci_common.c
+++ b/drivers/virtio/virtio_pci_common.c
@@ -510,7 +510,12 @@ static int virtio_pci_probe(struct pci_dev *pci_dev,
goto err_enable_device;
rc = pci_request_regions(pci_dev, "virtio-pci");
- if (rc)
+ /*
+ * virtio-vga: vesafb/efifb m...