1 --- a/hw/xfree86/modes/xf86Crtc.h
2 +++ b/hw/xfree86/modes/xf86Crtc.h
3 @@ -727,6 +727,8 @@ static _X_INLINE xf86OutputPtr
4 xf86CompatOutput(ScrnInfoPtr pScrn)
6 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
7 + if (config->compat_output < 0)
10 return config->output[config->compat_output];