diff mbox

[Bug,71891] 3.13 fails to boot with the radeon module

Message ID bug-71891-2300-RF4KZgON9U@https.bugzilla.kernel.org/ (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@bugzilla.kernel.org May 12, 2014, 2:59 p.m. UTC
https://bugzilla.kernel.org/show_bug.cgi?id=71891

--- Comment #33 from Alex Deucher <alexdeucher@gmail.com> ---
I wonder if UVD uses the reference clock directly, or if it uses xclk.  If it
uses xclk, they may explain the problems.  Can you post your dmesg output with
this patch applied?
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index fef3107..bda9137 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -1594,6 +1594,9 @@  static void rv770_gpu_init(struct radeon_device *rdev)
        WREG32(PA_CL_ENHANCE, (CLIP_VTX_REORDER_ENA |
                                          NUM_CLIP_SEQ(3)));
        WREG32(VC_ENHANCE, 0);
+
+       DRM_INFO("ref: %u, xclk: %u\n",
+                rdev->clock.spll.reference_freq, rv770_get_xclk(rdev));
 }

 void r700_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc)