[Bug 51381] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting, when disabled via vgaswitcheroo

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Jun 9 11:18:45 PDT 2014


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

--- Comment #28 from Teofilis Martisius <Teofilis.Martisius at gmail.com> ---
Hello,

Sorry for the delay, I had other plans for the weekend.

The patch did not help. I tried it with default delay of 20, and then I tried
it with delay set to 200 (200 what? milliseconds?). I tried both default delay
and 200 delay on both 3.12.21 and on 3.15rc8, no luck. I changed the patch to
increase the delay and to print out the delay- you can see it in dmesg. I have
attached the dmesg output for the 200 delay runs for 3.12.21 and 3.15rc8.

I ran the kernels with following boot parameters:

3.12.21: BOOT_IMAGE=/boot/vmlinuz-3.12.21d200 root=UUID=xxx ro quiet
radeon.audio=0 modeset=1

3.15.0-rc8 BOOT_IMAGE=/boot/vmlinuz-3.15.0-rc8teo root=xxx ro quiet
radeon.audio=0 modeset=1 radeon.runpm=0

Sincerely,
Teofilis Martisius

diff --git a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index b512c00..0574d56 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1093,8 +1093,10 @@ static void radeon_switcheroo_set_state(struct pci_dev
*pdev, enum vga_switchero
                /* don't suspend or resume card normally */
                dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;

-               if (d3_delay < 20 && radeon_switcheroo_quirk_long_wakeup(pdev))
-                       dev->pdev->d3_delay = 20;
+               if (d3_delay < 200 /*&&
radeon_switcheroo_quirk_long_wakeup(pdev)*/) {
+                       dev->pdev->d3_delay = 200;
+                       printk(KERN_INFO "radeon: d3 delay set to 200\n");
+               }

                radeon_resume_kms(dev, true, true);

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list