diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-31 16:48:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:37:16 -0800 |
commit | fdf06b2a372fffe242f2f024fe87ffb827d87f5b (patch) | |
tree | 70bd637b8531268be9491a98f95bd3d414807a80 | |
parent | e45fd967e36fc0fe7ea63437089fe690b094a5e5 (diff) | |
download | linux-stable-fdf06b2a372fffe242f2f024fe87ffb827d87f5b.tar.gz linux-stable-fdf06b2a372fffe242f2f024fe87ffb827d87f5b.tar.bz2 linux-stable-fdf06b2a372fffe242f2f024fe87ffb827d87f5b.zip |
drm/radeon/kms: add pll debugging output
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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 6f683159fc64..083a18129651 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -540,6 +540,10 @@ void radeon_compute_pll(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 void radeon_user_framebuffer_destroy(struct drm_framebuffer *fb) |