Bug 92602

Summary: [HSW BDW SKL BSW] [IGT Basic] kms_pipe_crc_basic is epic fail
Product: DRI Reporter: Daniel Vetter <daniel>
Component: DRM/IntelAssignee: Kimmo Nikkanen <knikkane>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: blocker    
Priority: highest CC: bugs, intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: BDW, BSW/CHT, HSW, SKL i915 features:
Attachments:
Description Flags
kern.log.bz2
none
results.json.bz2
none
BDW-kern.log.bz2
none
BDW-results.json.bz2
none
HSW-kern.log.bz2
none
HSW-results.json.bz2
none
skl-read-crc-pipe-A
none
skl-read-crc-pipe-B
none
[PATCH 1/4] drm/i915/skl: Do not allow scaling when crtc is disabled.
none
kms_pipe_crc_basic_skl_with-patch_kern.log none

Description Daniel Vetter 2015-10-22 14:57:43 UTC
Which means we can't validate any modeset feature at all really.

Blocks color manager, rotation, NV12, refactoring gen9 universal planes ...

Could be that the BSW fail is a different kind and needs to be split out into a separate test.
Comment 1 cprigent 2015-10-28 10:45:27 UTC
Created attachment 119248 [details]
kern.log.bz2

4 Basic IGT tests are fail on BSW:
igt@kms_pipe_crc_basic@hang-read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c

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 2 cprigent 2015-10-28 10:45:47 UTC
Created attachment 119249 [details]
results.json.bz2
Comment 3 cprigent 2015-10-28 10:48:25 UTC
Those tests are skipped on SKL-Y:
Hardware:
Motherboard: Skylake Y
cpu model name : Intel(R) Core(TM) m5-6Y54 CPU @ 1.10GHz
cpu model : 78
cpu family : 6
Graphic card: Device 191e (rev 07)
Software:
Kernel: 4.3.0-rc7 drm-intel-nightly 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.2 LTS
Bios: SKLSE2R1.R00.X100.B01.1509220551
Libdrm: 2.4.65
Comment 4 cprigent 2015-10-28 11:20:19 UTC
Created attachment 119252 [details]
BDW-kern.log.bz2

Several fails on BDW-U:
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b
igt@kms_pipe_crc_basic@hang-read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-a
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c

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 5 cprigent 2015-10-28 11:20:51 UTC
Created attachment 119253 [details]
BDW-results.json.bz2
Comment 6 cprigent 2015-10-28 11:30:36 UTC
Created attachment 119254 [details]
HSW-kern.log.bz2

Following tests are fail on HSW-ULT:
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b
igt@kms_pipe_crc_basic@hang-read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-a
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence	
igt@kms_pipe_crc_basic@read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence	
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a 		
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c

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 7 cprigent 2015-10-28 11:31:09 UTC
Created attachment 119255 [details]
HSW-results.json.bz2
Comment 8 Jani Nikula 2015-10-28 12:35:11 UTC
For future reference, can we please have the logs unpacked, plain text for faster viewing?
Comment 9 Jesse Barnes 2015-11-09 21:05:40 UTC
Sample from today on SKL (lots of similar messages with other modeset tests):

[  569.363645] WARNING: CPU: 0 PID: 31745 at drivers/gpu/drm/i915/intel_pm.c:3538 skl_update_other_pipe_wm+0x1b0/0x1c0 [i915]()
[  569.363648] WARN_ON(!wm_changed)
Comment 10 Mika Kuoppala 2015-11-10 13:33:20 UTC
Created attachment 119542 [details]
skl-read-crc-pipe-A
Comment 11 Mika Kuoppala 2015-11-10 13:33:53 UTC
Created attachment 119543 [details]
skl-read-crc-pipe-B
Comment 12 Mika Kuoppala 2015-11-10 13:37:08 UTC
It seems that we only get the !wm_changed warning when doing the test for pipe B/C and not for pipe A (the connected/fbdev pipe)

From logs it seems that it re-enables pipe A after tests and expects
watermark values to be changed.

Could it be too strict test on pipe A as we only disable/enabled it thus the watermark values should stay the same?
Comment 13 cprigent 2015-11-15 13:36:19 UTC
There are 7 fails on BSW-M with last setup:
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-a
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b

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
BIOS : BRAS.X64.B084.R00.1508310642
TXE FW : 2.0.0.2073
Ksc : 1.08

Linux distribution: Ubuntu 15.04 LTS 64 bits
kernel 4.3.0-drm-intel-nightly (a3b0dec) from git://anongit.freedesktop.org/drm-intel
  commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd
  Author: Jani Nikula jani.nikula@intel.com
  Date: Fri Nov 6 14:48:23 2015 +0200
  drm-intel-nightly: 2015y-11m-06d-12h-48m-02s 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

This is a regression for:
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b
They were pass with:
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
Comment 14 Maarten Lankhorst 2015-11-17 14:16:47 UTC
Created attachment 119736 [details] [review]
[PATCH 1/4] drm/i915/skl: Do not allow scaling when crtc is disabled.

This one should get rid of the WARN_ON_ONCE for cdclk, could you check?
Comment 15 Rami 2015-11-19 17:13:07 UTC
Reproduced on BSW with last setup. This tests are fail
igt@kms_pipe_crc_basic@read-crc-pipe-a
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
setup:

Hardware:
Platform: Braswell M 
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4)
SoC : BSW C0
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:
Linux distribution: Ubuntu 15.04 LTS 64 bits 
BIOS : BRAS.X64.B084.R00.1508310642
TXE FW : 2.0.0.2073
Ksc : 1.08
kernel  drm-intel-nightly: 2015y-11m-12d-15h-35m-53s UTC integration manifest
commit 4c2531304c0a2f36f6b2cce2add5b5b2bd3fd893
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Nov 12 17:36:12 2015 +0200
cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.65, tag: 2.4.65) c3496167637e35cf8a52d5e7e53a412e79d80db0 from git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, tag: 1.6.1, origin/v1.6-branch) 35858c69166b845c59ca32e19a3dbb0b758df209 from git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch) 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-11.0.5) ee57c22141c42d9b511a7dfa5971c4428cd1c6e7 from git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, tag: 2.99.917) baec802b21387d04aebb10ac29e719a1800c5aa0 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
xserver: (HEAD, tag: xorg-server-1.17.2) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver

* Tools *
intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master) e42936d86b52c6804da41755df7155cafded5eb2 from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 16 Kimmo Nikkanen 2015-11-23 07:20:59 UTC
(In reply to Rami from comment #15)
> Reproduced on BSW with last setup. This tests are fail
> igt@kms_pipe_crc_basic@read-crc-pipe-a
> igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
> igt@kms_pipe_crc_basic@read-crc-pipe-b
> igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
> setup:
> 
> Hardware:
> Platform: Braswell M 
> CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76
> stepping: 4)
> SoC : BSW C0
> 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:
> Linux distribution: Ubuntu 15.04 LTS 64 bits 
> BIOS : BRAS.X64.B084.R00.1508310642
> TXE FW : 2.0.0.2073
> Ksc : 1.08
> kernel  drm-intel-nightly: 2015y-11m-12d-15h-35m-53s UTC integration manifest
> commit 4c2531304c0a2f36f6b2cce2add5b5b2bd3fd893
> Author: Jani Nikula <jani.nikula@intel.com>
> Date:   Thu Nov 12 17:36:12 2015 +0200
> cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from
> git://git.freedesktop.org/git/cairo
> drm: (HEAD, tag: libdrm-2.4.65, tag: 2.4.65)
> c3496167637e35cf8a52d5e7e53a412e79d80db0 from
> git://git.freedesktop.org/git/mesa/drm
> intel-driver: (HEAD, tag: 1.6.1, origin/v1.6-branch)
> 35858c69166b845c59ca32e19a3dbb0b758df209 from
> git://git.freedesktop.org/git/vaapi/intel-driver
> libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch)
> 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from
> git://git.freedesktop.org/git/vaapi/libva
> mesa: (HEAD, tag: mesa-11.0.5) ee57c22141c42d9b511a7dfa5971c4428cd1c6e7 from
> git://git.freedesktop.org/git/mesa/mesa
> xf86-video-intel: (HEAD, tag: 2.99.917)
> baec802b21387d04aebb10ac29e719a1800c5aa0 from
> git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
> xserver: (HEAD, tag: xorg-server-1.17.2)
> 2123f7682d522619f101b05fb75efa75dabbe371 from
> git://git.freedesktop.org/git/xorg/xserver
> 
> * Tools *
> intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master)
> e42936d86b52c6804da41755df7155cafded5eb2 from
> git://git.freedesktop.org/git/xorg/app/intel-gpu-tools

Reproduced with attachment 119736 [details] [review]?
Comment 17 Maarten Lankhorst 2015-11-24 14:21:19 UTC
*** Bug 92601 has been marked as a duplicate of this bug. ***
Comment 18 cprigent 2015-11-26 11:25:19 UTC
Created attachment 120139 [details]
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 <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
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 <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
Comment 19 Daniel Vetter 2015-11-28 10:02:50 UTC
Ok, we need to split this bug up, there's way too many different bugs here. From the bug filing BKMs:

- if the WARNING in dmesg is different, it's a different bug. Special case: for pipe_config mismatch you need to look at the *ERROR* right above. We seem to have mismatches here in has_infoframes (tracked in bug #93119), dpll_hw_state.cfgcr1, base.adjusted_mode.crtc_clock and port_clock. The three clock mismatches are probably related.

- igt failure below seems to be another issue again. Probably needs a separate bug.

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 ****

- once we have split out all the bugs per BKM please add an entry here linking to all the new ones and close this one as invalid/superseeded. All the new bugs should be priority=highest since they're BAT failures.

Thanks, Daniel
Comment 20 Daniel Vetter 2015-12-08 09:34:40 UTC
(In reply to Daniel Vetter from comment #19)
> Ok, we need to split this bug up, there's way too many different bugs here.
> From the bug filing BKMs:
> 
> - if the WARNING in dmesg is different, it's a different bug. Special case:
> for pipe_config mismatch you need to look at the *ERROR* right above. We
> seem to have mismatches here in has_infoframes (tracked in bug #93119),
> dpll_hw_state.cfgcr1, base.adjusted_mode.crtc_clock and port_clock. The
> three clock mismatches are probably related.
> 
> - igt failure below seems to be another issue again. Probably needs a
> separate bug.
> 
> 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 ****
> 
> - once we have split out all the bugs per BKM please add an entry here
> linking to all the new ones and close this one as invalid/superseeded. All
> the new bugs should be priority=highest since they're BAT failures.
> 
> Thanks, Daniel

I dont see any further comments here linking to newly created bugs, so closing this one.
Comment 21 Jari Tahvanainen 2017-04-19 14:26:19 UTC
Closing >year old resolved+fixed

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.