This patch updates sys/compat/linuxkpi/common to match Linux version 4.11.
Due to API changes in Linux 4.11 is not compatible with 4.9 so this can not be committed until drm-next-kmod also has been updated to 4.11. There is some memory bug that needs fixing for i915 and AMD/Radeon need more testing before drm-next-kmod 4.11 is ready for release.
This work was started before linuxkpi development moved from drm-next repo to HEAD so there might be something in this patch that re-introduce that has already been removed or changed. Reviewers that have been working on linuxkpi in HEAD lately should keep an extra eye open for that.
FreeBSD update is here (head branched around 2018-02-14):
https://github.com/FreeBSDDesktop/freebsd-base-graphics/tree/linuxkpi411
drm-next-kmod update is here:
https://github.com/FreeBSDDesktop/kms-drm/tree/linuxkpi411
gpu firmware update is here:
https://github.com/FreeBSDDesktop/kms-firmware/tree/linuxkpi411
No known bugs in linuxkpi common.
Known bugs in drm-next-kmod / linuxkpi gplv2:
- [FIXED] Leaking drm_i915_gem_objects (try switching glxgears or something between window and fullscreen rapidly, check with vmstat -z)
WIPs
- sync_file and anon_inode in linuxkpi_gplv2 is WIP and won't be used until 4.12 so no rush to perfect them yet.