]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: Implement ACPI bits required by drm-kmod in base system
authormanu <manu@FreeBSD.org>
Mon, 9 Nov 2020 13:20:14 +0000 (13:20 +0000)
committermanu <manu@FreeBSD.org>
Mon, 9 Nov 2020 13:20:14 +0000 (13:20 +0000)
commit2b75b609bc420fd5d644d48f6415a88562c858c4
tree1c192693ef0026b59929aa51ae418edb7fbfc683
parentb4bad52ac4e37556b836edf11496d66c1c0afbd2
LinuxKPI: Implement ACPI bits required by drm-kmod in base system

It includes:

ACPI_HANDLE() implementation.
AC and VIDEO ACPI events notification support.
Replacement of hand-rolled GPLed _DSM method evaluation helpers
with in-base ones.

Submitted by: wulf
Differential Revision: https://reviews.freebsd.org/D26603
sys/compat/linuxkpi/common/include/acpi/acpi.h [new file with mode: 0644]
sys/compat/linuxkpi/common/include/acpi/acpi_bus.h [new file with mode: 0644]
sys/compat/linuxkpi/common/include/acpi/video.h [new file with mode: 0644]
sys/compat/linuxkpi/common/include/linux/acpi.h [new file with mode: 0644]
sys/compat/linuxkpi/common/src/linux_acpi.c [new file with mode: 0644]
sys/conf/files
sys/modules/linuxkpi/Makefile