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.
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.