Closed emersion closed 4 years ago
Hmm. Since this depends on a new libdrm function, we can't use the subproject trick, we'll need to wait for Debian to get a recent enough libdrm. Maybe that's a case where an #ifdef
is in order?
Yeah, I think an #ifdef is appropriate here.
This is now ready for review. Tested with libdrm-git and drm-tip (linux 5.6).
Is there a reason the commit message mentions drmModeAddFB2
when the code calls drmModeGetFB2
?
Good catch, fixed.
Linux 5.7 is now in Arch repos and has the new GETFB2 ioctl.
Thanks
This relies on 1.