Bug 103466 - After execute suspend to disk the platform hangs
Summary: After execute suspend to disk the platform hangs
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Armando Antonio
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 14:12 UTC by Armando Antonio
Modified: 2018-02-20 23:08 UTC (History)
2 users (show)

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


Attachments
kernel log (199.24 KB, text/plain)
2017-10-26 14:12 UTC, Armando Antonio
no flags Details
dmesg (57.38 KB, text/plain)
2017-10-26 14:13 UTC, Armando Antonio
no flags Details
kernel log (708.93 KB, text/plain)
2017-10-26 17:10 UTC, Armando Antonio
no flags Details
dmesg log (274.58 KB, text/plain)
2017-10-26 17:11 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-10-26 14:12:14 UTC
Created attachment 135063 [details]
kernel log

When run # echo disk > /sys/power/state, platform goes to suspend to disk but when I try to resume from S4, platform doesn't respond

Steps:

1.-Connect eDP, HDMI and DP
2.-Run # echo disj > /sys/power/state
3.-Try to resume from s4, check platform doesn't respond.
Comment 1 Armando Antonio 2017-10-26 14:12:57 UTC
Attached platform configuration.

======================================
Configuration
======================================
kernel version              : 4.14.0-rc5-drm-tip-ww42-commit-920fa32+
hostname                    : gfx-CannonLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 100.1
bios release date           : 08/15/2017
ksc                         : 1.28
hardware acceleration       : only available on X
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-796-g04b4f3b
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.84
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-29-gd4d976de
intel-gpu-tools (commit)    : d4d976de

======================================
	     Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.62 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.6
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
	     kernel parameters
======================================
quiet splash i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 2 Armando Antonio 2017-10-26 14:13:16 UTC
Created attachment 135064 [details]
dmesg
Comment 3 Armando Antonio 2017-10-26 17:10:40 UTC
Created attachment 135079 [details]
kernel log
Comment 4 Armando Antonio 2017-10-26 17:11:05 UTC
Created attachment 135080 [details]
dmesg log
Comment 5 Armando Antonio 2017-10-27 19:29:09 UTC
The following message appear frequently on dmesg

[    4.078911] [drm:drm_atomic_set_crtc_for_plane [drm]] Link plane state ffff941cdf33c400 to [NOCRTC]
[    4.078918] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for plane state ffff941cdf33c400
Comment 6 Rodrigo Vivi 2018-02-14 19:59:34 UTC
Is this still valid?

Does the same happen when i915 is not loaded?
Comment 7 Armando Antonio 2018-02-20 23:08:09 UTC
due to I didn't have any problem about s4 on CNL with the latest configuration, I'll close this bug as fixed:


======================================
             Software
======================================
kernel version              : 4.16.0-rc1-drm-tip-ww8-commit-337c900+
os version                  : Ubuntu 17.10
os codename                 : artful
[sudo] password for gfx: kernel driver               : i915
bios revision               : 124.2
bios release date           : 02/05/2018
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.90
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-114-g239305a77
intel-gpu-tools (commit)    : 239305a77

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
cpu model                  : 102
cpu stepping               : 2
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 HDMI-A-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7

======================================
             kernel parameters
======================================
splash i915.alpha_support=1 drm.debug=0x1e


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.