Bug 93330 - [BXT-P APL] Suspend to DISK does not work
Summary: [BXT-P APL] Suspend to DISK does not work
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Humberto Israel Perez Rodriguez
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-10 15:10 UTC by cprigent
Modified: 2016-01-12 17:29 UTC (History)
3 users (show)

See Also:
i915 platform: BXT
i915 features: power/suspend-resume


Attachments
dmesg.log (244.55 KB, text/plain)
2016-01-08 21:44 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description cprigent 2015-12-10 15:10:41 UTC
Q4 stack release setup:
-----------------------
Hardware 
Platform: Broxton P A0 Platform 
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake RVP Fab1 
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
BIOS : APLKRVPA.X64.0105.R45.1510272122
CSE FW : 3.0.0.1049
KSC : 1.04
Linux distribution: Ubuntu 15.10 64 bits
Kernel: tag testing 2015-11-20 from http://cgit.freedesktop.org/drm-intel/tag/?h=drm-intel-testing&id=drm-intel-testing-2015-11-20
Bios v105_48
xorg-server-1.18.0 from http://cgit.freedesktop.org/xorg/xserver
libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm/
xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.1 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
DMC 1.06 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares

Steps:
------
1. Execute command
sudo -s
echo disk > /sys/power/state
2. Wait 60 seconds
3. Resume with keyboard

Actual result:
--------------
Suspend to disk and resume do not work

Expected result:
-----------------
Suspend to disk and resume work
Comment 1 cprigent 2015-12-10 15:11:11 UTC
Assigned to me to provide logs and details of investigation
Comment 2 Jesse Barnes 2015-12-17 15:09:32 UTC
Can you try to capture logs either with netconsole or a serial console?  Also is it confirmed that i915 is the culprit here?  Does the failure to resume also occur without i915 loaded or compiled in?
Comment 3 Matt Roper 2015-12-17 16:28:51 UTC
Same note I wrote on the S3 bug applies here:

"""
Please try downgrading your DMC firmware to version 1.05 to see if that makes a difference; my team has seen some suspend/resume failures that only happen with the 1.06 DMC.

Also, as Jesse mentioned, ensure that i915 is the culprit by trying to suspend/resume without it in the picture.  Some of our early silicon has suspend/resume issues that are unrelated to software stack.
"""
Comment 4 cprigent 2016-01-07 16:39:32 UTC
Assigned to Humberto:
Please try without i915 and also with DMC 1.05
Comment 5 Humberto Israel Perez Rodriguez 2016-01-08 21:43:49 UTC
Hi :

After 5 attemps looks like that the BXT-P resume without any issues with DMC 1.05 and with the kernels (i915_no_loaded / drm-intel-testing) (attached dmesg.log)

attached dmesg.log

This was the configuration used during the test :

Bios : 119.10
KSC : 1.0
OS : Ubuntu 14.04.03 LTS x86_64

Graphic stack versions  :
-----------------------------------------
cairo version: 1.15.2 / commit :  db8a7f1 
drm version :  libdrm-2.4.66  / commit : b38a4b2 
intel-driver : 1.6.2 / commit: 683edee
libva version : libva-1.6.2 / commit : 304bc13
mesa version : mesa-11.0.8 / commit : 261daab 
xf86-video-intel version : 2.99.917  / commit : baec802 
xserver version :xorg-server-1.18.0 / commit :7921764 

kernel drm-intel-testing:
------------------------------------------
commit 91587c722c28c4116dedbfbf08aa874377bc76f8
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Dec 4 17:35:54 2015 +0100

    drm-intel-nightly: 2015y-12m-04d-16h-35m-07s UTC integration manifest

kernel version : 4.4.0-rc3
git url        : git://anongit.freedesktop.org/drm-intel
git branch     : drm-intel-testing
git describe   : drm-intel-next-2015-11-20-rebased-13721-g91587c7


Kernel without i915 loaded:
---------------------------------------------

commit b54e0f487f15213e85ca80c9ae9b953eb617cb42
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Jan 7 11:52:35 2016 +0200
drm-intel-nightly: 2016y-01m-07d-09h-52m-06s UTC integration manifest
Comment 6 Humberto Israel Perez Rodriguez 2016-01-08 21:44:07 UTC
Created attachment 120913 [details]
dmesg.log
Comment 7 cprigent 2016-01-12 17:29:17 UTC
So resolved as unreproducible
Comment 8 cprigent 2016-01-12 17:29:30 UTC
So closed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.