[PATCH libdrm 3/3] xf86drm: don't fatal on per device error in drmGetDevice[s]2

2016-12-13 Thread Jonathan Gray
On Mon, Dec 12, 2016 at 02:12:28PM +, Emil Velikov wrote: > On 10 December 2016 at 05:52, Jonathan Gray wrote: > > When iterating over all the device nodes if drmProcessPciDevice() > > returned an error for any node the function would return an error, > > ignoring any valid nodes. > > > > The

[PATCH libdrm 3/3] xf86drm: don't fatal on per device error in drmGetDevice[s]2

2016-12-12 Thread Emil Velikov
On 10 December 2016 at 05:52, Jonathan Gray wrote: > When iterating over all the device nodes if drmProcessPciDevice() > returned an error for any node the function would return an error, > ignoring any valid nodes. > > The result of this on OpenBSD where drmProcessPciDevice() results in > device

[PATCH libdrm 3/3] xf86drm: don't fatal on per device error in drmGetDevice[s]2

2016-12-10 Thread Jonathan Gray
When iterating over all the device nodes if drmProcessPciDevice() returned an error for any node the function would return an error, ignoring any valid nodes. The result of this on OpenBSD where drmProcessPciDevice() results in device nodes being opened to issue ioctls to get pci data was that dat