HomeFreeBSD

linuxkpi: Add `to_acpi_device_node()` and `ACPI_COMPANION()`

Description

linuxkpi: Add to_acpi_device_node() and ACPI_COMPANION()

The former is called by the latter. We return NULL because linuxkpi does
not implement ACPI (pseudo?) devices associated to regular devices.

The amdgpu DRM driver started to use ACPI_COMPANION() in Linux 6.13.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57577

Details

Provenance
dumbbellAuthored on Jun 12 2026, 2:02 PM
Reviewer
emaste
Differential Revision
D57577: linuxkpi: Add `to_acpi_device_node()` and `ACPI_COMPANION()`
Parents
rGbac4760524a2: netinet6: Fix ND link-layer address option layout for IPoIB
Branches
Unknown
Tags
Unknown