<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW BDW SKL BSW] [IGT Basic] kms_pipe_crc_basic is epic fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92602#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW BDW SKL BSW] [IGT Basic] kms_pipe_crc_basic is epic fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92602">bug 92602</a>
              from <span class="vcard"><a class="email" href="mailto:christophe.prigent@intel.com" title="cprigent <christophe.prigent@intel.com>"> <span class="fn">cprigent</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=120139" name="attach_120139" title="kms_pipe_crc_basic_skl_with-patch_kern.log">attachment 120139</a> <a href="attachment.cgi?id=120139&action=edit" title="kms_pipe_crc_basic_skl_with-patch_kern.log">[details]</a></span>
kms_pipe_crc_basic_skl_with-patch_kern.log

Tested with last kernel nightly with the patch applied on SKL-Y and BSW-M.

SKL-Y
------
suspend-read-crc-pipe-B and hang-read-crc-pipe-B are failed

# ./kms_pipe_crc_basic
IGT-Version: 1.12-gd84e624 (x86_64) (Linux: 4.4.0-rc2-nightly-patch-92602+
x86_64)
Subtest bad-pipe: SUCCESS (0.000s)
Subtest bad-source: SUCCESS (0.000s)
Subtest bad-nb-words-1: SUCCESS (0.000s)
Subtest bad-nb-words-3: SUCCESS (0.000s)
read-crc-pipe-A: Testing connector eDP-1 using pipe A
read-crc-pipe-A: Testing connector HDMI-A-1 using pipe A
read-crc-pipe-A: Testing connector DP-2 using pipe A
Subtest read-crc-pipe-A: SUCCESS (5.055s)
read-crc-pipe-A-frame-sequence: Testing connector eDP-1 using pipe A
read-crc-pipe-A-frame-sequence: Testing connector HDMI-A-1 using pipe A
read-crc-pipe-A-frame-sequence: Testing connector DP-2 using pipe A
Subtest read-crc-pipe-A-frame-sequence: SUCCESS (5.244s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:39:55 2015
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:39:56 2015
suspend-read-crc-pipe-A: Testing connector eDP-1 using pipe A
suspend-read-crc-pipe-A: Testing connector HDMI-A-1 using pipe A
suspend-read-crc-pipe-A: Testing connector DP-2 using pipe A
Subtest suspend-read-crc-pipe-A: SUCCESS (10.380s)
hang-read-crc-pipe-A: Testing connector eDP-1 using pipe A
hang-read-crc-pipe-A: Testing connector HDMI-A-1 using pipe A
hang-read-crc-pipe-A: Testing connector DP-2 using pipe A
Subtest hang-read-crc-pipe-A: SUCCESS (11.184s)
read-crc-pipe-B: Testing connector eDP-1 using pipe B
read-crc-pipe-B: Testing connector HDMI-A-1 using pipe B
read-crc-pipe-B: Testing connector DP-2 using pipe B
Subtest read-crc-pipe-B: SUCCESS (5.243s)
read-crc-pipe-B-frame-sequence: Testing connector eDP-1 using pipe B
read-crc-pipe-B-frame-sequence: Testing connector HDMI-A-1 using pipe B
read-crc-pipe-B-frame-sequence: Testing connector DP-2 using pipe B
Subtest read-crc-pipe-B-frame-sequence: SUCCESS (5.352s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:40:57 2015
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:40:57 2015
suspend-read-crc-pipe-B: Testing connector eDP-1 using pipe B
suspend-read-crc-pipe-B: Testing connector HDMI-A-1 using pipe B
Test assertion failure function igt_primary_plane_commit_legacy, file
igt_kms.c:1532:
Failed assertion: ret == 0
Last errno: 22, Invalid argument
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [do_display_commit+0xae8]
  #2 [igt_display_commit2+0xe]
  #3 [test_read_crc.constprop.1+0x175]
  #4 [__real_main214+0x2c7]
  #5 [main+0x29]
  #6 [__libc_start_main+0xf5]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest suspend-read-crc-pipe-B failed.
**** DEBUG ****
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: !(system("rtcwake -n -s 30 -m mem") != 0)
Test requirement passed: !(pipe >= data->display.n_pipes)
suspend-read-crc-pipe-B: Testing connector eDP-1 using pipe B
display: eDP-1: set_pipe(B)
display: commit {
display:     eDP-1: Selecting pipe B
display:     HDMI-A-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe B, disabling
display: }
Clearing the fb with color (0.00,1.00,0.00)
igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=1, pitch=12800)
display: B.0: plane_set_fb(56)
display: commit {
display:     eDP-1: Selecting pipe B
display:     HDMI-A-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe B, fb 56, panning (0, 0), mode 3200x1800
display: }
CRC for this fb: 538dbe18 00000000 00000000 00000000 00000000
display: B.0: plane_set_fb(0)
display: eDP-1: set_pipe(any)
display: eDP-1: set_pipe(B)
display: commit {
display:     eDP-1: Selecting pipe B
display:     HDMI-A-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe B, disabling
display: }
Clearing the fb with color (0.00,1.00,1.00)
igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=1, pitch=12800)
display: B.0: plane_set_fb(56)
display: commit {
display:     eDP-1: Selecting pipe B
display:     HDMI-A-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     eDP-1: SetCrtc pipe B, fb 56, panning (0, 0), mode 3200x1800
display: }
CRC for this fb: 8184a819 00000000 00000000 00000000 00000000
display: B.0: plane_set_fb(0)
display: eDP-1: set_pipe(any)
suspend-read-crc-pipe-B: Testing connector HDMI-A-1 using pipe B
display: HDMI-A-1: set_pipe(B)
display: commit {
display:     HDMI-A-1: Selecting pipe B
display:     eDP-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     HDMI-A-1: SetCrtc pipe B, disabling
display: }
Clearing the fb with color (0.00,1.00,0.00)
igt_create_fb_with_bo_size(width=3840, height=2160, format=0x34325258 [bpp=32],
tiling=0x0, size=0)
igt_create_fb_with_bo_size(handle=1, pitch=15360)
display: B.0: plane_set_fb(56)
display: commit {
display:     HDMI-A-1: Selecting pipe B
display:     eDP-1: Selecting pipe A
display:     DP-2: Selecting pipe C
display:     HDMI-A-1: SetCrtc pipe B, fb 56, panning (0, 0), mode 3840x2160
Test assertion failure function igt_primary_plane_commit_legacy, file
igt_kms.c:1532:
Failed assertion: ret == 0
Last errno: 22, Invalid argument
****  END  ****
Subtest suspend-read-crc-pipe-B: FAIL (5.111s)
hang-read-crc-pipe-B: Testing connector eDP-1 using pipe B
Test assertion failure function igt_display_refresh, file igt_kms.c:1218:
Failed assertion: a->pending_crtc_idx_mask != b->pending_crtc_idx_mask
eDP-1 and HDMI-A-1 are both trying to use pipe B
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [do_display_commit+0x9e6]
  #2 [igt_display_commit2+0xe]
  #3 [test_read_crc.constprop.1+0xe6]
  #4 [__real_main214+0x485]
  #5 [main+0x29]
  #6 [__libc_start_main+0xf5]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest hang-read-crc-pipe-B failed.
**** DEBUG ****
Test requirement passed: !(pipe >= data->display.n_pipes)
hang-read-crc-pipe-B: Testing connector eDP-1 using pipe B
display:     eDP-1: set_pipe(B)
display:     commit {
Test assertion failure function igt_display_refresh, file igt_kms.c:1218:
Failed assertion: a->pending_crtc_idx_mask != b->pending_crtc_idx_mask
eDP-1 and HDMI-A-1 are both trying to use pipe B
****  END  ****
Subtest hang-read-crc-pipe-B: FAIL (5.932s)
read-crc-pipe-C: Testing connector eDP-1 using pipe C
read-crc-pipe-C: Testing connector HDMI-A-1 using pipe C
read-crc-pipe-C: Testing connector DP-2 using pipe C
Subtest read-crc-pipe-C: SUCCESS (5.600s)
read-crc-pipe-C-frame-sequence: Testing connector eDP-1 using pipe C
read-crc-pipe-C-frame-sequence: Testing connector HDMI-A-1 using pipe C
read-crc-pipe-C-frame-sequence: Testing connector DP-2 using pipe C
Subtest read-crc-pipe-C-frame-sequence: SUCCESS (5.220s)
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:41:49 2015
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Nov 26 10:41:50 2015
suspend-read-crc-pipe-C: Testing connector eDP-1 using pipe C
suspend-read-crc-pipe-C: Testing connector HDMI-A-1 using pipe C
suspend-read-crc-pipe-C: Testing connector DP-2 using pipe C
Subtest suspend-read-crc-pipe-C: SUCCESS (6.865s)
hang-read-crc-pipe-C: Testing connector eDP-1 using pipe C
hang-read-crc-pipe-C: Testing connector HDMI-A-1 using pipe C
hang-read-crc-pipe-C: Testing connector DP-2 using pipe C
Subtest hang-read-crc-pipe-C: SUCCESS (11.702s)

>From kern.log:
Nov 26 11:42:07 SKLY4 kernel: [ 1111.641876] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in has_infoframe (expected 1, found 0)
Nov 26 11:42:07 SKLY4 kernel: [ 1111.641905] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in dpll_hw_state.cfgcr1 (expected 0x80400173, found
0x00000145)
Nov 26 11:42:07 SKLY4 kernel: [ 1111.641931] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in base.adjusted_mode.crtc_clock (expected 297000, found
260000)
Nov 26 11:42:07 SKLY4 kernel: [ 1111.641955] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in port_clock (expected 297000, found 260000)
Nov 26 11:42:14 SKLY4 kernel: [ 1118.120923] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in has_infoframe (expected 1, found 0)
Nov 26 11:42:14 SKLY4 kernel: [ 1118.122790] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in dpll_hw_state.cfgcr1 (expected 0x80400173, found
0x00000145)
Nov 26 11:42:14 SKLY4 kernel: [ 1118.125068] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in base.adjusted_mode.crtc_clock (expected 297000, found
260000)
Nov 26 11:42:14 SKLY4 kernel: [ 1118.127586] [drm:intel_atomic_commit [i915]]
*ERROR* mismatch in port_clock (expected 297000, found 260000)
Nov 26 11:42:19 SKLY4 kernel: [ 1122.955434] mei_me 0000:00:16.0: timer: init
clients timeout hbm_state = 2.

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 <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
  Date:   Wed Nov 25 18:09:23 2015 +0100
  drm-intel-nightly: 2015y-11m-25d-17h-08m-45s UTC integration manifest
  With patch <a href="https://bugs.freedesktop.org/attachment.cgi?id=119736">https://bugs.freedesktop.org/attachment.cgi?id=119736</a> applied
Mesa 11.0.5 from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
xf86-video-intel - 2.99.917 from
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/</a>
Libdrm - 2.4.65 from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
Libva - 1.6.1 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
vaapi intel-driver - 1.6.1 from <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
Cairo - 1.14.2 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
Xorg Xserver - 1.17.2 from <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a>
IGT 1.12-gd84e624
2 monitors connected: Asus PB287Q (HDMI) and Asus PB238Q (DP)

BSW
----
Subtests are Pass

Platform: Braswell M
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping:
4)
SoC : BSW D0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All 
Feature Reworks: F28, F32, F33, F35, F37
Optional reworks : O-01a; O-02, O-03
Software 
BIOS : BRAS.X64.B088.R00.1510270350
TXE FW : 2.0.0.2093
Ksc : 1.08
Linux : Ubuntu 15.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 <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
  Date:   Wed Nov 25 18:09:23 2015 +0100
  drm-intel-nightly: 2015y-11m-25d-17h-08m-45s UTC integration manifest
  With patch <a href="https://bugs.freedesktop.org/attachment.cgi?id=119736">https://bugs.freedesktop.org/attachment.cgi?id=119736</a> applied
Mesa 11.0.5 from <a href="http://cgit.freedesktop.org/mesa/mesa/">http://cgit.freedesktop.org/mesa/mesa/</a>
xf86-video-intel - 2.99.917 from
<a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/">http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/</a>
Libdrm - 2.4.65 from <a href="http://cgit.freedesktop.org/mesa/drm/">http://cgit.freedesktop.org/mesa/drm/</a>
Libva - 1.6.1 from <a href="http://cgit.freedesktop.org/libva/">http://cgit.freedesktop.org/libva/</a>
vaapi intel-driver - 1.6.1 from <a href="http://cgit.freedesktop.org/vaapi/intel-driver">http://cgit.freedesktop.org/vaapi/intel-driver</a>
Cairo - 1.14.2 from <a href="http://cgit.freedesktop.org/cairo">http://cgit.freedesktop.org/cairo</a>
Xorg Xserver - 1.17.2 from <a href="http://cgit.freedesktop.org/xorg/xserver">http://cgit.freedesktop.org/xorg/xserver</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>