2 Commits
Author SHA1 Message Date
geramyloveless b4d1555088 linuxu: an ALLOC1 xarray never hands out index 0
xa_alloc ignored XA_FLAGS_ALLOC1, so the first DRM syncobj of every
render-node file got handle 0, which userspace and upstream read as "no
syncobj". Linux keeps index 0 busy in such an array; the shim now starts
its search at 1. DEFINE_XARRAY_ALLOC also defined an ALLOC1 array, unlike
upstream (where ALLOC counts from 0 and ALLOC1 from 1); DRM's minors use
it and would have moved to card1.

test_xarray_limit checks both kinds.
2026-10-04 20:27:43 -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