]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:35 +0000 (12:46 -0400)
commit 51d4bf840a27fe02c883ddc6d9708af056773769 upstream.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/gpu/drm/radeon/radeon_display.c

index c2848e03404020c2181f11b5dec4c3d5a5b09a50..40e11e442f223643e1e18eb0f159eb53b5f68275 100644 (file)
@@ -618,6 +618,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