diff --git a/src/backend/drm/device/mod.rs b/src/backend/drm/device/mod.rs index a147a4b..b3e55b1 100644 --- a/src/backend/drm/device/mod.rs +++ b/src/backend/drm/device/mod.rs @@ -379,6 +379,10 @@ impl DrmDevice { formats, }) } + + pub fn device_id(&self) -> dev_t { + self.dev_id + } } pub struct Planes {