OSDN Git Service

drm/qxl: Remove fbcon acceleration leftovers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Oct 2020 13:33:47 +0000 (14:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Nov 2020 10:01:09 +0000 (11:01 +0100)
These are leftovers from 13aff184ed9f ("drm/qxl: remove dead qxl fbdev
emulation code").

v2: Somehow these structs provided the struct qxl_device pre-decl,
reorder the header to not anger compilers.

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

index eb437fe..8bd0f91 100644 (file)
@@ -169,20 +169,6 @@ struct qxl_drm_image {
        struct list_head chunk_list;
 };
 
-struct qxl_fb_image {
-       struct qxl_device *qdev;
-       uint32_t pseudo_palette[16];
-       struct fb_image fb_image;
-       uint32_t visual;
-};
-
-struct qxl_draw_fill {
-       struct qxl_device *qdev;
-       struct qxl_rect rect;
-       uint32_t color;
-       uint16_t rop;
-};
-
 /*
  * Debugfs
  */
@@ -191,8 +177,6 @@ struct qxl_debugfs {
        unsigned int num_files;
 };
 
-int qxl_debugfs_fence_init(struct qxl_device *rdev);
-
 struct qxl_device {
        struct drm_device ddev;
 
@@ -274,6 +258,8 @@ struct qxl_device {
 
 #define to_qxl(dev) container_of(dev, struct qxl_device, ddev)
 
+int qxl_debugfs_fence_init(struct qxl_device *rdev);
+
 extern const struct drm_ioctl_desc qxl_ioctls[];
 extern int qxl_max_ioctl;