2 Commits
Author SHA1 Message Date
geramyloveless f269f1e6d1 display: off by default, opt-in per personality
Display Core is compiled in, but linuxu_driver_bootstrap() now sets the
amdgpu.dc module parameter to 0 unless display was requested. With
amdgpu.dc=0, amdgpu_device_has_dc_support() is false, discovery adds no
DM IP block and no display interrupt, connector or modeset state exists:
the probe compute users had before CONFIG_DRM_AMD_DC was enabled.

linuxu_driver_set_display() (rt/bootstrap.h) requests display before
bootstrap; it restores upstream's default amdgpu.dc=-1 (DC on every ASIC
that has a display engine) and returns -EBUSY while the modules run. The
dext reads an optional boolean "MacLinuxGPUDisplay" from its IOKit
personality next to "MacLinuxGPUKFDSessions"; it is absent from the
shipped Info.plist, so display stays off.

test_bootstrap checks the default, the request and the -EBUSY rule.
2026-10-02 20:56:37 -07:00
geramyloveless 953cf0149c mac_linuxgpu: upstream Linux amdgpu on macOS
Runs the unmodified upstream Linux amdgpu and amdkfd drivers on Apple
Silicon Macs inside a DriverKit system extension, for AMD GPUs attached
over Thunderbolt. The Linux sources come from a pinned submodule and are
compiled against linuxu, a userspace implementation of the Linux kernel
APIs they use. Includes the HSA runtime, the host installer app, the
setup and firmware fetch scripts, and the offline test suite.
2026-10-02 18:49:17 -07:00