Bug 101355 - [DP] [SKL] [MST]Resume from suspend to disk fails
Summary: [DP] [SKL] [MST]Resume from suspend to disk fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 17:00 UTC by Victor Lopez
Modified: 2017-09-29 19:38 UTC (History)
2 users (show)

See Also:
i915 platform: SKL
i915 features: display/DP, display/DP MST


Attachments
dmesg log (416.57 KB, text/plain)
2017-06-08 17:00 UTC, Victor Lopez
no flags Details
HSW kern.log (416.57 KB, text/plain)
2017-06-08 17:07 UTC, Victor Lopez
no flags Details
dmesg log (539.57 KB, text/plain)
2017-06-13 17:56 UTC, Elio
no flags Details

Description Victor Lopez 2017-06-08 17:00:29 UTC
Created attachment 131811 [details]
dmesg log

System Environment
=======
OS: Linux Ubuntu 17.04 64 bits
Kernel: 4.12.0-rc3-drm-tip-ww2-commit-187376e+
X-Org: 1.19.99.1

Regression?
=======
No

Bug detailed description
=======
Haswell fails to return from S4 state with configurations 
SST2 HDMI + DP + HDMI - 4k and 
SST2 HDMI + DP + HDMI + 4k
What happens is that the display connected via DP + HDMI resumes with no video.

Reproduce Steps
==============
Connect both HDMI and DP + HDMI displays
$sudo su
#echo disk > /sys/power/state
Wait 10 seconds
Turn the DUT back on

Expected Result
=============
Both displays should resume with video signal

Actual Result
===========
One of the displays fail to resume with proper video signal

Analysis & Root Cause
===================
Unknown
Comment 1 Victor Lopez 2017-06-08 17:07:34 UTC
Created attachment 131812 [details]
HSW kern.log
Comment 2 Elizabeth 2017-06-09 21:17:53 UTC
Could you please add the HW information?
Comment 3 Victor Lopez 2017-06-12 19:26:51 UTC
Complete environment information, including hardware: 


======================================
	Graphic stack
======================================

======================================
	     Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017

======================================
	Graphic drivers
======================================
mesa                        : 17.2.0-devel (git-18efb404cf
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Haswell Mobile - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
	     Hardware
======================================
platform                   : HSW-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.73 GB
max memory ram             : 16 GB
display resolution         : 1920x1080
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : DP-3

======================================
	     Firmware
======================================

======================================
	     kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 4 Elio 2017-06-13 17:55:46 UTC
The problem is present with SKL with MST hub connected directly to DP, output is one monitor 1080 and other 4K audio capable using a dongle DP--to HDMI.

======================================
        Graphic stack
======================================

======================================
             Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016

======================================
        Graphic drivers
======================================
modesetting                 : xf86-video intel
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Skylake - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : SKL Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.31 GB
max memory ram             : 32 GB
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-4 DP-5

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


======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 5 Elio 2017-06-13 17:56:00 UTC
Created attachment 131928 [details]
dmesg log
Comment 6 Elizabeth 2017-09-27 20:50:12 UTC
Problem can't be reproduced on HSW with configuration:

======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-aa884e1+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.81
cairo                       : 1.14.8
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 1.83 GB
display resolution         : 5120x1080
cpu thread                 : 4
cpu model                  : 69
cpu stepping               : 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : HDMI-A-1 HDMI-A-2

======================================
             Firmware
======================================

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 7 Elizabeth 2017-09-27 21:03:34 UTC
(In reply to Elizabeth from comment #6)
> Problem can't be reproduced on HSW with configuration:
HDMI output to HDMI display HD + DP output to dongle to HDMI diplay 4K
Comment 8 Elizabeth 2017-09-28 22:03:18 UTC
I couldn't reproduce on SKL with the following configurations:

1- SKL with MST hub connected directly to DP. One output connected to HD monitor using a DP to DP cable, the other one connected to a 4K audio capable display through a DP to HDMI cable.
2- SKL with MST hub connected directly to DP. One output connected to HD monitor using a DP to HDMI cable, the other one connected to a 4K audio capable display through a DP to HDMI cable.

======================================
             Software
======================================
kernel version              : 4.14.0-rc2-drm-tip-ww39-commit-f4bd0d1+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : SKL Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.31 GB
max memory ram             : 32 GB
display resolution         : 5120x1080
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-4 DP-5

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

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe
Comment 9 Elizabeth 2017-09-29 19:38:33 UTC
(In reply to Elizabeth from comment #8)
> I couldn't reproduce on SKL with the following configurations...
Closing.


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.