‹ BackHN Continuity

Thread

Building a Linux GPU Driver for the M4 Mac Mini in One Month

422 points · 290 comments · ADevWithAnIdea

  1. SXX · · focus · HN ↗
    To the developer: it doesnt matter whatever you can upstream it or not. Just share the code and documentation of how this process can be reproduced.

    There plenty of us not working at Apple who can reuse the same approach for M5 and next generations of hardware.

    1. ADevWithAnIdea · · focus · HN ↗
      For the kernel driver it's literally just: run the hypervisor, wait for the kick, save the UAT state, replay the whole thing, make sure the output pages change, then just follow the pointer to initdata until you've built the whole tree from scratch. LLM handles the rest.
      1. nicman23 · · focus · HN ↗
        call it a firmware blob and you are done
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.