summaryrefslogtreecommitdiff
path: root/core-symbols.txt
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-01 10:30:57 +0100
committerSimon Ser <contact@emersion.fr>2021-11-19 15:30:30 +0100
commit57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4 (patch)
treed4827aaec016044b7a30b9df1ccefa2b08ea52e0 /core-symbols.txt
parentdd3d6dd3216f817724238b3f7510b7ace41c9d8e (diff)
downloaddrm-57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4.tar.gz
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>
Diffstat (limited to 'core-symbols.txt')
-rw-r--r--core-symbols.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core-symbols.txt b/core-symbols.txt
index 8e725132..31bbcf8f 100644
--- a/core-symbols.txt
+++ b/core-symbols.txt
@@ -58,6 +58,7 @@ drmGetContextPrivateMapping
drmGetContextTag
drmGetDevice
drmGetDevice2
+drmGetDeviceFromDevId
drmGetDeviceNameFromFd
drmGetDeviceNameFromFd2
drmGetDevices