]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add backlight support
authorEmmanuel Vadot <manu@FreeBSD.org>
Fri, 2 Oct 2020 18:26:41 +0000 (18:26 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Fri, 2 Oct 2020 18:26:41 +0000 (18:26 +0000)
commit2b68c973378d3ffeff501ca8c9db5bd21a2283ea
tree5f8a3ec7a8c6384948a84520d8bfa5afba7db5af
parent38d94a4bc75a18f53ffd0ff8f65eefc739fef028
linuxkpi: Add backlight support

Add backlight function to linuxkpi.
Graphics drivers expose the backlight of the panel directly so allow them to use the backlight subsystem so
user can use backlight(8) to configure them.

Reviewed by: hselasky
Relnotes: yes
Differential Revision: The FreeBSD Foundation
sys/compat/linuxkpi/common/include/linux/backlight.h [new file with mode: 0644]
sys/compat/linuxkpi/common/include/linux/device.h
sys/compat/linuxkpi/common/src/linux_kmod.c
sys/compat/linuxkpi/common/src/linux_pci.c
sys/conf/kmod.mk