]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: vboxvideo: Use more drm_fb_helper functions
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Sep 2018 12:18:25 +0000 (14:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Sep 2018 12:31:33 +0000 (05:31 -0700)
commite2c3860ba27d21f991bf9b81d64589f7c9e087c1
tree41039ade5a01714d6642bc8cdbda6b1fe164b703
parent0c762dda8c7b5834788794d0f81bf4faf73d2be9
staging: vboxvideo: Use more drm_fb_helper functions

Store fbhelper and afb struct directly in vbox_private and use
drm_fb_helper_fbdev_setup to replace vbox_fbdev_init, note we cannot use
drm_fb_helper_fbdev_teardown since we use a private framebuffer for the
fbdev.

And replace vbox_driver_lastclose with drm_fb_helper_lastclose.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.c
drivers/staging/vboxvideo/vbox_drv.h
drivers/staging/vboxvideo/vbox_fb.c
drivers/staging/vboxvideo/vbox_main.c
drivers/staging/vboxvideo/vbox_mode.c