Bug 92211 - [IGT] [BAT] igt/pm_rpm/basic-pci-d3-state fails wait_for_suspended()
Summary: [IGT] [BAT] igt/pm_rpm/basic-pci-d3-state fails wait_for_suspended()
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords: regression
: 92604 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-01 14:38 UTC by cprigent
Modified: 2018-02-13 16:27 UTC (History)
3 users (show)

See Also:
i915 platform: GLK
i915 features: power/runtime PM


Attachments
kern.log.bz2 (185.06 KB, text/plain)
2015-10-01 14:38 UTC, cprigent
no flags Details
results.json.bz2 (6.84 KB, text/plain)
2015-10-01 14:40 UTC, cprigent
no flags Details
bdw-kern.log.bz2 (164.62 KB, text/plain)
2015-10-06 13:20 UTC, cprigent
no flags Details
bdw-results.json.bz2 (6.90 KB, text/plain)
2015-10-06 13:21 UTC, cprigent
no flags Details
hsw-kern.log.bz2 (182.67 KB, text/plain)
2015-10-06 13:21 UTC, cprigent
no flags Details
hsw-results.json.bz2 (6.75 KB, text/plain)
2015-10-06 13:21 UTC, cprigent
no flags Details
dmesg log file for drm-intel-testing-2015-10-10 (353.27 KB, text/plain)
2015-10-16 11:47 UTC, Olivier Berthier
no flags Details
bytm-kern.log.bz2 (389.73 KB, text/plain)
2015-10-28 11:40 UTC, cprigent
no flags Details
bytm-results.json.bz2 (7.46 KB, text/plain)
2015-10-28 11:40 UTC, cprigent
no flags Details

Description cprigent 2015-10-01 14:38:49 UTC
Created attachment 118560 [details]
kern.log.bz2

Setup:
-------
Platform: Crescent Bay ULT
CPU: Broadwell U 2+2 E2
Chipset PCH: Wildcat Point B2
CRB: SawTooth Peak Fab3
Software 
Linux distribution: Ubuntu 14.04 LTS 64 bits  
BIOS : BDW-E1R1.86C.0092.R00.1408311942
Kernel Version: drm-intel-next-2015-09-28-11500-g794e1cd, Commit: 794e1cdfb84be003dbd287c69501c98ec280a89b
i-g-t Version: intel-gpu-tools-1.12-12-g983dfe5 i-g-t Commit: 983dfe5b68e2e18006cee78811ff387735386fa1 

Regression:
-----------
Test was Pass with:
Kernel Version: drm-intel-next-2015-09-28-11458-gb02681c, Commit: b02681c649201f1d94cf7c33d00e2859d19ccd89
i-g-t Version: intel-gpu-tools-1.12-11-g571942f i-g-t Commit: 571942f0c43451b48b0d47d80c70ff2808908317 

Steps:
-------
Execute command:
./pm_rpm --run-subtest basic-pci-d3-state

Actual result:
---------------
Test result is fail

Expected result:
----------------
Test is Pass

Info:
-----
From result.json:
            "result": "fail", 
            "err": "Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1376:\nFailed assertion: wait_for_suspended()\nLast errno: 2, No such file or directory\nSubtest basic-pci-d3-state failed.\n**** DEBUG ****\nTest requirement passed: has_runtime_pm\nTest assertion failure function pci_d3_state_subtest, file pm_rpm.c:1376:\nFailed assertion: wait_for_suspended()\nLast errno: 2, No such file or directory\n****  END  ****\n", 

Failure is reproduced with:
Kernel Version: drm-intel-next-2015-09-28-11531-gc9b73e9, Commit: c9b73e9c069f9190e00befb38832e9eaaaff9a8f
i-g-t Version: intel-gpu-tools-1.12-12-g983dfe5 i-g-t, Commit: 983dfe5b68e2e18006cee78811ff387735386fa1
Comment 1 cprigent 2015-10-01 14:40:08 UTC
Created attachment 118561 [details]
results.json.bz2
Comment 2 cprigent 2015-10-06 13:20:37 UTC
Created attachment 118715 [details]
bdw-kern.log.bz2
Comment 3 cprigent 2015-10-06 13:21:00 UTC
Created attachment 118716 [details]
bdw-results.json.bz2
Comment 4 cprigent 2015-10-06 13:21:23 UTC
Created attachment 118717 [details]
hsw-kern.log.bz2
Comment 5 cprigent 2015-10-06 13:21:41 UTC
Created attachment 118718 [details]
hsw-results.json.bz2
Comment 6 cprigent 2015-10-06 14:28:28 UTC
Reproduced on HSW-ULT (STP Fab3)
Hardware
Platform: Shark Bay ULT 
CPU : Intel® Core ™ i7-4550 @ 1.5GHz (family: 6, model: 69, stepping: 1)
SoC: Haswell ULT 2+3 C3
Chipset PCH: LynxPoint B1
CRB: SawTooth Peak Fab3
Reworks : F06  (Audio), F10 (DevSleep), F22 (NFC)
Software 
Linux distribution: Ubuntu 14.04 LTS 64 bits 

Reproduced on BDW-U (WTM1 Fab3)
Hardware 
Platform: Crescent Bay ULT 
CPU: Intel® Core™ i5 5300-U @ 2.30 GHz (family: 6, model: 61  stepping: 4 )
SoC :  Broadwell U 2+2 F0
Chipset PCH: Wildcat Point B2
CRB: White Tip Mountain 1 Fab3
Software 
BIOS : BDW-E1R1.86C.0114.R00.1502042131
ME FW : 10.0.38.1000                                                                    Ksc : 1.18
Comment 7 Paulo Zanoni 2015-10-06 20:51:25 UTC
Hi

I'm 100% sure this is a regression. Can you please bisect this for us? You may have to go back a few Kernel versions in order to find a good commit, but I'm 100% sure this used to work on BDW at some point.

Thanks,
Paulo
Comment 8 cprigent 2015-10-08 13:44:29 UTC
Not reproduced with kernel drm-intel-nightly 4.3.0-rc4 9e89df3.

HSW-ULT (STP Fab3)
Hardware
Platform: Shark Bay ULT 
CPU : Intel® Core ™ i7-4550 @ 1.5GHz (family: 6, model: 69, stepping: 1)
SoC: Haswell ULT 2+3 C3
Chipset PCH: LynxPoint B1
CRB: SawTooth Peak Fab3
Reworks : F06  (Audio), F10 (DevSleep), F22 (NFC)
Software 
Linux distribution: Ubuntu 14.04 LTS 64 bits 

BDW-U (WTM1 Fab3)
Hardware 
Platform: Crescent Bay ULT 
CPU: Intel® Core™ i5 5300-U @ 2.30 GHz (family: 6, model: 61  stepping: 4 )
SoC :  Broadwell U 2+2 F0
Chipset PCH: Wildcat Point B2
CRB: White Tip Mountain 1 Fab3
Software 
BIOS : BDW-E1R1.86C.0114.R00.1502042131
ME FW : 10.0.38.1000                                                                    Ksc : 1.18

kernel drm-intel-nightly 4.3.0-rc4 9e89df3 from anongit.freedesktop.org/drm-intel
commit 9e89df3714be34218fd1af734ed34f944ba0f304
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Oct 7 16:39:03 2015 +0200
drm-intel-nightly: 2015y-10m-07d-14h-38m-18s UTC integration manifest
Comment 9 cprigent 2015-10-08 13:44:50 UTC
So closed as unreproducible
Comment 10 cprigent 2015-10-09 10:14:41 UTC
Reproduced with kernel drm-intel-nightly 7c5adfc1da122fb3cf8fae4b7b638e85ec6ddbae anongit.freedesktop.org/drm-intel
Comment 11 cprigent 2015-10-13 15:21:06 UTC
Reproduced on SKL-Y with IGT fully launched.

For info, very few pm_rpm tests are Pass:
igt@pm_rpm@basic-pci-d3-state	Fail	
igt@pm_rpm@basic-rte	Fail	
igt@pm_rpm@cursor	Fail	
igt@pm_rpm@cursor-dpms	Fail	
igt@pm_rpm@debugfs-forcewake-user	Fail	
igt@pm_rpm@debugfs-read	Fail	
igt@pm_rpm@dpms-lpsp	Fail	
igt@pm_rpm@dpms-mode-unset-lpsp	Fail	
igt@pm_rpm@dpms-mode-unset-non-lpsp	Fail	
igt@pm_rpm@dpms-non-lpsp	Fail	
igt@pm_rpm@drm-resources-equal	Fail	
igt@pm_rpm@fences	Fail	
igt@pm_rpm@fences-dpms	Fail	
igt@pm_rpm@gem-evict-pwrite	Fail	
igt@pm_rpm@gem-execbuf	Fail	
igt@pm_rpm@gem-execbuf-stress	Fail	
igt@pm_rpm@gem-execbuf-stress-extra-wait	Fail	
igt@pm_rpm@gem-execbuf-stress-pc8	Not run	
igt@pm_rpm@gem-idle	Fail	
igt@pm_rpm@gem-mmap-cpu	Fail	
igt@pm_rpm@gem-mmap-gtt	Fail	
igt@pm_rpm@gem-pread	Fail	
igt@pm_rpm@i2c	Fail	
igt@pm_rpm@legacy-planes	Fail	
igt@pm_rpm@legacy-planes-dpms	Fail	
igt@pm_rpm@modeset-lpsp	Fail	
igt@pm_rpm@modeset-lpsp-stress	Fail	
igt@pm_rpm@modeset-lpsp-stress-no-wait	Pass	
igt@pm_rpm@modeset-non-lpsp	Fail	
igt@pm_rpm@modeset-non-lpsp-stress	Fail	
igt@pm_rpm@modeset-non-lpsp-stress-no-wait	Pass	
igt@pm_rpm@modeset-pc8-residency-stress	Not run	
igt@pm_rpm@modeset-stress-extra-wait	Fail	
igt@pm_rpm@pc8-residency	Not run	
igt@pm_rpm@reg-read-ioctl	Fail	
igt@pm_rpm@sysfs-read	Fail	
igt@pm_rpm@system-suspend	Not run	Blacklisted
igt@pm_rpm@system-suspend-execbuf	Not run	Blacklisted
igt@pm_rpm@system-suspend-modeset	Not run	Blacklisted
igt@pm_rpm@universal-planes	Fail	
igt@pm_rpm@universal-planes-dpms	Fail	

Hardware:
Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1 2+2 (ou ULX-D1)
QDF : QJK9 
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02,FBS03, F23, O-02 & O-06
Software
Linux : Ubuntu 14.04 LTS 64 bits
BIOS : SKLSE2R1.R00.X097.B02.1509020030
ME FW : 11.0.0.1173
Ksc (EC FW): 1.19

kernel 4.3.0-rc3-drm-intel-nightly+ (eb69e51) from git://anongit.freedesktop.org/drm-intel
Mesa - 11.0.2 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Comment 12 Olivier Berthier 2015-10-16 11:47:14 UTC
Created attachment 118914 [details]
dmesg log file for drm-intel-testing-2015-10-10

Reproduced on Sky Lake Y with the drm-intel-testing-2015-10-10 kernel.

Setup:
------
Hardware:
Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1 2+2 (ou ULX-D1)
QDF : QJK9 
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2

Software
Linux : Ubuntu 15.04 LTS 64 bits
BIOS : SKLSE2R1.R00.X100.B01.1509220551 
ME FW : 11.0.0.1173
Ksc (EC FW): 1.19

kernel: drm-intel-testing 2015-10-10 c38f2c24fb6484fc6900efa6f8d968e8ee964e9c
cairo: 1.14.2 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d 
libdrm: 2.4.65 c3496167637e35cf8a52d5e7e53a412e79d80db0
intel-driver: 1.6.1 35858c69166b845c59ca32e19a3dbb0b758df209 
libva: 1.6.1 613eb962b45fbbd1526d751e88e0d8897af6c0e0
mesa: 11.0.3 914966befcd57764941405707d8f57d3e7e7f768 
xf86-video-intel: 2.99.917 baec802b21387d04aebb10ac29e719a1800c5aa0 
xserver: 1.17.2 2123f7682d522619f101b05fb75efa75dabbe371

intel-gpu-tools: origin/master, origin/HEAD bfea74a9f64a900bcb90f946b38746781017449f
Comment 13 cprigent 2015-10-28 11:08:53 UTC
Still fail on BSW-M:
Hardware:
Motherboard: Braswell CRB
cpu model name : Intel(R) Celeron(R) CPU N3060 @ 1.60GHz
cpu model : 76
cpu family : 6
Graphic card: Device 22b1 (rev 31)
Software:
Kernel: drm-intel-nightly 4.3.0-rc5 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4 from git://anongit.freedesktop.org/drm-intel
commit 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4
Author: Matt Roper <matthew.d.roper@intel.com>
Date:   Mon Oct 19 13:42:16 2015 -0700
drm-intel-nightly: 2015y-10m-19d-20h-41m-28s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: BRAS.X64.B084.R00.1508310642
Libdrm: 2.4.65
Comment 14 cprigent 2015-10-28 11:23:36 UTC
Still fail on BDW-U:
Hardware:
Motherboard: WhiteTip Mountain
cpu model name : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
cpu model : 61
cpu family : 6
Graphic card: Broadwell-U Integrated Graphics (rev 09)
Software:
Kernel: drm-intel-nightly 4.3.0-rc7 34d1da7d864295c6411788d84b44567f029defd6 from git://anongit.freedesktop.org/drm-intel
commit 34d1da7d864295c6411788d84b44567f029defd6
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Oct 27 15:54:58 2015 +0200
drm-intel-nightly: 2015y-10m-27d-13h-54m-35s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: BDW-E1R1.86C.0125.R00.1506031935
Libdrm: 2.4.65
Comment 15 cprigent 2015-10-28 11:34:30 UTC
Still fail on HSW-ULT:
Hardware:
Motherboard: SawTooth Peak
cpu model name : Intel(R) Core(TM) i7-4550U CPU @ 1.50GHz
cpu model : 69
cpu family : 6
Graphic card: Haswell-ULT Integrated Graphics Controller (rev 09)
Software:
Kernel: drm-intel-nightly 4.3.0-rc7 34d1da7d864295c6411788d84b44567f029defd6 from git://anongit.freedesktop.org/drm-intel
commit 34d1da7d864295c6411788d84b44567f029defd6
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Oct 27 15:54:58 2015 +0200
drm-intel-nightly: 2015y-10m-27d-13h-54m-35s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: HSWLPTU1.86C.0135.R01.1311020052
Libdrm: 2.4.65
Comment 16 cprigent 2015-10-28 11:40:29 UTC
Created attachment 119256 [details]
bytm-kern.log.bz2

Also fail on BYT-M:
Hardware:
Motherboard: Aspire XC-603
cpu model name : Intel(R) Pentium(R) CPU J2900 @ 2.41GHz
cpu model : 55
cpu family : 6
Graphic card: ValleyView Gen7 (rev 0e)
Software:
Kernel: drm-intel-nightly 4.3.0-rc5 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4 from git://anongit.freedesktop.org/drm-intel
commit 11bf7cfa1ba766d1e4060e41d6ece3beccfa2cf4
Author: Matt Roper <matthew.d.roper@intel.com>
Date:   Mon Oct 19 13:42:16 2015 -0700
drm-intel-nightly: 2015y-10m-19d-20h-41m-28s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: P11-B2
Libdrm: 2.4.65
Comment 17 cprigent 2015-10-28 11:40:51 UTC
Created attachment 119257 [details]
bytm-results.json.bz2
Comment 18 cprigent 2015-10-28 13:55:08 UTC
Also fail on Sandy Bridge

Hardware:
Motherboard: DQ67SW
cpu model name : Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
cpu model : 42
cpu family : 6
Graphic card: 2nd Generation Core Processor Family Integrated Graphics
Software:
Kernel: drm-intel-nightly 4.3.0-rc7 34d1da7d864295c6411788d84b44567f029defd6 from git://anongit.freedesktop.org/drm-intel
commit 34d1da7d864295c6411788d84b44567f029defd6
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Oct 27 15:54:58 2015 +0200
drm-intel-nightly: 2015y-10m-27d-13h-54m-35s UTC integration manifest
Ubuntu 14.04.1 LTS
Bios: SWQ6710H.86A.0060.2011.1220.1805
Libdrm: 2.4.65
Comment 19 cprigent 2015-11-07 14:16:20 UTC
Reproduced on SKL-Y:

Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1 2+2 (ou ULX-D1)
QDF : QJK9 
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02,FBS03, F23, O-02 & O-06
Software
BIOS : SKLSE2R1.R00.X097.B02.1509020030
ME FW : 11.0.0.1173
Ksc (EC FW): 1.19
Linux distribution: Ubuntu 14.04 LTS 64 bits
kernel 4.3.0-rc7-drm-intel-nightly (86ba603) from git://anongit.freedesktop.org/drm-intel
  commit 86ba603f327626055fe1436112b3786eaaaf7fb1
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Sat Oct 31 09:27:21 2015 +0100
  drm-intel-nightly: 2015y-10m-31d-08h-26m-39s UTC integration manifest
Mesa 11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Comment 20 Imre Deak 2015-11-07 16:28:25 UTC
Could you give a try to the following branch on SKL:
https://github.com/ideak/linux/commits/dmc-fixes
Comment 21 Olivier Berthier 2015-11-09 12:05:59 UTC
Many fails are resolved with the kernel https://github.com/ideak/linux/commits/dmc-fixes :

IGT-Version: 1.12-gbfea74a (x86_64) (Linux: 4.3.0-dmc-fixes+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest basic-rte: SUCCESS (3.200s)
Test assertion failure function assert_drm_edids_equal, file pm_rpm.c:513:
Failed assertion: e1->id == e2->id
Last errno: 2, No such file or directory
error: 54 != 83
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [assert_drm_infos_equal+0xafe]
  #2 [<unknown>+0xafe]
  #3 [<unknown>+0xafe]
Subtest drm-resources-equal failed.
**** DEBUG ****
Test requirement passed: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Test requirement passed: enable_one_screen_with_type(data, SCREEN_TYPE_ANY)
Test assertion failure function assert_drm_edids_equal, file pm_rpm.c:513:
Failed assertion: e1->id == e2->id
Last errno: 2, No such file or directory
error: 54 != 83
****  END  ****
Subtest drm-resources-equal: FAIL (6.036s)
Subtest basic-pci-d3-state: SUCCESS (1.208s)
Subtest modeset-lpsp: SUCCESS (1.772s)
Subtest modeset-non-lpsp: SUCCESS (1.796s)
Subtest dpms-lpsp: SUCCESS (2.212s)
Subtest dpms-non-lpsp: SUCCESS (1.796s)
Subtest gem-mmap-cpu: SUCCESS (4.208s)
Subtest gem-mmap-gtt: SUCCESS (10.004s)
Subtest gem-pread: SUCCESS (4.044s)
Subtest gem-execbuf: SUCCESS (5.744s)
Subtest gem-idle: SUCCESS (6.960s)
Subtest gem-evict-pwrite: SUCCESS (2.072s)
Subtest cursor: SUCCESS (13.848s)
Subtest cursor-dpms: SUCCESS (12.044s)
Subtest legacy-planes: SUCCESS (10.024s)
Subtest legacy-planes-dpms: SUCCESS (7.972s)
Subtest universal-planes: SUCCESS (25.948s)
^[[CSubtest universal-planes-dpms: SUCCESS (27.996s)
Subtest reg-read-ioctl: SUCCESS (4.008s)
Subtest i2c: SUCCESS (6.192s)
Test requirement not met in function pc8_residency_subtest, file pm_rpm.c:736:
Test requirement: has_pc8
Last errno: 6, No such device or address
Subtest pc8-residency: SKIP (0.000s)
Subtest debugfs-read: SUCCESS (37.880s)
Subtest debugfs-forcewake-user: SUCCESS (10.140s)
Subtest sysfs-read: SUCCESS (7.840s)
Subtest dpms-mode-unset-lpsp: SUCCESS (4.020s)
Subtest dpms-mode-unset-non-lpsp: SUCCESS (3.992s)
Subtest fences: SUCCESS (5.372s)
Subtest fences-dpms: SUCCESS (6.052s)
Subtest modeset-lpsp-stress: SUCCESS (78.868s)
Subtest modeset-non-lpsp-stress: SUCCESS (81.820s)
Subtest modeset-lpsp-stress-no-wait: SUCCESS (43.628s)
Subtest modeset-non-lpsp-stress-no-wait: SUCCESS (10.980s)
Test requirement not met in function modeset_subtest, file pm_rpm.c:755:
Test requirement: has_pc8
Subtest modeset-pc8-residency-stress: SKIP (0.000s)
^[[CSubtest modeset-stress-extra-wait: SUCCESS (238.500s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Nov  9 11:14:03 2015
Subtest system-suspend: SUCCESS (3.772s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Nov  9 11:14:38 2015
Subtest system-suspend-execbuf: SUCCESS (44.096s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Nov  9 11:15:53 2015
Subtest system-suspend-modeset: SUCCESS (5.892s)
Subtest gem-execbuf-stress: SUCCESS (80.080s)
Test requirement not met in function gem_execbuf_stress_subtest, file pm_rpm.c:1275:
Test requirement: has_pc8
Subtest gem-execbuf-stress-pc8: SKIP (0.000s)
Subtest gem-execbuf-stress-extra-wait: SUCCESS (282.040s)
Comment 22 cprigent 2015-11-15 15:56:26 UTC
Reassigned to Imre for the next step.
Comment 23 Kimmo Nikkanen 2015-11-17 13:28:27 UTC
*** Bug 92604 has been marked as a duplicate of this bug. ***
Comment 24 Imre Deak 2015-11-17 19:58:51 UTC
The fix for SKL/basic-pci-d3-state subtest is merged now to -nightly, could you give it a go? Note that atm, you have to boot with i915.disable_power_well=1 for this test to pass.
Comment 25 cprigent 2015-11-26 11:36:53 UTC
Test is Pass on SKL-Y.

Hardware
Platform: SKY LAKE Y A0 QUAL
CPU : Intel(R) Core(TM) M5-6Y54 @ 1.10GHz 4MB (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1  
QDF : QJ9W
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02 & FBS03, O-06
Software 
Linux : Ubuntu 14.04 64 bits
BIOS : SKLSE2R1.R00.B104.B01.1511110114
ME FW : 11.0.0.1191
Ksc (EC FW): 1.20
Kernel 4.4.0-rc2 nighlty 7a06d77 from git://anongit.freedesktop.org/drm-intel
  commit 7a06d7743ef3ffa5b93bd4e528909834da8d92b6
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Wed Nov 25 18:09:23 2015 +0100
  drm-intel-nightly: 2015y-11m-25d-17h-08m-45s UTC integration manifest
  With patch https://bugs.freedesktop.org/attachment.cgi?id=119736 applied
Mesa 11.0.5 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
DMC 1.23 and GuC 4.3 from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
IGT 1.12-gd84e624 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
2 monitors connected: Asus PB287Q (HDMI) and Asus PB238Q (DP)
Comment 26 cprigent 2015-11-26 13:34:16 UTC
Also Pass on the other platforms.

Hardware: (BDW-U)
Motherboard: SawTooth Peak
cpu model name : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
cpu model : 61
cpu family : 6
Graphic card: Broadwell-U Integrated Graphics (rev 09)
Software:
Kernel: 4.4.0-rc2-nightly 552592507b76ed0d1301bf21cf20e00a15ded5bb from git://anongit.freedesktop.org/drm-intel
Ubuntu 14.04.1 LTS
Bios: BDW-E1R1.86C.0126.R02.1507080301
Libdrm: 2.4.65

Hardware: (BSW-M)
Motherboard: Braswell CRB
cpu model name : Intel(R) Celeron(R) CPU N3060 @ 1.60GHz
cpu model : 76
cpu family : 6
Graphic card: Device 22b1 (rev 31)
Software:
Kernel: 4.4.0-rc1-nightly 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 from git://anongit.freedesktop.org/drm-intel
Ubuntu 14.04.1 LTS
Bios: BRAS.X64.B084.R00.1508310642
Libdrm: 2.4.65

Hardware: (BYT-M)
Hardware
Platform: Toshiba Satellite C55t
Processor Intel(R) Celeron(R) CPU  N2820  @ 2.13GHz
Software
Linux distribution: Ubuntu 14.04 LTS 64Bits
BIOS: 1.10
Kernel: 4.4.0-rc1-nightly+ 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 from git://anongit.freedesktop.org/drm-intel
Mesa: 11.06
intel-gpu-tools-1.12-100-gb68a642
Ubuntu 15.04

Hardware: (HSW-U)
Motherboard: SawTooth Peak
cpu model name : Intel(R) Core(TM) i7-4550U CPU @ 1.50GHz
cpu model : 69
cpu family : 6
Graphic card: Haswell-ULT Integrated Graphics Controller (rev 09)
Software:
Kernel: 4.4.0-rc1-nightly+ 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 from git://anongit.freedesktop.org/drm-intel
Ubuntu 14.04.1 LTS
Bios: HSWLPTU1.86C.0135.R01.1311020052
Libdrm: 2.4.65
Comment 27 cprigent 2015-11-26 13:34:38 UTC
So closed
Comment 28 Elizabeth 2017-11-02 20:58:18 UTC
Reproducible on GLK with latest kernel:

IGT-Version: 1.20-g7aac0e8 (x86_64) (Linux: 4.14.0-rc7-drm-intel-qa-ww44-commit-fca2506+ x86_64)
(pm_rpm:20287) drmtest-DEBUG: Test requirement passed: !(fd<0)
(pm_rpm:20287) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(pm_rpm:20287) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(pm_rpm:20287) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(pm_rpm:20287) DEBUG: Test requirement passed: debugfs != -1
(pm_rpm:20287) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(pm_rpm:20287) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(pm_rpm:20287) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(pm_rpm:20287) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(pm_rpm:20287) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
Runtime PM support: 1
PC8 residency support: 0
(pm_rpm:20287) DEBUG: Test requirement passed: has_runtime_pm
(pm_rpm:20287) igt-core-DEBUG: Starting subtest: basic-pci-d3-state
(pm_rpm:20287) DEBUG: Test requirement passed: has_runtime_pm
(pm_rpm:20287) CRITICAL: Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1336:
(pm_rpm:20287) CRITICAL: Failed assertion: wait_for_suspended()
Subtest basic-pci-d3-state failed.
**** DEBUG ****
(pm_rpm:20287) DEBUG: Test requirement passed: has_runtime_pm
(pm_rpm:20287) CRITICAL: Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1336:
(pm_rpm:20287) CRITICAL: Failed assertion: wait_for_suspended()
(pm_rpm:20287) igt-core-INFO: Stack trace:
(pm_rpm:20287) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(pm_rpm:20287) igt-core-INFO:   #1 [main+0xca1]
(pm_rpm:20287) igt-core-INFO:   #2 [__libc_start_main+0xf1]
(pm_rpm:20287) igt-core-INFO:   #3 [_start+0x29]
(pm_rpm:20287) igt-core-INFO:   #4 [<unknown>+0x29]
****  END  ****
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0xca1]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest basic-pci-d3-state: FAIL (10.364s)
(pm_rpm:20287) igt-core-DEBUG: Exiting with status code 99
(pm_rpm:20287) igt-kms-DEBUG: VT: original mode 0x0 restored
(pm_rpm:20287) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'


======================================
             Software
======================================
kernel version              : 4.14.0-rc7-drm-intel-qa-ww44-commit-fca2506+
hostname                    : GLK-1-GLKRVP1DDR405
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 69.31
bios release date           : 10/11/2017
ksc                         : 1.41
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)
libdrm                      : 2.4.87
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-467-g7aac0e8
intel-gpu-tools (commit)    : 7aac0e8
Comment 29 Jari Tahvanainen 2017-11-06 16:53:26 UTC
Please retest or check the latest on GFX QA Automation.
Assumable this was glitch, which is was fixed after 3 CI_DRM builds. 
https://intel-gfx-ci.01.org/CI/igt@pm_rpm@basic-pci-d3-state.html
Comment 30 Elizabeth 2017-11-06 20:14:50 UTC
Still hitting the failure, but why?

$ : sudo -E ./pm_rpm --r basic-pci*
IGT-Version: 1.20-gc4de920 (x86_64) (Linux: 4.14.0-rc8-drm-intel-qa-ww45-commit-5176692+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
(pm_rpm:29575) CRITICAL: Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1336:
(pm_rpm:29575) CRITICAL: Failed assertion: wait_for_suspended()
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0xca1]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest basic-pci-d3-state failed.
**** DEBUG ****
(pm_rpm:29575) DEBUG: Test requirement passed: has_runtime_pm
(pm_rpm:29575) CRITICAL: Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1336:
(pm_rpm:29575) CRITICAL: Failed assertion: wait_for_suspended()
(pm_rpm:29575) igt-core-INFO: Stack trace:
(pm_rpm:29575) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(pm_rpm:29575) igt-core-INFO:   #1 [main+0xca1]
(pm_rpm:29575) igt-core-INFO:   #2 [__libc_start_main+0xf1]
(pm_rpm:29575) igt-core-INFO:   #3 [_start+0x29]
(pm_rpm:29575) igt-core-INFO:   #4 [<unknown>+0x29]
****  END  ****
Subtest basic-pci-d3-state: FAIL (10.388s)
Comment 31 Jari Tahvanainen 2017-11-07 11:53:03 UTC
For some reason DNC is not loaded while executing test.
/i915/i915_dmc_info
o	fw loaded: no
o	path: i915/glk_dmc_ver1_04.bin
o	program base: 0xfff53ee7
o	ssp base: 0x00000000
o	htp: 0x00000000
dmesg
o	[    3.743455] [drm:intel_csr_ucode_init [i915]] Loading i915/glk_dmc_ver1_04.bin
o	[    3.743484] i915 0000:00:02.0: Direct firmware load for i915/glk_dmc_ver1_04.bin failed with error -2
o	[    3.743486] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
o	[    3.743487] i915 0000:00:02.0: DMC firmware homepage: https://01.org/linuxgraphics/downloads/firmware

Please reopen if failure still happens with DMC.
Comment 32 Elizabeth 2017-11-09 17:54:08 UTC
Verified:

(11:52 AM) [gfx@GLK-1-GLKRVP1DDR405] [~]$ : sudo -E ./pm_rpm --r basic-pci*
IGT-Version: 1.20-ge6c4968 (x86_64) (Linux: 4.14.0-rc8-drm-intel-qa-ww45-commit-8eba051+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest basic-pci-d3-state: SUCCESS (1.127s)

(11:52 AM) [gfx@GLK-1-GLKRVP1DDR405] [~]$ : sudo dmesg | grep "dmc"
[  585.635030] [drm:intel_csr_ucode_init [i915]] Loading i915/glk_dmc_ver1_04.bin
[  585.635485] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)


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.