Adjust permissions of various files.
kernel/vga_switcheroo: Add missing opt_ddb.h to the Makefile.
kernel/vga_switcheroo: Remove duplicate include of <sys/sysctl.h>.
drm: Remove most system headers from linux/list.hThey do not serve any useful purpose there.Suggested-by: zrj
kernel/drm: Decouple from network headers. This removes all <net*/*.h> headers (including <sys/mbuf.h>) from dependency chain in all drm devices. There is no need to use network headers in drm c
kernel/drm: Decouple from network headers. This removes all <net*/*.h> headers (including <sys/mbuf.h>) from dependency chain in all drm devices. There is no need to use network headers in drm compat layer. Previously drm was using <net/if_var.h> as a fallback to get <sys/malloc.h>. Use kmalloc/kfree and M_* flags in linux/gfp.h. At this point no system headers should be including <sys/malloc.h> except for disk and vfs headers for obvious reasons. Later on even M_* flags could be moved into <sys/_malloc.h> for better separation to linux/slab.h.
show more ...
drm: Enable drm_pcie_get_max_link_width()Partially obtained from FreeBSD.
kernel: Remove unused *.h files from SRCS in kernel module Makefiles.They were found by checking the preprocessed code of the filesin SRCS to see if the header was included at some point.After r
kernel: Remove unused *.h files from SRCS in kernel module Makefiles.They were found by checking the preprocessed code of the filesin SRCS to see if the header was included at some point.After removal, the preprocessed source of a build with the oldMakefiles was compared against one with the changes (for variouskernel configurations and when building just from /usr/src) toverify that the commit leads to no functional change.
kernel/vga_switcheroo: Hook vga_switcheroo to i915.* When i915 loads, call vga_switcheroo to switch gmux so the integrated graphics device will output both to the laptop panel and the external
kernel/vga_switcheroo: Hook vga_switcheroo to i915.* When i915 loads, call vga_switcheroo to switch gmux so the integrated graphics device will output both to the laptop panel and the external monitor. For now, we do not power off the discrete graphics device.
kernel: Add a port of the Linux 4.8 vga_switcheroo moduleSubmitted-by: Peeter Must <karu.pruun@gmail.com>