forked from pool/virtualbox
15 lines
615 B
Diff
15 lines
615 B
Diff
|
Index: VirtualBox-5.1.22/src/VBox/Additions/linux/drm/vbox_fb.c
|
||
|
===================================================================
|
||
|
--- VirtualBox-5.1.22.orig/src/VBox/Additions/linux/drm/vbox_fb.c
|
||
|
+++ VirtualBox-5.1.22/src/VBox/Additions/linux/drm/vbox_fb.c
|
||
|
@@ -409,6 +409,9 @@ static void vbox_fbdev_destroy(struct dr
|
||
|
LogFunc(("vboxvideo: %d\n", __LINE__));
|
||
|
if (fbdev->helper.fbdev) {
|
||
|
info = fbdev->helper.fbdev;
|
||
|
+#ifdef CONFIG_FB_DEFERRED_IO
|
||
|
+ fb_deferred_io_cleanup(info);
|
||
|
+#endif
|
||
|
unregister_framebuffer(info);
|
||
|
if (info->cmap.len)
|
||
|
fb_dealloc_cmap(&info->cmap);
|