Page MenuHomeFreeBSD

acpi: Use only AcpiGetSleepTypeData() to determine Sx support
ClosedPublic

Authored by olce on Jan 9 2026, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 1:38 PM
Unknown Object (File)
Tue, May 5, 2:59 PM
Unknown Object (File)
Mon, Apr 27, 1:26 PM
Unknown Object (File)
Sat, Apr 25, 5:23 AM
Unknown Object (File)
Mon, Apr 20, 8:34 PM
Unknown Object (File)
Sun, Apr 19, 9:08 PM
Unknown Object (File)
Sun, Apr 19, 3:48 PM
Unknown Object (File)
Apr 17 2026, 1:10 PM
Subscribers

Details

Summary

Previously, we would first call AcpiEvaluateObject() to execute \_Sx
before calling AcpiGetSleepTypeData(). This was unnecessary, as
AcpiGetSleepTypeData() performs the same call itself. While doing so,
the latter function logs any other error than AE_NOT_FOUND (which
indicates that a particular sleep state is not supported), which most
probably is an added benefit of this change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable