VirtualBox

Changeset 63755 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 7, 2016 4:55:01 PM (8 years ago)
Author:
vboxsync
Message:

bugref:4567: Linux kernel driver maintenance: update drm driver to work with Linux 4.8.

Location:
trunk/src/VBox/Additions/linux/drm
Files:
2 edited

Legend:

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

    r63551 r63755  
    245245}
    246246
     247#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
    247248static void vbox_master_drop(struct drm_device *dev,
    248249                             struct drm_file *file_priv,
    249250                             bool from_release)
     251#else
     252static void vbox_master_drop(struct drm_device *dev,
     253                             struct drm_file *file_priv)
     254#endif
    250255{
    251256    struct vbox_private *vbox = dev->dev_private;
  • trunk/src/VBox/Additions/linux/drm/vbox_ttm.c

    r63297 r63755  
    222222{
    223223    int r;
     224#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
    224225    r = ttm_bo_move_memcpy(bo, evict, no_wait_gpu, new_mem);
     226#else
     227    r = ttm_bo_move_memcpy(bo, evict, interruptible, no_wait_gpu, new_mem);
     228#endif
    225229    return r;
    226230}
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