- Edited
I had an idea awhile ago to try to do similar to ditherig using some existing tools like PCIUtils. or intel-gpu-tools. PCIUtils claims to use IOKit to run on Darwin. It's far from my area of expertise FWIW.
Not sure the approach @NewDwarf is taking, but food for thought anyway.