VirtualBox

Ignore:
Timestamp:
May 9, 2016 7:06:30 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: prevent a warning in the kernel graphics driver on unloading.

File:
1 edited

Legend:

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

    r60904 r60906  
    428428        drm_fb_helper_restore_fbdev_mode_unlocked(&vbox->fbdev->helper);
    429429#else
    430     mutex_lock(&dev->mode_config.mutex);
     430    drm_modeset_lock_all(dev);
    431431    if (vbox->fbdev)
    432432        drm_fb_helper_restore_fbdev_mode(&vbox->fbdev->helper);
    433     mutex_unlock(&dev->mode_config.mutex);
     433    drm_modeset_unlock_all(dev);
    434434#endif
    435435}
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