libdrm: return crtc id to userspace

This commit is contained in:
Dave Airlie 2007-11-15 19:22:01 +11:00
parent f32688d3d0
commit ca499f4d14

View file

@ -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;