]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/qxl: Drop fbdev hwaccel flags
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Jul 2017 12:57:34 +0000 (14:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Jul 2017 11:22:39 +0000 (13:22 +0200)
It's not accelarated, just system memory. Note we don't even need to
set the default flag since that's now always 0.

Note that originally qxl had acceleration support, but that was all
ripped out in

commit c0fe07aa50befe2e6e6525181e2080377a1c1494
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Tue May 5 13:52:49 2015 +0200

    drm/qxl: rewrite framebuffer support

v2: Amend commit message a bit after irc chat with Dave.

Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170706125735.28299-4-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/qxl/qxl_fb.c

index 573e7e9a5f986e6af4487f4696b8eef92ad5206e..69e7359b562aeb53367c5fabcc1a5b9eba6530a2 100644 (file)
@@ -275,7 +275,7 @@ static int qxlfb_create(struct qxl_fbdev *qfbdev,
 
        drm_fb_helper_fill_fix(info, fb->pitches[0], fb->format->depth);
 
-       info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_COPYAREA | FBINFO_HWACCEL_FILLRECT;
+       info->flags = FBINFO_DEFAULT;
        info->fbops = &qxlfb_ops;
 
        /*