Re:Intro to Low-Level Graphics on Linux
by 0xcde4c3db on Wednesday August 30, 2017 @10:25PM
(#15137723)
The BSDs and Solaris/Illumos have had DRM for years (where available), but it tends to lag the Linux version significantly because it's not trivial to port the code from Linux. I'm not sure where the compatibility breaks relative to the code given on the page, but most of them have some derivative of the original drm.h header that defines most of the structs and ioctls mentioned (e.g. [1] [2] [3])
[1] https://github.com/freebsd/freebsd/blob/master/sys/dev/drm/d...
[2] https://github.com/openbsd/src/blob/master/sys/dev/pci/drm/d...
[3] https://github.com/illumos/illumos-gate/blob/master/usr/src/...