Hello Larry,

Terribly sorry that this has been waiting for so long!  Finally committed.

Thank you!
Regards
Michael

30.08.2018 21:08, Larry Finger wrote:
> As of 4.19.0-rc1, the following changes. released under an MIT license,
> are as follows:
> 
> Index: VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c
> ===================================================================
> --- VirtualBox-5.2.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c
> +++ VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c
> @@ -536,7 +536,11 @@ static void vbox_set_edid(struct drm_con
>         for (i = 0; i < EDID_SIZE - 1; ++i)
>                 sum += edid[i];
>         edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF;
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
> +       drm_connector_update_edid_property(connector, (struct edid *)edid);
> +#else
>         drm_mode_connector_update_edid_property(connector, (struct edid
> *)edid);
> +#endif
>  }
> 
>  static int vbox_get_modes(struct drm_connector *connector)
> @@ -703,7 +707,11 @@ static int vbox_connector_init(struct dr
>         drm_connector_register(connector);
>  #endif
> 
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
> +       drm_connector_attach_encoder(connector, encoder);
> +#else
>         drm_mode_connector_attach_encoder(connector, encoder);
> +#endif
> 
>         return 0;
>  }
> 
> _______________________________________________
> vbox-dev mailing list
> [email protected]
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

-- 
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

Attachment: pEpkey.asc
Description: application/pgp-keys

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to