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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=71891

--- Comment #23 from sdh <sh.siddhartha@xxxxxxxxx> ---
(In reply to Christian König from comment #22)
> Possible fix v2.
> Meanwhile please test the attached patch.
> It won't fix the issue, but might at least allow your system to boot.
Yes indeed, thank you. Successfully booted to desktop using the radeon module.
\m/

(In reply to Christian König from comment #21)
> Well, do you have some experience with kernel hacking?
The git bisect I did earlier is the most I have done ^_^

> The problem is somewhere in rv770_set_uvd_clocks found in the kernel source
> file drivers/gpu/drm/radeon/rv770.c. Despite the name this function is used
> for RV710, RV730 (yours) and RV770.
> 
> A good start would be to get me the values of fb_div, vclk_div and dclk_div
> used in that function.

diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index fef3107..2fbc787 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -67,6 +67,9 @@ int rv770_set_uvd_clocks(struct radeon_device *rdev, u32
vclk, u32 dclk)
     r = radeon_uvd_calc_upll_dividers(rdev, vclk, dclk, 50000, 160000,
                       43663, 0x03FFFFFE, 1, 30, ~0,
                       &fb_div, &vclk_div, &dclk_div);
+
+    pr_notice("SDH: %d %d %d",fb_div,vclk_div,dclk_div);
+
     if (r)
         return r;

gives "SDH: 808574 5 5"

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux