diff options
| author | Abdelkader Boudih <freebsd@seuros.com> | 2026-02-03 01:43:00 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2026-02-03 01:51:37 +0000 |
| commit | 052a791b00555805f19ccc38a04d42d48b54104b (patch) | |
| tree | da4f0205d1e3dce5eb2371db6897af175b12b7c8 /sys/compat | |
| parent | fedc9746bd37340a06dfcafea28904cf401127cf (diff) | |
Mac firmware hides the Intel integrated GPU (iGPU) on dual GPU x86
systems, i.e., with AMD/NVIDIA dGPUs, when the Darwin OSI is not
installed via ACPI.
Prior to this change, FreeBSD always used the dGPU. This is fine in
practice, but consumed more power than when the iGPU is used,
resulting in reduced battery life.
Linux handles this in `drivers/acpi/osi.c` by detecting Apple
hardware via DMI, disabling all Windows OSI strings, and
by explicitly installing the Darwin OSI ACPI handler. This change
applies equivalent logic to the acpi(4) driver on FreeBSD.
This feature can be enabled/disabled using the
`hw.acpi.apple_darwin_osi` tunable. Setting this tunable to `0`
restores the previous behavior by explicitly disabling the added
support.
Reviewed by: obiwac, ngie, adrian
Differential Revision: https://reviews.freebsd.org/D54762
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions
