VirtualBox

Ignore:
Timestamp:
Dec 19, 2016 1:23:01 PM (8 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: fix breakage with recent kernels by removing an unneeded use of a drm function which was removed from the kernel altogether. It was inherited with other code from the AST kernel driver and never did anything useful in our driver (nor in AST for that matter).

File:
1 edited

Legend:

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

    r64830 r64959  
    217217{
    218218    struct drm_device *dev = fbdev->helper.dev;
    219     u32 bpp, depth;
    220219    u32 size;
    221220    struct drm_gem_object *gobj;
     
    227226
    228227    int ret = 0;
    229     drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp);
    230228
    231229    size = pitch * mode_cmd->height;
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