From 525997f86c5fe0f79cf0fa584b4cb617b83a9386 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Fri, 23 Nov 2007 23:12:53 +0100 Subject: [PATCH] randr12: add bit30 to vpll register for nv4x cards - This seems the most common situation, any idea what the bits do? --- src/nv_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nv_crtc.c b/src/nv_crtc.c index d55513a..ab1989a 100644 --- a/src/nv_crtc.c +++ b/src/nv_crtc.c @@ -610,7 +610,8 @@ CalculateVClkNV4x( m2_best = 31; } - *pll_a = (p_best << 16) | (n1_best << 8) | (m1_best << 0); + /* What exactly are the purpose of bit30 (a) and bit31(b)? */ + *pll_a = (1 << 30) | (p_best << 16) | (n1_best << 8) | (m1_best << 0); *pll_b = (1 << 31) | (n2_best << 8) | (m2_best << 0); if (*db1_ratio) { -- 2.32.0.93.g670b81a890