VirtualBox

Changeset 76936 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 22, 2019 3:40:01 PM (6 years ago)
Author:
vboxsync
Message:

Additions/linux/vboxvideo: Call fb_deferred_io_cleanup() on cleanup
bugref:8282: Additions/linux: track kernel changes to vboxvideo in our own tree

On driver cleanup we need to call fb_deferred_io_cleanup() if build
with CONFIG_FB_DEFERRED_IO set.


Suggested-by: Michael Thayer <michael.thayer@…>
Signed-off-by: Hans de Goede <hdegoede@…>
Signed-off-by: Greg Kroah-Hartman <gregkh@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_fb.c

    r76553 r76936  
    377377        struct vbox_framebuffer *afb = &fbdev->afb;
    378378
     379#ifdef CONFIG_FB_DEFERRED_IO
     380        if (fbdev->helper.fbdev && fbdev->helper.fbdev->fbdefio)
     381                fb_deferred_io_cleanup(fbdev->helper.fbdev);
     382#endif
     383
    379384        drm_fb_helper_unregister_fbi(&fbdev->helper);
    380385
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette