On Sat, Dec 14, 2013 at 8:28 PM, Rob Clark <robdcl...@gmail.com> wrote: > From: Rob Clark <robcl...@freedesktop.org> > > It seems that over time, code related to finding driver name, dealing > with pci-id table, etc, has been copy/pasted everywhere it was needed. > Which is lame. And annoying if you have a device which is not pci. > > This patchset refactors it out into a simple loader util lib which is > statically linked wherever it is needed. Perhaps there is some room > for sharing other util bits (like _eglLog, perhaps) later. > > And once all this code is collected in one place, the 2nd patch only > has to fix one place to add support for platform devices ;-) > > Rob Clark (2): > loader: refactor duplicated code into loader util lib > loader: fallback to drmGetVersion() for non-pci devices >
Nice. I've replaced Thierry's patch that does the latter, but only for GBM, and the result still works fine. So: Tested-by: Erik Faye-Lund <kusmab...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev