Skip to content
Commit eebefaf7 authored by Jonathan Gray's avatar Jonathan Gray Committed by Emil Velikov
Browse files

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



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.

Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarJonathan Gray <jsg@jsg.id.au>
parent e2e766d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment