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)
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)
Fri, Apr 17, 1:10 PM
Unknown Object (File)
Fri, Apr 17, 1:07 PM
Unknown Object (File)
Tue, Apr 14, 11:41 PM
Unknown Object (File)
Sun, Apr 12, 2:59 AM
Unknown Object (File)
Wed, Apr 8, 2:43 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 69767
Build 66650: arc lint + arc unit