Bug 98290 - [BDW] kms_frontbuffer_tracking fbc-suspend fails
Summary: [BDW] kms_frontbuffer_tracking fbc-suspend fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: cprigent
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords: bisect_pending, regression
Depends on:
Blocks:
 
Reported: 2016-10-17 11:37 UTC by cprigent
Modified: 2017-03-10 13:37 UTC (History)
5 users (show)

See Also:
i915 platform: BDW
i915 features: display/FBC, power/suspend-resume


Attachments
71d1265.log (12.00 KB, text/x-log)
2016-10-18 23:01 UTC, Humberto Israel Perez Rodriguez
no flags Details
commit-aab15c2.log (11.96 KB, text/x-log)
2016-10-18 23:01 UTC, Humberto Israel Perez Rodriguez
no flags Details
commit-f35ed31.log (11.99 KB, text/x-log)
2016-10-18 23:01 UTC, Humberto Israel Perez Rodriguez
no flags Details
BDW__kms_frontbuffer_tracking__fbc-suspend__kern.log (379.56 KB, text/plain)
2016-10-20 11:57 UTC, cprigent
no flags Details
BDW__kms_frontbuffer_tracking__fbc-suspend__output (7.01 KB, text/plain)
2016-10-20 11:58 UTC, cprigent
no flags Details
BDW__suspend-to-mem__kern.log (425.22 KB, text/plain)
2016-10-20 11:58 UTC, cprigent
no flags Details
BDW__lsusb (11.43 KB, text/plain)
2016-10-20 12:09 UTC, cprigent
no flags Details
BDW-NUC5i3RYB__kms_frontbuffer_tracking__fbc-suspend__loop__kern.log (2.95 MB, text/plain)
2016-12-20 13:28 UTC, cprigent
no flags Details
BDW-NUC5i3RYB__kms_frontbuffer_tracking__fbc-suspend__loop__output (41.78 KB, text/plain)
2016-12-20 13:40 UTC, cprigent
no flags Details

Description cprigent 2016-10-17 11:37:23 UTC
Platform BDW: NUC5i7RYB
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping 4)
Motherboard version: H73774-102
GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Kingston 99U5469-045.A00LF
SSD: INTEL SSDSC2KW24

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits

The test was Pass with:
Kernel: 4.8.0-rc8 aab15c2 from http://cgit.freedesktop.org/drm-intel/
   commit aab15c274da587bcab19376d2caa9d6626440335
   Author: Jani Nikula <jani.nikula@intel.com>
   Date:   Mon Sep 26 15:11:53 2016 +0300
   drm-intel-nightly: 2016y-09m-26d-12h-11m-33s UTC integration manifest
libdrm-2.4.70-14 0659558 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-14 ba199cb from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-708 8f33f80 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-101 302cf63 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-30 32b2021 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

and is fail with:
Kernel: 4.8.0-rc8 aab15c2 from http://cgit.freedesktop.org/drm-intel/
  commit 71d126590e2fa6d65d93fe3586d55ddf9f6c39a6
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Mon Oct 3 15:23:29 2016 +0200
  drm-intel-nightly: 2016y-10m-03d-13h-22m-56s UTC integration manifest
libdrm-2.4.70-16 207efb1 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-51 c9b8ce7 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-708 8f33f80 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-127 0287ca6 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-41 1a76d88 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

and is fail again with:
Kernel: 4.8.0 f35ed31 from http://cgit.freedesktop.org/drm-intel/
  commit f35ed31aea66b3230c366fcba5f3456ae2cb956e
  Author: Jani Nikula <jani.nikula@intel.com>
  Date:   Mon Oct 10 14:29:09 2016 +0300
  drm-intel-nightly: 2016y-10m-10d-11h-28m-51s UTC integration manifest
libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-76 97a8353 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-712 696f58f from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-133 dd73514 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-59 48a9e1e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git


Steps:
------
1. Execute IGT test:
#./kms_frontbuffer_tracking --r fbc-suspend

Actual result:
--------------
1. Test is fail

Expected result:
----------------
1. Test is Pass
Comment 1 cprigent 2016-10-17 11:38:18 UTC
Associated bug: bug 91028
Comment 2 cprigent 2016-10-17 11:39:03 UTC
Assigned to Humberto to provide logs and bisect result
Comment 3 Humberto Israel Perez Rodriguez 2016-10-18 22:58:49 UTC
(In reply to cprigent from comment #2)
> Assigned to Humberto to provide logs and bisect result

with BDW Lenovo G50-80 Notebook this issue does not happen with the following kernel commits

commit aab15c274da587bcab19376d2caa9d6626440335
commit 71d126590e2fa6d65d93fe3586d55ddf9f6c39a6
commit f35ed31aea66b3230c366fcba5f3456ae2cb956e

Please see the attachments for each commit
Comment 4 Humberto Israel Perez Rodriguez 2016-10-18 23:01:06 UTC
Created attachment 127391 [details]
71d1265.log
Comment 5 Humberto Israel Perez Rodriguez 2016-10-18 23:01:34 UTC
Created attachment 127392 [details]
commit-aab15c2.log
Comment 6 Humberto Israel Perez Rodriguez 2016-10-18 23:01:49 UTC
Created attachment 127393 [details]
commit-f35ed31.log
Comment 7 Humberto Israel Perez Rodriguez 2016-10-18 23:02:43 UTC
This is the configuration for my previous comment

 Hardware information 
============================================ 
Platform                     	: BDW 
Motherboard model            	: 80E5 
Motherboard type             	: Lenovo G50-80 Notebook 
Motherboard manufacturer     	: LENOVO 
CPU family                   	: Core i5 
CPU information              	: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz 
GPU Card                     	: Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller]) 
Memory ram                   	: 6 GB 
Maximum memory ram allowed   	: 16 GB 
CPU thread                      : 4 
CPU core                        : 2 
Socket                          : Socket BGA1168 
Signature                       : Type 0, Family 6, Model 61, Stepping 4 
Hard drive capacity             : 149GiB (160GB) 

i'll try with a BDW nuc ASAP
Comment 8 Humberto Israel Perez Rodriguez 2016-10-19 00:59:04 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #7)
> This is the configuration for my previous comment
> 
>  Hardware information 
> ============================================ 
> Platform                     	: BDW 
> Motherboard model            	: 80E5 
> Motherboard type             	: Lenovo G50-80 Notebook 
> Motherboard manufacturer     	: LENOVO 
> CPU family                   	: Core i5 
> CPU information              	: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz 
> GPU Card                     	: Intel Corporation Broadwell-U Integrated
> Graphics (rev 09) (prog-if 00 [VGA controller]) 
> Memory ram                   	: 6 GB 
> Maximum memory ram allowed   	: 16 GB 
> CPU thread                      : 4 
> CPU core                        : 2 
> Socket                          : Socket BGA1168 
> Signature                       : Type 0, Family 6, Model 61, Stepping 4 
> Hard drive capacity             : 149GiB (160GB) 
> 
> i'll try with a BDW nuc ASAP

even with latest drm-intel-nightly the test passed

commit 5b633f423e27af3a7f30d303e243f5a2e82917ae
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Oct 18 14:27:24 2016 +0100

    drm-intel-nightly: 2016y-10m-18d-13h-24m-11s UTC integration manifest
Comment 9 Humberto Israel Perez Rodriguez 2016-10-19 01:15:29 UTC
Even with a BDW Nuc this test is passed with the following configuration


Hardware information 
============================================ 
Platform                     	: BDW Nuc
Motherboard type             	: NUC5i5MYBE Desktop 
CPU family                   	: Core i5 
CPU information              	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz 
GPU Card                     	: Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller]) 
Memory ram                   	: 16 GB 
Maximum memory ram allowed   	: 16 GB 
CPU thread                      : 4 
CPU core                        : 2 
Socket                          : Socket BGA1168 
Signature                       : Type 0, Family 6, Model 61, Stepping 4 
Hard drive capacity             : 111GiB (120GB)


Gfx Stack
=============================================
Component         : drm
	tag       : libdrm-2.4.70-14-g0659558
	commit    : 0659558 

Component         : cairo
	tag       : 1.15.2
	commit    : db8a7f1 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.16-30-g32b2021
	commit    : 32b2021 


Commits tested from drm-intel-nightly
==============================================
latest available commit : 5b633f423e27af3a7f30d303e243f5a2e82917ae (pass)
commit aab15c274da587bcab19376d2caa9d6626440335 WW40 (pass)
commit 71d126590e2fa6d65d93fe3586d55ddf9f6c39a6 WW41 (pass)
commit f35ed31aea66b3230c366fcba5f3456ae2cb956e WW42 (pass)
Comment 10 yann 2016-10-19 07:00:48 UTC
Christophe, please confirm whether or not we can close that bug as worksforme
Comment 11 cprigent 2016-10-20 11:57:38 UTC
Created attachment 127424 [details]
BDW__kms_frontbuffer_tracking__fbc-suspend__kern.log
Comment 12 cprigent 2016-10-20 11:58:00 UTC
Created attachment 127425 [details]
BDW__kms_frontbuffer_tracking__fbc-suspend__output
Comment 13 cprigent 2016-10-20 11:58:19 UTC
Created attachment 127426 [details]
BDW__suspend-to-mem__kern.log
Comment 14 cprigent 2016-10-20 12:09:46 UTC
Created attachment 127427 [details]
BDW__lsusb

IGT output shows an rtcwake error:
(kms_frontbuffer_tracking:1651) igt-aux-CRITICAL: This failure means that something is wrong with the rtcwake tool or how your distro is set up. This is not a i915.ko or i-g-t bug.

rtcwake returns a write error after several tries:
root@BDW101:/home/user# rtcwake -m mem -s 30
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:51:10 2016
root@BDW101:/home/user# rtcwake -m mem -s 30
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:52:54 2016
root@BDW101:/home/user# rtcwake -m mem -s 30
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:53:45 2016
rtcwake: write error

Could it be due to USB?
[   22.361971] usb 2-7: device descriptor read/64, error -110
[   22.589896] usb 2-7: new full-speed USB device number 3 using xhci_hcd
[   24.098323] random: crng init done
[   27.738320] usb 2-7: device descriptor read/64, error -110
[   43.355423] usb 2-7: device descriptor read/64, error -110
[   43.583349] usb 2-7: new full-speed USB device number 4 using xhci_hcd
[   48.611744] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[   48.819846] usb 2-7: Device not responding to setup address.
[   49.027725] usb 2-7: device not accepting address 4, error -71
[   49.147738] usb 2-7: new full-speed USB device number 5 using xhci_hcd
[   54.244174] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[   54.452237] usb 2-7: Device not responding to setup address.
[   54.660115] usb 2-7: device not accepting address 5, error -71
[   54.660163] usb usb2-port7: unable to enumerate USB device


Platform BDW: NUC5i7RYB
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping 4)
Motherboard version: H73774-102
GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Kingston 99U5469-045.A00LF
SSD: INTEL SSDSC2KW24

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits
Setup:
Kernel: 4.9.0-rc1 5b633f4 from http://cgit.freedesktop.org/drm-intel/
  commit 5b633f423e27af3a7f30d303e243f5a2e82917ae
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Tue Oct 18 13:27:24 2016 +0000
  drm-intel-nightly: 2016y-10m-18d-13h-24m-11s UTC integration manifest
libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-80 5dcb066 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-713 eb01cc5 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-138 fc7bd06 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: 1.16 27d3070 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 15 Humberto Israel Perez Rodriguez 2016-10-25 19:45:40 UTC
(In reply to cprigent from comment #14)
> Created attachment 127427 [details]
> BDW__lsusb
> 
> IGT output shows an rtcwake error:
> (kms_frontbuffer_tracking:1651) igt-aux-CRITICAL: This failure means that
> something is wrong with the rtcwake tool or how your distro is set up. This
> is not a i915.ko or i-g-t bug.
> 
> rtcwake returns a write error after several tries:
> root@BDW101:/home/user# rtcwake -m mem -s 30
> rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:51:10 2016
> root@BDW101:/home/user# rtcwake -m mem -s 30
> rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:52:54 2016
> root@BDW101:/home/user# rtcwake -m mem -s 30
> rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Oct 20 11:53:45 2016
> rtcwake: write error
> 
> Could it be due to USB?
> [   22.361971] usb 2-7: device descriptor read/64, error -110
> [   22.589896] usb 2-7: new full-speed USB device number 3 using xhci_hcd
> [   24.098323] random: crng init done
> [   27.738320] usb 2-7: device descriptor read/64, error -110
> [   43.355423] usb 2-7: device descriptor read/64, error -110
> [   43.583349] usb 2-7: new full-speed USB device number 4 using xhci_hcd
> [   48.611744] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device
> command
> [   48.819846] usb 2-7: Device not responding to setup address.
> [   49.027725] usb 2-7: device not accepting address 4, error -71
> [   49.147738] usb 2-7: new full-speed USB device number 5 using xhci_hcd
> [   54.244174] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device
> command
> [   54.452237] usb 2-7: Device not responding to setup address.
> [   54.660115] usb 2-7: device not accepting address 5, error -71
> [   54.660163] usb usb2-port7: unable to enumerate USB device
> 
> 
> Platform BDW: NUC5i7RYB
> CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping
> 4)
> Motherboard version: H73774-102
> GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated
> Graphics (rev 09)
> Memory: two 4GB card Kingston 99U5469-045.A00LF
> SSD: INTEL SSDSC2KW24
> 
> Software
> Bios: RYBDWi35.86A.0358.2016.0606.1423 from
> https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-
> 86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.
> bio
> Linux distribution: Ubuntu 16.04 64 bits
> Setup:
> Kernel: 4.9.0-rc1 5b633f4 from http://cgit.freedesktop.org/drm-intel/
>   commit 5b633f423e27af3a7f30d303e243f5a2e82917ae
>   Author: Chris Wilson <chris@chris-wilson.co.uk>
>   Date:   Tue Oct 18 13:27:24 2016 +0000
>   drm-intel-nightly: 2016y-10m-18d-13h-24m-11s UTC integration manifest
> libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
> mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
> cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
> xorg-server-1.18.99.901-80 5dcb066 from
> git://git.freedesktop.org/git/xorg/xserver
> xf86-video-intel 2.99.917-713 eb01cc5 from
> git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
> libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
> vaapi-intel-driver: 1.7.2-138 fc7bd06 from
> git://git.freedesktop.org/git/vaapi/intel-driver
> IGT: 1.16 27d3070 from
> http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

maybe you can try with 

# hwclock -w

and test againg
Comment 16 cprigent 2016-12-20 13:28:31 UTC
Created attachment 128586 [details]
BDW-NUC5i3RYB__kms_frontbuffer_tracking__fbc-suspend__loop__kern.log
Comment 17 cprigent 2016-12-20 13:40:25 UTC
Created attachment 128588 [details]
BDW-NUC5i3RYB__kms_frontbuffer_tracking__fbc-suspend__loop__output

yes, the clock is accurate.
Tested in a loop using a BDW NUC5i3RYB with fresh setup, it is 50% reproduced.

USB controller also fails to suspend:
[  495.830966] calling  0000:00:14.0+ @ 163, parent: pci0000:00
[  495.830972] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
[  495.830976] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -16
[  495.830977] call 0000:00:14.0+ returned -16 after 9 usecs
[  495.830978] PM: Device 0000:00:14.0 failed to suspend async: error -16
[  495.896515] PM: Some devices failed to suspend, or early wake event detected

Platform BDW: NUC5i3RYB
CPU: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (family 6, model 61, stepping 4)
Motherboard version: H41000-503
GPU: Intel® HD Graphics 5500 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Crucial CT51264BF160B.C16F
SSD: INTEL SSDSC2BW48 480 Go

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.9.0 86a2672 branch drm-tip from https://cgit.freedesktop.org/drm-tip
  commit 86a26727690faef9018c6585e0094e701e0e9b0c
  Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
  Date:   Mon Dec 19 11:15:50 2016 -0800
  drm-tip: 2016y-12m-19d-19h-15m-10s UTC integration manifest
libdrm-2.4.74-17 a07cf7f from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.2 c9e993b from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.4 9fe6683 from git://anongit.freedesktop.org/cairo
xorg-server-1.19.0-31 b5dffbb from git://git.freedesktop.org/git/xorg/xserver
xf86-video-2.99.917-746 169c74f from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-44 598fb9e from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-199 4518d07 from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.17-53 38bffd9 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

External screen: DELL U2311Hb
Comment 18 Paulo Zanoni 2016-12-23 11:27:10 UTC
Does the same problem also happen when you run the other suspend/resume tests on the same machine?

If yes, it may be worth testing with i915.ko blacklisted just to see if it's actually our fault.
Comment 19 Paulo Zanoni 2016-12-23 12:17:24 UTC
(In reply to Paulo Zanoni from comment #18)
> Does the same problem also happen when you run the other suspend/resume
> tests on the same machine?
> 
> If yes, it may be worth testing with i915.ko blacklisted just to see if it's
> actually our fault.

Also, this bug is certainly a regression since when I wrote this test, it passed. So a bisection would be useful here.
Comment 20 cprigent 2017-01-20 14:24:01 UTC
I will work on it ww04.
Comment 21 Tomeu Vizoso 2017-02-09 10:28:10 UTC
Is there any indication of a bug in either i915 or IGT?
Comment 22 David Weinehall 2017-02-16 17:54:44 UTC
This test passes on both a Lenovo ThinkPad X1 Carbon (Broadwell) and a Intel NUC5i7RYH (haven't checked BIOS version), built from drm-tip on 2017-02-15.

It should be noted that the ThinkPad does NOT support PSR, but since the original bug report concerned the NUCi7RYB this shouldn't matter (unless that NUC was paired up with a PSR capable eDP).
Comment 23 Ricardo 2017-03-01 20:13:34 UTC
Christophe this test is been reported as now pass. I will put this bug as Resolved fixed and once you confirm it please close it
Comment 24 cprigent 2017-03-10 13:37:44 UTC
I confirm it.

Tested with:
Platform BDW: NUC5i7RYB
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping 4)
Motherboard version: H73774-102
GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Kingston 99U5469-045.A00LF
SSD: INTEL SSDSC2KW24

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits

Kernel: 4.10.0 f76e5ec branch drm-tip from https://cgit.freedesktop.org/drm-tip
  commit: f76e5eca8c2a46cbd0203d32842bca6ce0ec16ef
  committed_date: Mon Feb 27 13:20:52 2017 +0000
  author: Mika Kuoppala <mika.kuoppala@intel.com>
  summary: 'drm-tip: 2017y-02m-27d-13h-20m-25s UTC integration manifest'

libdrm-2.4.75-10 f6499b1 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-17.0.0 683462e from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.4 9fe6683 from git://anongit.freedesktop.org/cairo
xorg-server-1.19.0-125 7d7788e from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-758 860c366 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.3.pre1-84 e613327 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.3-325 03a86fc from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.17-261 8f3164f from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

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.