[PATCH] [81/275] drm/radeon/kms: add pll debugging output

From: Andi Kleen
Date: Wed Mar 30 2011 - 17:07:18 EST


2.6.35-longterm review patch. If anyone has any objections, please let me know.

------------------
From: Alex Deucher <alexdeucher@xxxxxxxxx>

commit 51d4bf840a27fe02c883ddc6d9708af056773769 upstream.

Signed-off-by: Alex Deucher <alexdeucher@xxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

---
drivers/gpu/drm/radeon/radeon_display.c | 4 ++++
1 file changed, 4 insertions(+)

Index: linux-2.6.35.y/drivers/gpu/drm/radeon/radeon_display.c
===================================================================
--- linux-2.6.35.y.orig/drivers/gpu/drm/radeon/radeon_display.c 2011-03-29 22:51:37.786756301 -0700
+++ linux-2.6.35.y/drivers/gpu/drm/radeon/radeon_display.c 2011-03-29 23:02:59.836304359 -0700
@@ -619,6 +619,10 @@
*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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/