summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-15 19:22:01 +1100
committerDave Airlie <airlied@linux.ie>2007-11-15 19:22:01 +1100
commitca499f4d14ae29159f13957f2adc0536c71bf6d4 (patch)
treee42935b557e57789530c88a0110400f8aa0c343a /libdrm
parentf32688d3d011d631c18d584603d684edd9b9b512 (diff)
libdrm: return crtc id to userspace
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drmMode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c
index c3abb2df..e400f219 100644
--- a/libdrm/xf86drmMode.c
+++ b/libdrm/xf86drmMode.c
@@ -339,6 +339,7 @@ drmModeOutputPtr drmModeGetOutput(int fd, uint32_t output_id)
return 0;
r->output_id = out.output;
+ r->crtc = out.crtc;
r->connection = out.connection;
r->mmWidth = out.mm_width;
r->mmHeight = out.mm_height;