forked from pool/virtualbox
5217fddc80
Fix missing frame buffer cleanup - private communication from Oracle - adds file "fix_KMS_support.patch". OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=346
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);
|