]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/radeon/kms: add pll debugging output
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 31 Jan 2011 21:48:51 +0000 (16:48 -0500)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:57:55 +0000 (11:57 -0700)
commit 51d4bf840a27fe02c883ddc6d9708af056773769 upstream.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/gpu/drm/radeon/radeon_display.c

index 2d95376c3ddf1c52de25c294d2ed7f3931724af5..ce627b2b9dce9b4fbbc294d450ae2b5d8d889d5a 100644 (file)
@@ -619,6 +619,10 @@ static void radeon_compute_pll_legacy(struct radeon_pll *pll,
        *frac_fb_div_p = best_frac_feedback_div;
        *ref_div_p = best_ref_div;
        *post_div_p = best_post_div;
+       DRM_DEBUG_KMS("%d %d, pll dividers - fb: %d.%d ref: %d, post %d\n",
+                     freq, best_freq / 1000, best_feedback_div, best_frac_feedback_div,
+                     best_ref_div, best_post_div);
+
 }
 
 static bool