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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10 December 2016 at 05:52, Jonathan Gray <jsg@xxxxxxxxx> 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 nodes being opened to issue ioctls to get pci data
> was that data obtained from /dev/drm0 would be ignored if /dev/drm1
> could not be opened.
>
Out of curiosity - did you actually hit such an issue or you've
spotted it by observation ?
I'm not too sure which route is the "correct" one here, but I believe
you got it spot on.

I'll push this alongside v2 of 1/3 and 2/3.

Thanks !
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux