summaryrefslogtreecommitdiff
path: root/src/intel_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_device.c')
-rw-r--r--src/intel_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel_device.c b/src/intel_device.c
index c835a5d3..3e84413d 100644
--- a/src/intel_device.c
+++ b/src/intel_device.c
@@ -682,6 +682,12 @@ struct intel_device *intel_get_device(ScrnInfoPtr scrn, int *fd)
return dev;
}
+const char *intel_get_master_name(struct intel_device *dev)
+{
+ assert(dev && dev->master_node);
+ return dev->master_node;
+}
+
const char *intel_get_client_name(struct intel_device *dev)
{
assert(dev && dev->render_node);