From 57e0b0552e11b3f04e6d5704c1c7efea5f83ffe4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 1 Mar 2021 10:30:57 +0100 Subject: 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 Signed-off-by: Simon Ser Reviewed-by: Daniel Stone --- core-symbols.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'core-symbols.txt') 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 -- cgit v1.2.1