commit | 57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4 | [log] [tgz] |
---|---|---|
author | Simon Ser <contact@emersion.fr> | Mon Mar 01 10:30:57 2021 +0100 |
committer | Simon Ser <contact@emersion.fr> | Fri Nov 19 15:30:30 2021 +0100 |
tree | d4827aaec016044b7a30b9df1ccefa2b08ea52e0 | |
parent | dd3d6dd3216f817724238b3f7510b7ace41c9d8e [diff] |
xf86drm: add drmGetDeviceFromDevId This adds a function to get a drmDevicePtr from a dev_t identifier of a device. This is useful for Wayland that uses these to identify devices over the protocol. This is done by taking the implementation of drmGetDevice2, and removing the call to fstat to find the dev_t. Signed-off-by: Scott Anderson <scott.anderson@collabora.com> Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Stone <daniels@collabora.com>