xf86drm: cap number of reported devices by drmGetDevice(2) , take 2
Seems like the previous MR regressed drmDevice2(0, NULL, 0)
so here's a revert and an actual fix.
@emersion can you double-check I didn't goof it up ;-)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Seems like the previous MR regressed drmDevice2(0, NULL, 0)
so here's a revert and an actual fix.
@emersion can you double-check I didn't goof it up ;-)