[Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 3 14:33:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236933

--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Emmanuel Vadot from comment #3)
> int type = drmGetNodeType(strrchr(name, '/') + 1);

Works for me.

> Do you plan to submit that upstream ?

Where? drmGetNodeTypeFromFd doesn't support devfs-based systems upstream.
https://gitlab.freedesktop.org/mesa/drm/blob/libdrm-2.4.96/xf86drm.c#L2784-2804

General libdrm upstreaming is outside of scope for this bug. Figuring it out is
the maintainer's job. I'm only responsible for libva atm but even there slow
upstream feedback doesn't look exciting.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-x11 mailing list