summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-02 10:14:46 +1000
committerDave Airlie <airlied@redhat.com>2008-01-02 10:14:46 +1000
commite8e585651215b011e3ad07c59d0eab9107ccd8c6 (patch)
tree7c4bbc493c95086e27cfa24f03125fd744f5401c /src
parent14aa4060ad27ecb3d40b2b17ee4cf7cc55a121dd (diff)
PLL/r600: tweak pll to pick first one found instead of keeping going
Diffstat (limited to 'src')
-rw-r--r--src/radeon_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 2f9034a7..c3a47b93 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -173,6 +173,8 @@ RADEONComputePLL(RADEONPLLPtr pll,
best_vco_diff = vco_diff;
}
}
+ if (best_freq == freq)
+ break;
}
ErrorF("best_freq: %u\n", (unsigned int)best_freq);