VirtualBox

Changeset 74700 in vbox


Ignore:
Timestamp:
Oct 9, 2018 7:24:24 AM (6 years ago)
Author:
vboxsync
Message:

Addiitons/linux/vboxvideo: Fixes for API changes in kernel 4.19
Contributed by Larry Finger. Many thanks!

File:
1 edited

Legend:

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

    r74625 r74700  
    534534                sum += edid[i];
    535535        edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF;
     536#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
     537        drm_connector_update_edid_property(connector, (struct edid *)edid);
     538#else
    536539        drm_mode_connector_update_edid_property(connector, (struct edid *)edid);
    537540}
     
    705708#endif
    706709
     710#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
     711        drm_connector_attach_encoder(connector, encoder);
     712#else
    707713        drm_mode_connector_attach_encoder(connector, encoder);
     714#endif
    708715
    709716        return 0;
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