[Bug 95061] Laptop will not shutdown after suspend to disk (regression)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Mar 24 04:44:19 PDT 2015


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

--- Comment #6 from Dirk Griesbach <spamthis at freenet.de> ---
(In reply to Jani Nikula from comment #5)
> Please try
> http://mid.gmane.org/1426518839-25709-1-git-send-email-imre.deak@intel.com

After adjusting for vendor id (0x10cf - Fujitsu Limited. is not defined in
pci_ids.h) and gen3 the machine did power down properly with this patch.

Is there a current patch/branch this code can be added to? Simply adding
exceptions seems to get messy fast as pointed out by
https://lkml.org/lkml/2015/3/18/133 in particular if more platforms/vendors
need this workaround. Until then, I'm just posting the (Fujitsu only) code
snipped:

     * power down the device properly. Platforms where this was seen:
     * Lenovo Thinkpad X301, X61s
     * Lenovo Thinkpad X301, X61s, X41
         * Fujitsu Lifebook S7110
      */
        if (!(hibernation &&
              /* Fujitsu Limited. not defined in pci_ids.h */
              drm_dev->pdev->subsystem_vendor == 0x10cf &&
              IS_GEN3(dev_priv)))
                pci_set_power_state(drm_dev->pdev, PCI_D3hot);

Regards,
Dirk

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the intel-gfx-bugs mailing list