summaryrefslogtreecommitdiff
path: root/src/i830_randr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@ukulele.keithp.com>2006-12-02 22:58:31 -0800
committerKeith Packard <keithp@ukulele.keithp.com>2006-12-02 22:58:31 -0800
commit8fcf9a81179ee8577ddab5e904c58fbfd14cf59c (patch)
treef8b855de7a5d8d99997bbe5dcfc0d1bbfeb8e2f1 /src/i830_randr.c
parent81dde11d419c8f9198ab3502d9813d66d0bc6d6d (diff)
DOUBLE_WIDE mode for high pixel clock 8xx. Rewrite PLL search.
High pixel clock modes on pipe A of an 8xx chip require DOUBLE_WIDE mode. It's supposed to be modes > 180MHz or so, but the board I have requires DOUBLE_WIDE mode for clocks > 108MHz or so. The limit is related to the core clock speed of the chip, which can be found indirectly through PCI config space. None of the possible values explain why this board needs this mode for these relatively low clock rates though. Also, create tables of data for the PLL computation and use them instead of code. I think it's cleaner looking. It is also untested on 9xx. It'll work. Really.
Diffstat (limited to 'src/i830_randr.c')
-rw-r--r--src/i830_randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c
index 373403f8..da8d7460 100644
--- a/src/i830_randr.c
+++ b/src/i830_randr.c
@@ -710,7 +710,7 @@ xf86RandR12SetInfo12 (ScrnInfoPtr pScrn)
subpixel = SubPixelHorizontalRGB;
break;
case I830_OUTPUT_ANALOG:
- crtc_types = ((1 << 0) | (1 << 1));
+ crtc_types = ((1 << 0));
clone_types = ((1 << I830_OUTPUT_ANALOG) |
(1 << I830_OUTPUT_DVO) |
(1 << I830_OUTPUT_SDVO));