OSDN Git Service

xf86drm: add drm{Get,Free}Device
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Sep 2015 15:02:18 +0000 (16:02 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Sep 2015 16:43:08 +0000 (17:43 +0100)
commitccedf66b65f6ab245aa6028d7fe9eb603a121b43
treedf5b1c292ee43db94d9f75464dc443b8a246ccf8
parentfae59d7234caf4827bf5ca74c1b706cbfb70a460
xf86drm: add drm{Get,Free}Device

Similar interface to the *Devices() ones but they obtain/free the
information of the opened device (as given by its fd).

Note there is a fair bit of duplication between the two Get functions,
and anyone interested is more than welcome to consolidate it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
xf86drm.c
xf86drm.h