diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 15:20:14 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-28 16:24:53 +0300 |
commit | 26d4707d445dcc07d213742bb47bedf9a63e6a05 (patch) | |
tree | 2fc278ca63fbf707f872e8a691a0be7ecb1dd3b7 /drivers/gpu/drm/qxl/qxl_drv.c | |
parent | 9b369116fd0ecd3e4fb3d82f8d61859d9607f9b3 (diff) | |
download | linux-26d4707d445dcc07d213742bb47bedf9a63e6a05.tar.xz |
drm/qxl: use generic fbdev emulation
Switch qxl over to the new generic fbdev emulation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-18-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c index fd987d62d902..a1eccefab830 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -94,6 +94,8 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) if (ret) goto modeset_cleanup; + drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, 0, "qxl"); + drm_fbdev_generic_setup(&qdev->ddev, 32); return 0; modeset_cleanup: |