diff options
author | Keith Packard <keithp@dulcimer.keithp.com> | 2007-06-30 12:45:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@dulcimer.keithp.com> | 2007-06-30 12:45:24 -0700 |
commit | 1e2e301348b4168aeed38b3fdc6b0e43d5678a86 (patch) | |
tree | 018eab1524887b06193a5e5c55f4f8ea84e2c1c9 /src/i830_dvo.c | |
parent | 11862c2e1f23b77b56d7bd8b384579b5e3ae377b (diff) |
Fix load detection to use border region instead of blanking.
Make sure there is some border area to use by changing how the pipe is
configured, then pick a scanline in the middle of the border for load
detection. This lets the load detect code use an active pipe instead of
requiring an idle one.
Diffstat (limited to 'src/i830_dvo.c')
-rw-r--r-- | src/i830_dvo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c index 2521ee3d..cb461d79 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -462,13 +462,13 @@ i830_dvo_init(ScrnInfoPtr pScrn) "TMDS"); break; case I830_OUTPUT_DVO_LVDS: - intel_output->pipe_mask = (1 << 1); + intel_output->pipe_mask = ((1 << 0) | (1 << 1)); intel_output->clone_mask = (1 << I830_OUTPUT_DVO_LVDS); output = xf86OutputCreate(pScrn, &i830_dvo_output_funcs, "LVDS"); break; case I830_OUTPUT_DVO_TVOUT: - intel_output->pipe_mask = (1 << 1); + intel_output->pipe_mask = ((1 << 0) | (1 << 1)); intel_output->clone_mask = (1 << I830_OUTPUT_DVO_TVOUT); output = xf86OutputCreate(pScrn, &i830_dvo_output_funcs, "TV"); |