aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDamien Lespiau <[email protected]>2013-05-10 14:01:51 +0100
committerDaniel Vetter <[email protected]>2013-05-10 21:56:51 +0200
commit1c0b85c566b7a5a5cdabb767a39b445ce271a4fa (patch)
treee6f09f57843175cca1f3d91593601162bc7454ba /lib/dynamic_debug.c
parentd89f2071461d5682b897c73278daaf25fd11aff5 (diff)
drm/i915: Compute WR PLL dividers dynamically
Up to now, we were using a static table to match the clock frequency with a (r2,n2,p) triplet. Despite this table being big, it's by no mean comprehensive and we had to fall back to the closest frequency when the requested TMDS clock wasn't in the table. This patch computes (r2,n2,p) dynamically and get rid of The Big Table. v2: Replace the floating point constant 1e6 by 1000000 Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=58497 Signed-off-by: Damien Lespiau <[email protected]> Reviewed-by: Paulo Zanoni <[email protected]> (v1) Tested-by: Paulo Zanoni <[email protected]> (v1) [danvet: s/ /^T/] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions