Re: [PATCH] drm/i915: fix failure to power off after hibernate

From: BjÃrn Mork
Date: Thu Feb 26 2015 - 15:29:54 EST


Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx> writes:

>> @@ -651,7 +651,14 @@ static int i915_drm_suspend_late(struct drm_device *drm_dev)
>> }
>>
>> pci_disable_device(drm_dev->pdev);
>> - pci_set_power_state(drm_dev->pdev, PCI_D3hot);
>> + /*
>> + * During hibernation on some GM45 platforms the BIOS may try to access
>> + * the device even though it's already in D3 and hang the machine. So
>> + * leave the device in D0 on those platforms and hope the BIOS will
>> + * power down the device properly.
>
> Please include the model of the known bad machine in this comment, to
> help future archaeologists.

Here are some details:

bjorn@nemi:~$ grep . /sys/class/dmi/id/{bios,product}* 2>/dev/null
/sys/class/dmi/id/bios_date:12/19/2011
/sys/class/dmi/id/bios_vendor:LENOVO
/sys/class/dmi/id/bios_version:6EET55WW (3.15 )
/sys/class/dmi/id/product_name:2776LEG
/sys/class/dmi/id/product_version:ThinkPad X301

Please let me know if you need some other data.


BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/