diff mbox

[Bug,36327] fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend

Message ID 20110418195122.68E9C13004F@annarchy.freedesktop.org (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@freedesktop.org April 18, 2011, 7:51 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=36327

--- Comment #9 from Karesz L. <lengyel.karesz@gmail.com> 2011-04-18 12:51:22 PDT ---
I've made a custom kernel, and applied this (I modified the nx6125's patch a
bit):


I haven't been able to resume with it correctly, but, in some cases, the system
froze a little bit after, than before. These times, the lcd got backlit, and
some broken images, lines, colours, dots appeared.
diff mbox

Patch

--- a/drivers/gpu/drm/radeon/radeon_combios.c
+++ b/drivers/gpu/drm/radeon/radeon_combios.c
@@ -3171,6 +3171,14 @@  void radeon_combios_asic_init(struct drm_device *dev)
         rdev->pdev->subsystem_device == 0x30a4)
         return;

+    /* quirk for rs4xx FSC Amilo Li1718 laptop to make it resume
+     * - it hangs on resume inside the dynclk 1 table.
+     */
+    if (rdev->family == CHIP_RS480 &&
+        rdev->pdev->subsystem_vendor == 0x103c &&
+        rdev->pdev->subsystem_device == 0x10fb)
+        return;
+
     /* DYN CLK 1 */
     table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE);
     if (table)