[PATCH libdrm] xf86drm: introduce drmGetDeviceNameFromFd2
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 22 14:24:09 UTC 2016
On 16 November 2016 at 11:14, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 10.11.2016 18:43, Emil Velikov wrote:
>>
>> From: Emil Velikov <emil.velikov at collabora.com>
>>
>> The original version considered only card devices, while this will pick
>> the device/node name regardless - card, control, renderD, other...
>>
>> Current implementation is "linux" specific, in such that it relies on
>> sysfs/uevent file. At the same time this gives us the flexibility to
>> support any nodes even future ones, as long as they're within DRM_MAJOR.
>>
>> Shamelessly copied from mesa, latter by: Gary Wong <gtw at gnu.org>
>> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>
>
> Makes sense to me.
>
> Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
Great, ty.
Next step - the revision (-less) patches. Since the kernel thread
reached conclusion :-)
-Emil
More information about the dri-devel
mailing list