We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c74ca7 commit c34674aCopy full SHA for c34674a
drivers/gpu/drm/qxl/qxl_drv.c
@@ -79,6 +79,10 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
79
if (ret)
80
goto free_dev;
81
82
+ ret = drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
83
+ if (ret)
84
+ goto disable_pci;
85
+
86
ret = qxl_device_init(qdev, &qxl_driver, pdev);
87
88
goto disable_pci;
@@ -94,7 +98,6 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
94
98
95
99
goto modeset_cleanup;
96
100
97
- drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl");
101
drm_fbdev_generic_setup(&qdev->ddev, 32);
102
return 0;
103
0 commit comments