drm/vboxvideo: Use generic fbdev and framebuffer

Submitted by Thomas Zimmermann on Oct. 11, 2019, 1:48 p.m.

Details

Reviewer None
Submitted Oct. 11, 2019, 1:48 p.m.
Last Updated Oct. 11, 2019, 1:48 p.m.
Revision 1

Cover Letter(s)

Revision 1
      The vboxvideo driver provides its own implementation for fbdev emulation
and framebuffers. Both can be replaced by DRM's generic code.

All patches have been tested on VirtualBox 6.0.12.

Thomas Zimmermann (3):
  drm/vboxvideo: Switch to generic fbdev emulation
  drm/vboxvideo: Switch to drm_atomic_helper_dirty_fb()
  drm/vboxvideo: Replace struct vram_framebuffer with generic
    implemenation

 drivers/gpu/drm/vboxvideo/Makefile    |   2 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.c  |  14 +--
 drivers/gpu/drm/vboxvideo/vbox_drv.h  |  25 -----
 drivers/gpu/drm/vboxvideo/vbox_fb.c   | 149 --------------------------
 drivers/gpu/drm/vboxvideo/vbox_main.c | 119 +-------------------
 drivers/gpu/drm/vboxvideo/vbox_mode.c |  86 +++++++--------
 6 files changed, 49 insertions(+), 346 deletions(-)
 delete mode 100644 drivers/gpu/drm/vboxvideo/vbox_fb.c

--
2.23.0
    

Revisions