commit | 2e57bba870399926e1a0d0be3f4918a0a8432474 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 21 17:54:48 2016 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Fri Jan 20 16:25:35 2017 +0100 |
tree | 12c5e1b5d7f8c9368b66164f508fa56300c2a0ee | |
parent | 9e4c686aa36dfc09b715269a6bb11a452f87ec71 [diff] |
xf86drm: Factor out drmDeviceAlloc() Subsequent patches will add support for other bus types to drmDevice and they will duplicate a lot of the code to allocate a drmDevice. Factor out the common code so it can be reused. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>