summaryrefslogtreecommitdiff
path: root/src/i830_crt.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-07-13 12:47:18 -0700
committerKeith Packard <keithp@neko.keithp.com>2007-07-13 13:39:36 -0700
commitff2be3995d33f9e4b7f63b380f166b6168c9b9c6 (patch)
treeba7d0197471fa9e2a77297a8cb2061197a033f62 /src/i830_crt.c
parent00f4587025a3879626623135b0a153fcdb906719 (diff)
Remove hard-coded CRT blanking frobbing for load detection.fbc
CRT blanking needn't be adjusted to perform load detection on 9xx chips, and the 8xx load detection path now adjusts blanking just during load detection. Adjusting the blanking interval turned out to cause many monitors to fail to sync.
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r--src/i830_crt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c
index 9e6180e3..d7762a07 100644
--- a/src/i830_crt.c
+++ b/src/i830_crt.c
@@ -97,8 +97,6 @@ static Bool
i830_crt_mode_fixup(xf86OutputPtr output, DisplayModePtr mode,
DisplayModePtr adjusted_mode)
{
- /* disable blanking so we can detect monitors */
- adjusted_mode->CrtcVBlankStart = adjusted_mode->CrtcVTotal - 3;
return TRUE;
}
@@ -360,8 +358,8 @@ i830_crt_detect(xf86OutputPtr output)
return XF86OutputStatusDisconnected;
}
-// if (i830_crt_detect_ddc(output))
-// return XF86OutputStatusConnected;
+ if (i830_crt_detect_ddc(output))
+ return XF86OutputStatusConnected;
/* Use the load-detect method if we have no other way of telling. */
crtc = i830GetLoadDetectPipe (output, NULL, &dpms_mode);