[Intel-gfx] [PATCH] drm/i915: fix failure to power off after hibernate
Bjørn Mork
bjorn at mork.no
Thu Feb 26 12:29:31 PST 2015
Ville Syrjälä <ville.syrjala at linux.intel.com> 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 at 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
More information about the Intel-gfx
mailing list