Displaying 4 results from an estimated 4 matches for "kick_out_vgacon".
2019 Feb 21
3
[PATCH v2 2/2] drm/qxl: kick out vgacon
....08446561aa 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.c
+++ b/drivers/gpu/drm/qxl/qxl_drv.c
@@ -95,6 +95,7 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
goto modeset_cleanup;
drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
+ drm_fb_helper_kick_out_vgacon();
drm_fbdev_generic_setup(&qdev->ddev, 32);
return 0;
--
2.9.3
2019 Feb 21
3
[PATCH v2 2/2] drm/qxl: kick out vgacon
....08446561aa 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.c
+++ b/drivers/gpu/drm/qxl/qxl_drv.c
@@ -95,6 +95,7 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
goto modeset_cleanup;
drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
+ drm_fb_helper_kick_out_vgacon();
drm_fbdev_generic_setup(&qdev->ddev, 32);
return 0;
--
2.9.3
2019 Feb 21
1
[PATCH v2 2/2] drm/qxl: kick out vgacon
...> +++ b/drivers/gpu/drm/qxl/qxl_drv.c
> > @@ -95,6 +95,7 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> > goto modeset_cleanup;
> >
> > drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
> > + drm_fb_helper_kick_out_vgacon();
>
> I was thinking of checking whether pdev is a VGA class device and whether
> it decodes vga access, and in that case automatically calling
> kick_out_vgacon from remove_conflicting_pci_framebuffer. Since that's what
> drivers want anyway, and those who don't can open c...
2019 Feb 21
0
[PATCH v2 2/2] drm/qxl: kick out vgacon
...rs/gpu/drm/qxl/qxl_drv.c
> +++ b/drivers/gpu/drm/qxl/qxl_drv.c
> @@ -95,6 +95,7 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> goto modeset_cleanup;
>
> drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
> + drm_fb_helper_kick_out_vgacon();
I was thinking of checking whether pdev is a VGA class device and whether
it decodes vga access, and in that case automatically calling
kick_out_vgacon from remove_conflicting_pci_framebuffer. Since that's what
drivers want anyway, and those who don't can open code it.
Or is there an i...