Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2019 14:33:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 236933] graphics/libdrm: drmGetNodeTypeFromFd always fails
Message-ID:  <bug-236933-7141-8WL3jdJ5V4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236933-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Jan Beich <jbeich@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236933-7141-8WL3jdJ5V4>