Bug 79052

Summary: [All] igt/kms_flip subcases vblank-vs-suspend and vblank-vs-suspend-interruptible fail
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: christophe.prigent, dorota.czaplejewicz, intel-gfx-bugs, yi.sun
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ALL i915 features: display/Other
Attachments:
Description Flags
dmesg
none
dmesg
none
dmesg-05-26
none
kern.log
none
BSW-kms_flip-vblank-vs-suspend-interruptible-kern.log
none
BSW-kms_flip-vblank-vs-suspend-interruptible-output
none
IVB-kms_flip__vblank_vs_suspend-kern.log
none
IVB-kms_flip__vblank_vs_suspend-output
none
BDW failure dmesg none

Description Guo Jinxian 2014-05-22 05:34:06 UTC
Created attachment 99555 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
But I can't find good commit on both reset igt and kernel

Non-working platforms: PNV

==kernel==
--------------------------
-nightly: 36765340cb068dec1216342bfcdbf2678ec29860(fails)
-queued: bc76e320f21f8bd790a72bd5dc06909617432352(fails)
    Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue May 20 22:46:50 2014 +0200

    drm/i915: Drop now misleading DDI comment from dp_link_down

    Since

    commit 2e82a7203182d0883d0f9450d40ad6e1c6578ad9
    Author: Imre Deak <imre.deak@intel.com>
    Date:   Fri Jan 17 15:46:43 2014 +0200

        drm/i915: don't disable DP port after a failed link training

    and

    commit 5d6a1116c6475404e6505b708320f9579ae19acd
    Author: Imre Deak <imre.deak@intel.com>
    Date:   Thu Jan 16 18:35:57 2014 +0200

        drm/i915: don't disable the DP port if the link is lost

    we no longer call intel_dp_link_down from generic DP code, but only
    from the !HAS_DDI dp encoder functions. hsw/bdw have their own encoder
    disabling callback in intel_ddi.c.

    Hence the early return is no longer needed and the big comment just
    confusing, so let's rip it out. To ensure what we don't accidentally
    use this again on ddi encoders add a WARN_ON instead.

    Spotted while reading through intel_dp.c

    Cc: Imre Deak <imre.deak@intel.com>
    Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    
-fixes: 4ba4801d73d14690ed15774424e8b1d4c18323a5(fails)
    Author: Dave Airlie <airlied@redhat.com>
Date:   Tue May 20 09:56:26 2014 +1000

    Merge tag 'drm-intel-fixes-2014-05-16' of git://anongit.freedesktop.org/drm-intel into drm-fixes

    Intel fixes for regressions, black screens and hangs, for 3.15.

    * tag 'drm-intel-fixes-2014-05-16' of git://anongit.freedesktop.org/drm-intel:
      drm/i915: Increase WM memory latency values on SNB
      drm/i915: restore backlight precision when converting from ACPI
      drm/i915: Use the first mode if there is no preferred mode in the EDID
      drm/i915/dp: force eDP lane count to max available lanes on BDW
      drm/i915/vlv: reset VLV media force wake request register
      drm/i915/SDVO: For sysfs link put directory and target in correct order
      drm/i915: use lane count and link rate from VBT as minimums for eDP
      drm/i915: clean up VBT eDP link param decoding
      drm/i915: consider the source max DP lane count too

==Bug detailed description==
-----------------------------
igt/kms_flip subcases below fail

igt/kms_flip/vblank-vs-suspend
igt/kms_flip/vblank-vs-suspend-interruptible


Output:
./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.6-gc75dcbd (i686) (Linux: 3.15.0-rc5_drm-intel-nightly_367653_20140521+ i686)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 7, connector 8
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Thu May 22 16:17:32 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Thu May 22 16:18:04 2014
Test assertion failure function check_state, file kms_flip.c:565:
Last errno: 0, Success
Failed assertion: es->current_seq - (es->last_seq + o->seq_step) <= 1UL << 23
unexpected vblank seq 33550631, should be >= 16783731
Subtest vblank-vs-suspend: FAIL


==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest vblank-vs-suspend
Comment 1 Guo Jinxian 2014-05-22 05:49:03 UTC
Result on IVB

./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-fixes_4ba480_20140521_debug+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 5, connector 16
  1920x1200 60 1920 1968 2000 2080 1200 1203 1209 1235 0x9 0x48 154000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 15:31:22 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 15:31:55 2014
Test assertion failure function check_state, file kms_flip.c:557:
Last errno: 0, Success
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
vblank ts before the vblank was issued!
timerdiff -900s, 242789us
Subtest vblank-vs-suspend: FAIL
Comment 2 Daniel Vetter 2014-05-22 06:31:17 UTC
This is a new testcase, not a regression. Also please retest on latest -nightly.
Comment 3 Guo Jinxian 2014-05-22 07:06:24 UTC
Created attachment 99560 [details]
dmesg

(In reply to comment #2)
> This is a new testcase, not a regression. Also please retest on latest
> -nightly.

The test was passed on latest -nightly(f5b0cca269ca3f7062f8d3441cebe6a16ce12be4).
./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.6-gc75dcbd (i686) (Linux: 3.15.0-rc5_drm-intel-nightly_f5b0cc_20140522+ i686)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 7, connector 8
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 19:52:28 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 19:53:00 2014

vblank-vs-suspend on crtc 7, connector 8: PASSED

Subtest vblank-vs-suspend: SUCCESS
Comment 4 liulei 2014-05-26 09:05:10 UTC
On pnv, it work well. But failed on IVB

--------------------------------------------
[root@x-pnv tests]# ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.6-gff3c122 (i686) (Linux: 3.15.0-rc6_drm-intel-nightly_c37f30_20140525+ i686)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 7, connector 8
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
Subtest vblank-vs-suspend: SUCCESS
--------------------------------------------
[root@x-ivb opt]# ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.6-gff3c122 (x86_64) (Linux: 3.15.0-rc5_drm-intel-fixes_c1240b_20140525_debug+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 5, connector 16
  1920x1200 60 1920 1968 2000 2080 1200 1203 1209 1235 0x9 0x48 154000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon May 26 20:56:10 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon May 26 20:56:42 2014
Test assertion failure function check_state, file kms_flip.c:565:
Last errno: 0, Success
Failed assertion: es->current_seq - (es->last_seq + o->seq_step) <= 1UL << 23
unexpected vblank seq 4294962482, should be >= 43244
Subtest vblank-vs-suspend: FAIL
Comment 5 liulei 2014-05-26 09:16:43 UTC
Created attachment 99849 [details]
dmesg-05-26
Comment 6 Guo Jinxian 2014-07-02 06:06:20 UTC
Test on latest -nightly(a7665faa31dbbbae25e376508a9b3781e25d09e2), the result was passed.

Output:
[root@x-pnv2 tests]# ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.7-g67e29a3 (i686) (Linux: 3.16.0-rc2_drm-intel-nightly_a7665f_20140701+ i686)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 9, connector 10
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Jul  2 18:51:20 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Jul  2 18:51:52 2014

vblank-vs-suspend on crtc 9, connector 10: PASSED

Subtest vblank-vs-suspend: SUCCESS
Comment 7 Guo Jinxian 2014-07-28 05:49:02 UTC
Test still failed on latest -nightly(e967a525207bd40ab446e2f809907039f88e66f3)

[root@x-hsw24 tests]# ./kms_flip --run-subtest vblank-vs-suspend-interruptible
IGT-Version: 1.7-gfcbc502 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_e967a5_20140728+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend-interruptible on crtc 7, connector 17
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:34:33 2014
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:35:05 2014

vblank-vs-suspend-interruptible on crtc 7, connector 17: PASSED

Beginning vblank-vs-suspend-interruptible on crtc 11, connector 17
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:35:37 2014

.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:36:09 2014

Test assertion failure function check_state, file kms_flip.c:576:
Failed assertion: es->current_seq - es->last_seq <= 100
Last errno: 4, Interrupted system call
unexpected vblank seq 330, should be < 112
Subtest vblank-vs-suspend-interruptible: FAIL
Comment 8 Guo Jinxian 2014-07-30 08:45:38 UTC
This fail still able to reproduce on BSW on latest -nightly(eb2af97968f0321622cf3aeb29991ad78cfdc1ca) while running test igt/kms_flip/bcs-flip-vs-dpms

[root@x-bsw01 tests]# ./kms_flip --run-subtest bcs-flip-vs-dpms
IGT-Version: 1.7-ge48c495 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_eb2af9_20140730+ x86_64)
Using monotonic timestamps
Beginning bcs-flip-vs-dpms on crtc 17, connector 30
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
..Test assertion failure function check_state, file kms_flip.c:557:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
flip ts before the flip was issued!
timerdiff -391s, 487477us
Subtest bcs-flip-vs-dpms: FAIL
[root@x-bsw01 tests]# echo $?
99
Comment 9 Jesse Barnes 2014-12-04 22:04:45 UTC
Does this still happen on current kernels?  I think some vblank fixes have landed since then.
Comment 10 Guo Jinxian 2014-12-08 07:48:59 UTC
(In reply to Jesse Barnes from comment #9)
> Does this still happen on current kernels?  I think some vblank fixes have
> landed since then.

Test still fails on latest -nightly(bfdd01aa1825aa0068f9236b21362b550f6d630f)


root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.8-g819e68f (x86_64) (Linux: 3.18.0-rc7_drm-intel-nightly_bfdd01_20141208+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on crtc 8, connector 29
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan  4 23:55:17 2001
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan  4 23:55:51 2001
Test assertion failure function check_state, file kms_flip.c:572:
Failed assertion: es->current_seq - es->last_seq <= 100
unexpected vblank seq 269, should be < 249
Subtest vblank-vs-suspend: FAIL (10.066s)
Comment 11 Ding Heng 2015-02-05 05:50:49 UTC
still fail in latest nightly:
9583cb470cd82997b5f23d4acab852563f5c0047(2015-02-05)
./kms_flip --run-subtest vblank-vs-suspend-interruptible
IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_9583cb_20150205+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb  5 05:13:04 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb  5 05:13:36 2015

vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED

Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb  5 05:14:08 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb  5 05:14:40 2015
(kms_flip:5049) CRITICAL: Test assertion failure function check_state, file kms_flip.c:659:
(kms_flip:5049) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 100
(kms_flip:5049) CRITICAL: Last errno: 4, Interrupted system call
(kms_flip:5049) CRITICAL: unexpected vblank seq 5659, should be < 5327
Subtest vblank-vs-suspend-interruptible: FAIL (26.438s)
Comment 12 ye.tian 2015-04-13 07:49:11 UTC
Test on the latest nightly kernel, it still fails.

output:
----------
root@x-hsw24:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-suspend-interruptible
IGT-Version: 1.10-g007ff02 (x86_64) (Linux: 4.0.0-rc7_drm-intel-nightly_631c2f_20150411+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:01:54 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:02:26 2015

vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED

Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:02:58 2015
.rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:03:30 2015
Test assertion failure function check_state, file kms_flip.c:659:
Failed assertion: es->current_seq - es->last_seq <= 100
Last errno: 4, Interrupted system call
unexpected vblank seq 513, should be < 112
Stack trace:
  #0 [__igt_fail_assert+0xfc]
  #1 [check_state+0x20d]
  #2 [run_test_on_crtc_set.constprop.13+0xb0c]
  #3 [run_test+0x25a]
  #4 [main+0x433]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest vblank-vs-suspend-interruptible failed.
**** DEBUG ****
Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd)
Test requirement passed: modes
Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=4096)
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=4096)
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0
igt_create_fb_with_bo_size(handle=4, pitch=4096)
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !igt_run_in_simulation()
testing ts continuity: Current frame 36066, old frame 36024

vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED

Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=4096)
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=4096)
igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0
igt_create_fb_with_bo_size(handle=4, pitch=4096)
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !igt_run_in_simulation()
Test assertion failure function check_state, file kms_flip.c:659:
Failed assertion: es->current_seq - es->last_seq <= 100
Last errno: 4, Interrupted system call
unexpected vblank seq 513, should be < 112
****  END  ****
Subtest vblank-vs-suspend-interruptible: FAIL (35.334s)
Comment 13 Jesse Barnes 2015-08-04 17:47:06 UTC
Paulo thinks this will likely affect BDW and SKL as well.  Christophe, can you check and see if this is still an issue?
Comment 14 Elio 2015-10-01 17:56:56 UTC
The following test cases of same family are failing as well on BDW

kms_flip_tiling@flip-yf-tiled
vblank-vs-suspend-interruptible
kms_flip@flip-vs-dpms-off-vs-modeset
kms_flip@blocking-absolute-wf_vblank
kms_flip@2x-wf_vblank-vs-modeset-interruptible
kms_flip@absolute-wf_vblank-interruptible
kms_flip@2x-plain-flip
kms_flip@2x-plain-flip-interruptible

Returncode	99
Time	0:00:00.015874
Stdout	
IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_quiescent_gpu+0x208]
  #2 [drm_open_driver+0x67]
  #3 [drm_open_driver_master+0x6]
  #4 [main+0x88]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest 2x-plain-flip: FAIL
Stderr	
Test assertion failure function gem_quiescent_gpu, file drmtest.c:180:
Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0
Last errno: 5, Input/output error
Test kms_flip failed.
**** DEBUG ****
(kms_flip:4159) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
Test requirement passed: fd >= 0
Test assertion failure function gem_quiescent_gpu, file drmtest.c:180:
Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0
Last errno: 5, Input/output error
****  END  ****
Configuration:

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu
Comment 15 cprigent 2015-10-30 11:34:40 UTC
kms_flip@vblank-vs-suspend-interruptible fails on HSW-ULT with tag drm-intel-testing-2015-10-23.
Result was Pass with drm-intel-testing-2015-10-10.

Haswell-ULT
Hardware
Platform: Intel NUC D54250WYK
Processo: Intel Core I5-425OU 1.30 GHz
Software
Linux distribution: Ubuntu 14.04 LTS 64 bits
BIOS: WTLPT10H.86A.0021.2013.1.017.1606
Kernel: tag drm-intel-testing-2015-10-23 87074657f22e38163e712ca417e1a398d00096b6 (4.3.0-rc6) from git://anongit.freedesktop.org/drm-intel
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200
drm-intel-nightly: 2015y-10m-23d-09h-56m-09s UTC integration manifest

Mesa: 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: libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 a2c67866fb447a5d00abb3061b0d735df30fd40c from http://cgit.freedesktop.org/xorg/app/intel-gpu
Comment 16 Humberto Israel Perez Rodriguez 2015-11-10 16:45:13 UTC
Ubuntu 14.04.03 x86_64

with kernel : latest drm-intel-testing (4.3.0-rc6-testing)
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200

test : kms_flip / vblank-vs-suspend 
HSW-U = pass
BDW-U = fail

test : kms_flip/vblank-vs-suspend-interruptible
HSW-U = pass
BDW-U = fail



With kernel : latest drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest
commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Nov 6 14:48:23 2015 +0200

test : kms_flip / vblank-vs-suspend 
HSW-U = pass
BDW-U = pass

test : kms_flip/vblank-vs-suspend-interruptible
HSW-U = pass
BDW-U = pass
Comment 17 cprigent 2015-11-14 11:18:36 UTC
Hi Humberto,
The fact it is Pass on BDW-U on nightly probably means it is also Pass on testing with a fresh kernel.
Could you check again on BDW-U using master of intel-drm-testing.
Thanks
Comment 18 Elio 2015-11-25 19:15:10 UTC
Following test case is failing in BYT-M with latest configuration :

4.4.0-rc1-nightly+ Kernel

Latest graphic stack

Case:..

kms_flip@2x-plain-flip-interruptible

Test assertion failure function gem_execbuf, file ioctl_wrappers.c:445:
Failed assertion: result == 0
Last errno: 5, Input/output error
Test kms_flip failed.
**** DEBUG ****
(kms_flip:5255) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
Test requirement passed: fd >= 0
Test assertion failure function gem_execbuf, file ioctl_wrappers.c:445:
Failed assertion: result == 0
Last errno: 5, Input/output error
Comment 19 Humberto Israel Perez Rodriguez 2016-01-06 16:46:38 UTC
The following tests keeps fail on IVB with latests graphic stack and the following kernels :

./kms_flip --run-subtest vblank-vs-suspend
./kms_flip --run-subtest vblank-vs-suspend-interruptible

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 (drm-intel-nightly)
--------------------------
commit 79686f613b3955a4ed09cee936e7f70ec4e61b67
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Dec 30 14:00:24 2015 +0200

    drm-intel-nightly: 2015y-12m-30d-11h-59m-54s UTC integration manifest


kernel version : 4.4.0-rc6
git url        : git://anongit.freedesktop.org/drm-intel
git branch     : drm-intel-nightly
git describe   : drm-intel-next-2015-12-18-1500-g79686f6


igt tools :
branch : intel-gpu-tools-1.13
commit : 2db78a4995a8ee298ae0cd68879baf80407a0e5e
Comment 20 Elio 2016-01-07 16:19:40 UTC
The problem is not present in HSW platform with following configuration 
kernel: 4.4.0-rc6-drm-intel-nightly-2015-10-10
commit 0417da5e6f56078d87d366d5f959f8290ae9d16d
IGT= intel-gpu-tools-1.13
Cairo=1.15.2
Intel-Driver= 1.6.2.pre2
xf86= 2.99.917-524-g8e98751
libva=libva-1.6.2.pre3
xorg-server=xorg-server-1.18.0
drm=libdrm-2.4.65
mesa=mesa-11.1.0

Removing HSW platform from header
Comment 21 cprigent 2016-01-17 17:18:22 UTC
Fail on a SKL production device:
kms_flip@vblank-vs-suspend
kms_flip@vblank-vs-suspend-interruptible

Dell Inspiron 15 7000 2-1
Intel Core (TM) i7 CPU @ 6500 2.5
Intel HD Graphics
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0-rc8 8834392 from http://cgit.freedesktop.org/drm-intel/
libdrm-2.4.66 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.8 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.2 from http://cgit.freedesktop.org/libva/
intel-driver 1.6.2 from http://cgit.freedesktop.org/vaapi/intel-driver
cairo 1.15.2 from http://cgit.freedesktop.org/cairo
IGT 1.13 cd658a7c6bca74eb897a8ae87751029793f0c4f4 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
DMC and GUC firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
Comment 22 Humberto Israel Perez Rodriguez 2016-03-03 23:23:13 UTC
the following tests fail on BXT

kms_flip@vblank-vs-suspend-interruptible
kms_flip@vblank-vs-suspend

with the latest configuration:

 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-4-g4274539 
	 commit : 4274539 
	 author : Chih-Wei Huang <cwhuang@android-x86.org> 
	 age : 6 days ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.1.2 
	 commit : 7bcd827 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 3 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-560-gd167280 
	 commit : d167280 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 7 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.6.1-37-g1f026de 
	 commit : 1f026de 
	 author : Julien Isorce <j.isorce@samsung.com> 
	 age : 3 months ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.6.1-92-gf6fe842 
	 commit : f6fe842 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 5 weeks ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 3 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.0-174-g6070a74 
	 commit : 6070a74 
	 author : Olivier Fourdan <ofourdan@redhat.com> 
	 age : 3 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-1-gfbe92a2 
	 commit : fbe92a2 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 19 hours ago
Comment 23 Humberto Israel Perez Rodriguez 2016-03-07 16:55:52 UTC
The following test fail on BXT-P with latest configuration


 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-4-g4274539 
	 commit : 4274539 
	 author : Chih-Wei Huang <cwhuang@android-x86.org> 
	 age : 6 days ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.1.2 
	 commit : 7bcd827 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 3 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-560-gd167280 
	 commit : d167280 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 7 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.6.1-37-g1f026de 
	 commit : 1f026de 
	 author : Julien Isorce <j.isorce@samsung.com> 
	 age : 3 months ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.6.1-92-gf6fe842 
	 commit : f6fe842 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 5 weeks ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 3 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.0-174-g6070a74 
	 commit : 6070a74 
	 author : Olivier Fourdan <ofourdan@redhat.com> 
	 age : 3 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-1-gfbe92a2 
	 commit : fbe92a2 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 19 hours ago 

 --- Hardware information ---	
Platform	
Motherboard model	Broxton P
Motherboard type	NOTEBOOK Hand Held
Motherboard manufacturer	Intel Corp.
CPU family	Other
CPU information	06/5c
GPU Card	Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])
Memory ram	8 GB
Maximum memory ram allowed	16 GB
Hard drive capacity	80.0 GB


Test case
==================
kms_flip@2x-vblank-vs-suspend-interruptible
kms_flip@vblank-vs-suspend-interruptible
kms_flip@2x-vblank-vs-modeset-suspend

IGT output
===================
IGT-Version: 1.14-gfbe92a2 (x86_64) (Linux: 4.5.0-rc5-drm-intel-testing-ww10-commit-a27657a+ x86_64)
Using monotonic timestamps
Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1
  1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Sun Jan 18 15:22:30 7598
rtcwake: assuming RTC uses UTC ...
rtcwake: enable rtc alarm failed: Invalid argument
(kms_flip:1304) igt-aux-CRITICAL: Test assertion failure function igt_system_suspend_autoresume, file igt_aux.c:381:
(kms_flip:1304) igt-aux-CRITICAL: Failed assertion: ret == 0
(kms_flip:1304) igt-aux-CRITICAL: Last errno: 4, Interrupted system call
(kms_flip:1304) 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.
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [igt_system_suspend_autoresume+0x9f]
  #2 [run_test_on_crtc_set.constprop.12+0x1af3]
  #3 [run_pair+0x33f]
  #4 [main+0x29f]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest 2x-vblank-vs-suspend-interruptible failed.
**** DEBUG ****
(kms_flip:1304) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd)
(kms_flip:1304) DEBUG: Test requirement passed: modes
(kms_flip:1304) INFO: Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0)
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0)
(kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=7680)
(kms_flip:1304) igt-kms-INFO:   1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120
(kms_flip:1304) igt-kms-INFO:   1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500
(kms_flip:1304) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1304) igt-aux-DEBUG: Test requirement passed: !(system("rtcwake -n -s 30 -m mem") != 0)
(kms_flip:1304) igt-aux-CRITICAL: Test assertion failure function igt_system_suspend_autoresume, file igt_aux.c:381:
(kms_flip:1304) igt-aux-CRITICAL: Failed assertion: ret == 0
(kms_flip:1304) igt-aux-CRITICAL: Last errno: 4, Interrupted system call
(kms_flip:1304) 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.
****  END  ****
Subtest 2x-vblank-vs-suspend-interruptible: FAIL (1.246s)

real    0m5.337s
user    0m0.024s
sys     0m0.020s


Please see kern.log for more information
Comment 24 Humberto Israel Perez Rodriguez 2016-03-07 16:56:32 UTC
Created attachment 122145 [details]
kern.log
Comment 25 cprigent 2016-03-25 16:07:21 UTC
Created attachment 122559 [details]
BSW-kms_flip-vblank-vs-suspend-interruptible-kern.log

Fail on BSW

Hardware: 
Motherboard: Aspire XC-704 
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz 
cpu model : 76 
cpu family : 6 
Graphic card: Device 22b1 (rev 21)

Software:
Bios: R01-A2
kernel nightly 4.5 10e913a  from https://cgit.freedesktop.org/cgit/?url=drm-intel/
  commit 10e913a48ca36790da9b58bed8729598ea79ebdb
  Author: Imre Deak <imre.deak@intel.com>
  Date:   Thu Mar 17 15:23:17 2016 +0200
  drm-intel-nightly: 2016y-03m-17d-13h-22m-41s UTC integration manifest
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
libdrm-2.4.67-7 49041c3 from git://anongit.freedesktop.org/mesa/drm
IGT 1.14 8f6ed9e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 26 cprigent 2016-03-25 16:07:41 UTC
Created attachment 122560 [details]
BSW-kms_flip-vblank-vs-suspend-interruptible-output
Comment 27 maria guadalupe 2016-04-01 21:25:51 UTC
This bug was also reproduced on BXT under the following configuration


Hardware configuration
=======================
Platform     BXT - P (APL)
Motherboard model  Apollo Lake
Motherboard type    NOTEBOOK Hand Held
Motherboard manufacturer Intel Corp.
CPU family   Other
CPU information    06/5c
GPU Card     Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])
Memory ram   8 GB


Software configuration
=======================
 --> Component : drm 
       url : http://cgit.freedesktop.org/mesa/drm 
       tag : libdrm-2.4.67-11-gea78c17 
       commit : ea78c17 
       author : Emil Velikov <emil.l.velikov@gmail.com> 
       age : 20 hours ago 
 --> Component : mesa 
       url : http://cgit.freedesktop.org/mesa/mesa 
       tag : mesa-11.1.2 
       commit : 7bcd827 
       author : Emil Velikov <emil.velikov@collabora.com> 
       age : 7 weeks ago 
 --> Component : xf86-video-intel 
       url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
       tag : 2.99.917-590-g094924f 
       commit : 094924f 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 4 days ago 
 --> Component : libva 
       url : http://cgit.freedesktop.org/libva/ 
       tag : libva-1.7.0-1-g2339d10 
       commit : 2339d10 
       author : Xiang Haihao <haihao.xiang@intel.com> 
       age : 13 days ago 
 --> Component : vaapi (intel-driver) 
       url : http://cgit.freedesktop.org/vaapi/intel-driver 
       tag : 1.7.0-5-g759e44d 
       commit : 759e44d 
       author : peng.chen <peng.c.chen@intel.com> 
       age : 13 days ago 
 --> Component : cairo 
       url : http://cgit.freedesktop.org/cairo 
       tag : 1.15.2 
       commit : db8a7f1 
       author : Bryce Harrington <bryce@osg.samsung.com> 
       age : 4 months ago 
 --> Component : xserver 
       url :  http://cgit.freedesktop.org/xorg/xserver 
       tag : xorg-server-1.18.0-254-g44e1c97 
       commit : 44e1c97 
       author : Olivier Fourdan <ofourdan@redhat.com> 
       age : 8 days ago 
 --> Component : intel-gpu-tools 
       url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
       tag : intel-gpu-tools-1.14-129-g41a26b5 
       commit : 41a26b5 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 26 hours ago  


kernel configuration
=====================
Branch : drm-intel-nightly
commit f5d413cccefa1f93d64c34f357151d42add63a84
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Thu Mar 24 14:35:16 2016 +0000

    drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest
Kernel version : 4.5.0
Architecture : source amd64 all
Comment 28 maria guadalupe 2016-06-06 22:13:04 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                        : Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest


Kernel version : 4.6.0

========== test cases failed ===============

igt@kms_flip@vblank-vs-suspend-interruptible
igt@kms_flip@vblank-vs-suspend
Comment 29 cprigent 2016-08-01 08:34:00 UTC
Created attachment 125456 [details]
IVB-kms_flip__vblank_vs_suspend-kern.log
Comment 30 cprigent 2016-08-01 08:35:09 UTC
Created attachment 125457 [details]
IVB-kms_flip__vblank_vs_suspend-output

IVB's logs attached.

Platform: IVB
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (family 6, model 58, stepping 9)
Motherboard version: DH77EB
GPU: IntelĀ® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
Software
Bios: EBH7710H.86A.0096.2012.1012.1645
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0-rc7 7eeb04a from http://cgit.freedesktop.org/drm-intel/
  commit 7eeb04a101316645916d4d9df058a9341797f1af
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Sun Jul 24 11:00:31 2016 +0100
  drm-intel-nightly: 2016y-07m-24d-09h-59m-54s UTC integration manifest
drm: libdrm-2.4.70 0caa84c from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-497 0b2f308 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-687 6988b87 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-58 e554446 from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15-140 e3abb20 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 31 Humberto Israel Perez Rodriguez 2016-10-14 20:52:39 UTC
The following test keeps fail with latest configuration on BDW

test:
==========================
vblank-vs-suspend-interruptible


Kernel used
====================================
Kernel version : 4.8.0-f35ed31
Architecture : source amd64 all
Branch           : drm-intel-nightly WW42 
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


Gfx stack
====================================
Component         : drm
	tag       : libdrm-2.4.71
	commit    : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c 


 Hardware information
============================================
Platform                        : BDW
Motherboard type                : NUC5i5RYB Desktop
Motherboard manufacturer        :
CPU family                      : Core i5
CPU information                 : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
GPU Card                        : Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller])
Memory ram                      : 8 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             : 74GiB (80GB)
Comment 32 Humberto Israel Perez Rodriguez 2016-10-14 20:58:08 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #31)
> The following test keeps fail with latest configuration on BDW
> 
> test:
> ==========================
> vblank-vs-suspend-interruptible
> 
> 
> Kernel used
> ====================================
> Kernel version : 4.8.0-f35ed31
> Architecture : source amd64 all
> Branch           : drm-intel-nightly WW42 
> 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
> 
> 
> Gfx stack
> ====================================
> Component         : drm
> 	tag       : libdrm-2.4.71
> 	commit    : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c 
> 
> 
>  Hardware information
> ============================================
> Platform                        : BDW
> Motherboard type                : NUC5i5RYB Desktop
> Motherboard manufacturer        :
> CPU family                      : Core i5
> CPU information                 : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
> GPU Card                        : Intel Corporation Broadwell-U Integrated
> Graphics (rev 09) (prog-if 00 [VGA controller])
> Memory ram                      : 8 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             : 74GiB (80GB)



the correct Gfx stack is :

Gfx stack
====================================
Component         : drm
	tag       : libdrm-2.4.71
	commit    : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c 

Component         : cairo
	tag       : 1.15.2
	commit    : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.16-59-g48a9e1e
	commit    : 48a9e1e1553d37067ea2199e00aa51a356e7fa68
Comment 33 cprigent 2016-10-17 11:33:51 UTC
A regression was found on BDW, this is tracked by: bug 98289
Comment 34 Jari Tahvanainen 2016-10-19 11:02:15 UTC
based on the comment 20, HSW removed from the platform list.
Comment 35 Carlos Santa 2016-11-30 01:14:52 UTC
It passes for me on SKL - drm-nightly ~ 11/29/2016

csanta@labuser-NUC:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 06:59:29 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 06:59:48 2016

vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:07 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:25 2016

vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:44 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:01:02 2016

vblank-vs-suspend on pipe C, connector HDMI-A-1: PASSED

Subtest vblank-vs-suspend: SUCCESS (7.171s)
Comment 36 Carlos Santa 2016-11-30 02:18:42 UTC
On BDW, it passed 3 times and failed twice, behavior appears to be sporadic. I've attached the dmesg of the last failure (read bottom first). This was on drm-nightly ~11/29/2016

csanta@csanta-bdw:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:13 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:30 2016

vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:48 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:06 2016

vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:23 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:41 2016

vblank-vs-suspend on pipe C, connector HDMI-A-1: PASSED

Subtest vblank-vs-suspend: SUCCESS (10.980s)


csanta@csanta-bdw:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend
IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:09:29 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:09:46 2016

vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:10:04 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:10:22 2016

vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED

Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1
  1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:11:12 2016
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:11:29 2016
(kms_flip:1764) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510:
(kms_flip:1764) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150
(kms_flip:1764) CRITICAL: unexpected vblank seq 2309, should be < 487
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [check_state+0x331]
  #2 [<unknown>+0x331]
Subtest vblank-vs-suspend failed.
**** DEBUG ****
(kms_flip:1764) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:1764) DEBUG: Test requirement passed: modes
(kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1764) igt-kms-INFO:   1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 177.945129
current_received_ts = 178.617435
current_seq = 9699
count = 0
seq_step = 10
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 177.945129
last_received_ts = 178.617435
last_seq = 9699
current_ts = 178.783608
current_received_ts = 181.087330
current_seq = 9734
count = 1
seq_step = 10
(kms_flip:1764) DEBUG: testing ts continuity: Current frame 9734, old frame 9699
(kms_flip:1764) INFO: 
vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED

(kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1764) igt-kms-INFO:   1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 181.332199
current_received_ts = 183.546924
current_seq = 416
count = 0
seq_step = 10
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 181.332199
last_received_ts = 183.546924
last_seq = 416
current_ts = 183.707285
current_received_ts = 186.016916
current_seq = 543
count = 1
seq_step = 10
(kms_flip:1764) DEBUG: testing ts continuity: Current frame 543, old frame 416
(kms_flip:1764) INFO: 
vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED

(kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1764) igt-kms-INFO:   1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 0.000000
last_received_ts = 0.000000
last_seq = 0
current_ts = 186.244780
current_received_ts = 219.213699
current_seq = 337
count = 0
seq_step = 10
(kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_flip:1764) DEBUG: name = vblank
last_ts = 186.244780
last_received_ts = 219.213699
last_seq = 337
current_ts = 219.377694
current_received_ts = 220.648964
current_seq = 2309
count = 1
seq_step = 10
(kms_flip:1764) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510:
(kms_flip:1764) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150
(kms_flip:1764) CRITICAL: unexpected vblank seq 2309, should be < 487
****  END  ****
Subtest vblank-vs-suspend: FAIL (42.825s)
Comment 37 Carlos Santa 2016-11-30 02:21:20 UTC
Created attachment 128279 [details]
BDW failure dmesg
Comment 38 Dorota Czaplejewicz 2017-01-30 17:48:29 UTC
I can confirm igt@kms_flip@vblank-vs-suspend-interruptible fails on drm-tip 396d17a6de32b4ef6cf1b531248e25ca6efe8001
drm-tip: 2017y-01m-25d-11h-07m-11s UTC integration manifest

on IVB-3770.
Comment 39 Dorota Czaplejewicz 2017-03-17 15:40:26 UTC
Test no longer fails on the IVB-3770

kernel ee2d731... drm-tip: 2017y-03m-13d-16h-06m-45s
Comment 40 Ricardo 2017-05-09 17:27:14 UTC
Adding tag into "Whiteboard" field - ReadyForDev
The bug still active
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 41 Jari Tahvanainen 2017-05-19 08:53:42 UTC
NEW BUGS to be created since the failures are 
Marking this resolved+worksforme after the new ones are in db.
The above is based on the latest results
IVB - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (IVB-1-0XR1GT)
igt@kms_flip@vblank-vs-suspend		Pass
igt@kms_flip@vblank-vs-suspend-interruptible		Pass
HSW - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (HSW-1-D54250WYK)
igt@kms_flip@vblank-vs-suspend		Pass
igt@kms_flip@vblank-vs-suspend-interruptible		Pass
BSW/CHT - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BSW-1-BRASWELL)
igt@kms_flip@vblank-vs-suspend		 Pass
igt@kms_flip@vblank-vs-suspend-interruptible	dmesg-fail 
--> NEW BUG TO BE CREATED for dmesg-fail
BDW - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BDW-1-NUC5i5MYBE)
igt@kms_flip@vblank-vs-suspend		incomplete 
igt@kms_flip@vblank-vs-suspend-interruptible		incomplete
--> NEW BUG TO BE CREATED For incomplete
BYT - drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3)
igt@kms_flip@vblank-vs-suspend		incomplete
igt@kms_flip@vblank-vs-suspend-interruptible		incomplete
--> NEW BUG TO BE CREATED For incomplete - see BDW above
SKL - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (SKL-1-NUC6i5SYB)
igt@kms_flip@vblank-vs-suspend		Pass
igt@kms_flip@vblank-vs-suspend-interruptible		Pass
APL/BXT - 4.11.0-drm-tip-ww18-commit-fb550f8+ (BXT-1)
igt@kms_flip@vblank-vs-suspend		Pass
igt@kms_flip@vblank-vs-suspend-interruptible		Fail
--> NEW BUG TO BE CREATED due to different failure
CRITICAL: Test assertion failure function check_state, file kms_flip.c:510:(kms_flip:9555) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150
(kms_flip:9555) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:9555) CRITICAL: unexpected vblank seq 7276, should be < 6886
KBL - 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (KBL-1)
igt@kms_flip@vblank-vs-suspend		Fail
igt@kms_flip@vblank-vs-suspend-interruptible		Fail
--> NEW BUG TO BE CREATED due to different failure - see APL/BXT above
(kms_flip:2391) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510:
(kms_flip:2391) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150
(kms_flip:2391) CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:2391) CRITICAL: unexpected vblank seq 5518, should be < 5066
Subtest vblank-vs-suspend failed.
Comment 42 Humberto Israel Perez Rodriguez 2017-05-31 15:42:43 UTC
same issue with BSW and latest configuration

kms_flip@vblank-vs-suspend-interruptible

Graphic drivers
===================================================
Component: drm
    tag: libdrm-2.4.80-18-gce9e3ba
    commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4

Component: cairo
    tag: 1.15.4-22-g0fd0fd0
    commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-211-g00ce341
    commit: 00ce341b95c718611689ded8ccec45086186c5b7

Component: piglit
    tag: piglit-v1
    commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413

kernel
===================================================
commit 4aa1d46d3b24bbe545cdf7cbd407c18f5cd5e43d
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Wed May 31 10:59:05 2017 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed May 31 10:59:05 2017 +0200

    drm-tip: 2017y-05m-31d-08h-58m-36s UTC integration manifest
Comment 43 Elizabeth 2017-07-04 19:59:15 UTC
Hello,
Seems that this bug is going to need time to fix so I'm changing to NEEDINFO. If there is any new update on this case, please mark as REOPEN. Thank you.
Comment 44 Elizabeth 2017-07-31 17:45:37 UTC
(In reply to Jari Tahvanainen from comment #41)
> NEW BUGS to be created since the failures are 
> Marking this resolved+worksforme after the new ones are in db.
> The above is based on the latest results
> IVB - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (IVB-1-0XR1GT)
> igt@kms_flip@vblank-vs-suspend		Pass
> igt@kms_flip@vblank-vs-suspend-interruptible		Pass
> HSW - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (HSW-1-D54250WYK)
> igt@kms_flip@vblank-vs-suspend		Pass
> igt@kms_flip@vblank-vs-suspend-interruptible		Pass
> BSW/CHT - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BSW-1-BRASWELL)
> igt@kms_flip@vblank-vs-suspend		 Pass
> igt@kms_flip@vblank-vs-suspend-interruptible	dmesg-fail 
> --> NEW BUG TO BE CREATED for dmesg-fail
> BDW - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BDW-1-NUC5i5MYBE)
> igt@kms_flip@vblank-vs-suspend		incomplete 
> igt@kms_flip@vblank-vs-suspend-interruptible		incomplete
> --> NEW BUG TO BE CREATED For incomplete
> BYT - drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3)
> igt@kms_flip@vblank-vs-suspend		incomplete
> igt@kms_flip@vblank-vs-suspend-interruptible		incomplete
> --> NEW BUG TO BE CREATED For incomplete - see BDW above
> SKL - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (SKL-1-NUC6i5SYB)
> igt@kms_flip@vblank-vs-suspend		Pass
> igt@kms_flip@vblank-vs-suspend-interruptible		Pass
> APL/BXT - 4.11.0-drm-tip-ww18-commit-fb550f8+ (BXT-1)
> igt@kms_flip@vblank-vs-suspend		Pass
> igt@kms_flip@vblank-vs-suspend-interruptible		Fail
> --> NEW BUG TO BE CREATED due to different failure
> CRITICAL: Test assertion failure function check_state, file
> kms_flip.c:510:(kms_flip:9555) CRITICAL: Failed assertion: es->current_seq -
> es->last_seq <= 150
> (kms_flip:9555) CRITICAL: Last errno: 25, Inappropriate ioctl for device
> (kms_flip:9555) CRITICAL: unexpected vblank seq 7276, should be < 6886
> KBL - 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (KBL-1)
> igt@kms_flip@vblank-vs-suspend		Fail
> igt@kms_flip@vblank-vs-suspend-interruptible		Fail
> --> NEW BUG TO BE CREATED due to different failure - see APL/BXT above
> (kms_flip:2391) CRITICAL: Test assertion failure function check_state, file
> kms_flip.c:510:
> (kms_flip:2391) CRITICAL: Failed assertion: es->current_seq - es->last_seq
> <= 150
> (kms_flip:2391) CRITICAL: Last errno: 25, Inappropriate ioctl for device
> (kms_flip:2391) CRITICAL: unexpected vblank seq 5518, should be < 5066
> Subtest vblank-vs-suspend failed.

Closing bug. To follow up problem on BSW, BDW, KBL, BSW please refer to bug 96226. Thank you.

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.