[PATCH libdrm v2 5/5] xf86drm: implement an OpenBSD specific drmGetDevice2

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 17:56:40 UTC 2016


On 1 December 2016 at 04:18, Jonathan Gray <jsg at jsg.id.au> wrote:
> DRI devices on OpenBSD are not in their own directory.  They reside in
> /dev with a large number of statically generated /dev nodes.
>
> Avoid stat'ing all of /dev on OpenBSD by implementing this custom path.
>
> v2:
>    - use drmGetMinorType to get node type
>    - adapt to drmProcessPciDevice changes
>    - verify drmParseSubsystemType type is PCI
>    - add a comment describing why this was added
>
Thanks for the update Jonathan.

I've pulled v2 in master,
Emil


More information about the dri-devel mailing list