diff -up xf86-video-intel-2.6.99.902/src/drmmode_display.c.jx xf86-video-intel-2.6.99.902/src/drmmode_display.c
--- xf86-video-intel-2.6.99.902/src/drmmode_display.c.jx 2009-03-12 18:24:10.000000000 -0400
+++ xf86-video-intel-2.6.99.902/src/drmmode_display.c 2009-03-12 18:41:31.813969036 -0400
@@ -550,8 +550,19 @@ drmmode_output_dpms(xf86OutputPtr output
}
}
+#ifdef RANDR_GET_CRTC_INTERFACE
+static xf86CrtcPtr
+drmmode_get_crtc(xf86OutputPtr output)
+{
+ return output->crtc;
+}
+#endif
+
static const xf86OutputFuncsRec drmmode_output_funcs = {
.dpms = drmmode_output_dpms,
+#ifdef RANDR_GET_CRTC_INTERFACE
+ .get_crtc = drmmode_get_crtc,
+#endif
#if 0
.save = drmmode_crt_save,