[Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236933

--- Comment #4 from Jan Beich <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.