Blob Blame History Raw
diff -up xf86-video-intel-2.6.99.902/src/drmmode_display.c.get-crtc xf86-video-intel-2.6.99.902/src/drmmode_display.c
--- xf86-video-intel-2.6.99.902/src/drmmode_display.c.get-crtc	2009-04-13 11:41:29.000000000 -0400
+++ xf86-video-intel-2.6.99.902/src/drmmode_display.c	2009-04-13 11:42:50.000000000 -0400
@@ -730,8 +730,19 @@ drmmode_output_set_property(xf86OutputPt
     return FALSE;
 }
 
+#ifdef RANDR_GET_CRTC_INTERFACE
+static xf86CrtcPtr
+drmmode_get_crtc(xf86OutputPtr output)
+{
+    return output->crtc;
+}
+#endif
+
 static const xf86OutputFuncsRec drmmode_output_funcs = {
 	.create_resources = drmmode_output_create_resources,
+#ifdef RANDR_GET_CRTC_INTERFACE
+	.get_crtc = drmmode_get_crtc,
+#endif
 #ifdef RANDR_12_INTERFACE
 	.set_property = drmmode_output_set_property,
 #endif