Bug 94417

Summary: [KBL] [IGT Basic] kms_sink_crc_basic occasionally fails
Product: DRI Reporter: cprigent <christophe.prigent>
Component: DRM/IntelAssignee: Luis Botello <luis.botello.ortega>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: blocker    
Priority: high CC: bugs, ileana.petrisor, intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: KBL i915 features: display/eDP, display/PSR
Attachments:
Description Flags
dmesg
none
tests/kms_sink_crc_basic: clean up assert_color and provide more details
none
kms_sink_crc_basic_PATCHED.log
none
dmesgKBLrvp7
none
dmesg_kms none

Description cprigent 2016-03-06 19:22:04 UTC
Created attachment 122131 [details]
dmesg

Hardware
Platform: KABY LAKE-U 
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1 
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 15.10 64 bits
Kernel drm-intel-nightly 4.5.0-rc6_59c2aa9 from http://cgit.freedesktop.org/drm-intel/
  commit 59c2aa9790ada24e1c13cd582a91fea33dc75b00
  Author: Jani Nikula <jani.nikula@intel.com>
  Date:   Mon Feb 29 11:15:04 2016 +0200
  drm-intel-nightly: 2016y-02m-29d-09h-14m-18s UTC integration manifest
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: util-macros-1.19.0-2 d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
xserver: xorg-server-1.18.0-188 939ce0b from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-560 d167280 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: libva-1.6.1-37 1f026de from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.6.1-92 f6fe842 from git://anongit.freedesktop.org/vaapi/intel-driver
intel-gpu-tool: intel-gpu-tools-1.14-6 a25983e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
Execute IGT test: kms_sink_crc_basic

Actual result:
--------------
Test sporadically fails, output:
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.5.0-rc6-nightly+ x86_64)
(kms_sink_crc_basic:24431) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:98:
(kms_sink_crc_basic:24431) CRITICAL: Failed assertion: (rh & mask) == 0 && (gh & mask) != 0 && (bh & mask) == 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [assert_color+0x200]
  #2 [__real_main166+0x176]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Test kms_sink_crc_basic failed.
**** DEBUG ****
(kms_sink_crc_basic:24431) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_sink_crc_basic:24431) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_sink_crc_basic:24431) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_sink_crc_basic:24431) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_sink_crc_basic:24431) igt-kms-DEBUG: VT: graphics mode set (mode was 0x1)
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: init {
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display:     DP-1: Selecting pipe B
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: eDP-1: set_pipe(any)
(kms_sink_crc_basic:24431) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:24431) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=12800)
(kms_sink_crc_basic:24431) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:24431) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=12800)
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: A.0: plane_set_fb(79)
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: commit {
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display:     DP-1: Selecting pipe B
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 79, panning (0, 0), mode 3200x1800
(kms_sink_crc_basic:24431) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:24431) DEBUG: Test requirement passed: file
(kms_sink_crc_basic:24431) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:24431) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:24431) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:24431) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:24431) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:98:
(kms_sink_crc_basic:24431) CRITICAL: Failed assertion: (rh & mask) == 0 && (gh & mask) != 0 && (bh & mask) == 0
****  END  ****
FAIL (0,091s)

Expected result:
----------------
Test is Pass
Comment 1 cprigent 2016-03-18 16:57:55 UTC
Tested in a loop, it is about 20% reproducible.

Hardware
Platform: KABY LAKE-U 
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1 
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 15.10 64 bits
Kernel drm-intel-nightly 4.5.0-fc881eb from http://cgit.freedesktop.org/drm-intel/
  commit fc881ebd9c3c26919c7d1113f8bf7014e1a05563
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Tue Mar 15 14:11:45 2016 +0100
  drm-intel-nightly: 2016y-03m-15d-13h-10m-41s UTC integration manifest

drm: libdrm-2.4.67-7-g49041c3 from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
intel-gpu-tool: intel-gpu-tools-1.14-62-g8f6ed9e from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 2 Jani Nikula 2016-04-22 10:03:34 UTC
Created attachment 123141 [details] [review]
tests/kms_sink_crc_basic: clean up assert_color and provide more details

Please try the attached igt patch to gain better information about what goes on, and provide the test output.
Comment 3 Jani Nikula 2016-04-25 12:16:02 UTC
Oh, and if this only happens on KBL, it's possible it's because of the display on the RVP, and not because of the driver.
Comment 4 Daniel Vetter 2016-05-04 15:14:11 UTC
I've also seen this just happen on BDW in a CI run.
Comment 5 Daniel Vetter 2016-05-09 07:18:05 UTC
Also just spotted on bdw.
Comment 6 Luis Botello 2016-05-20 22:03:06 UTC
Issue still present on KBL U with the following config:

|=== Software information ===|

 ++ Kernel version                      : 4.6.0-drm-intel-nightly-ww21-commit-f1eaed1+
 ++ Linux distribution                  : Ubuntu 15.10
 ++ Architecture                        : 64-bit
 ++ xf86-video-intel version            : 2.99.917
 ++ Xorg-Xserver version                : 1.17.2
 ++ DRM version                         : 2.4.68
 ++ Cairo version                       : 1.15.2
 ++ Intel GPU Tools version             : Tag [intel-gpu-tools-1.14-334-ga7d5854] / Commit [a7d5854]
 ++ Kernel driver in use                : i915
 ++ Bios revision                       : 36.2
 ++ KSC revision                        : 1.20


 |=== Hardware information ===|

 ++ Platform                            : KBL (RVP7)
 ++ Motherboard model                   : Kabylake Client platform
 ++ Motherboard type                    : Skylake U DDR3L RVP7 Laptop
 ++ Motherboard manufacturer            : Intel Corporation
 ++ CPU family                          : Other
 ++ CPU information                     : Genuine Intel(R) CPU 0000 @ 2.60GHz
 ++ GPU Card                            : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
 ++ Memory ram                          : 4 GB
 ++ CPU's number                        : 4


Patch is already merged on actual IGT commit, find test output attached as:
kms_sink_crc_basic_PATCHED.log
Comment 7 Luis Botello 2016-05-20 22:03:30 UTC
Created attachment 123945 [details]
kms_sink_crc_basic_PATCHED.log
Comment 8 Jani Nikula 2016-06-13 14:34:48 UTC
Is this reproducible if you set i915.enable_psr=0 module parameter?
Comment 9 yann 2016-06-20 17:03:48 UTC
Luis, can you confirm with i915.enable_psr=0?
Comment 10 Luis Botello 2016-08-01 20:43:40 UTC
Issue is still present on KBL even with kernel command i915.enable_psr=0 this is my config:

Platform: APL system
CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12, stepping: 9) 4 cores
QDF : Q6HE
SoC : B1
CRB : Apollo Lake DDR3L RVP1A FAB2
Reworks: R19, R20

Software 
Bios: 144_B10 APLK_B0_IFWI_X64_R_2016_06_27_0956_SPI_RVP1.bin from \\gar\ec\proj\ba\CCG\APL BIOS\External\BIOS_Release\Daily\v144_10_2016_WW27.1\IFWI\IFWI_RVP1_Release\IFWI
KSC: 1.15
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0 6f87e85 from http://cgit.freedesktop.org/drm-intel/
  commit 6f87e85fa302ffdb4cb9f4cd712691165923c7a2
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Mon Aug 1 15:53:41 2016 +0100
  drm-intel-nightly: 2016y-08m-01d-14h-53m-17s UTC integration manifest
drm: libdrm-2.4.70 f19cd3a 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-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-688 49daf5d from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-40 f7e2263 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-64 1cd6795 from git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 
Intel-Gpu-Tools 1.15-188 53b4dfdfrom http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

KBL-U
Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0 6f87e85 from http://cgit.freedesktop.org/drm-intel/
   commit 6f87e85fa302ffdb4cb9f4cd712691165923c7a2
 Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Mon Aug 1 15:53:41 2016 +0100
  drm-intel-nightly: 2016y-08m-01d-14h-53m-17s UTC integration manifest
drm: libdrm-2.4.70 f19cd3a 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-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-688 49daf5d from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-40 f7e2263 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-64 1cd6795 from git://git.freedesktop.org/git/vaapi/intel-driverGuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 
Intel-Gpu-Tools 1.15-188 53b4dfdfrom http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 11 Luis Botello 2016-08-01 20:44:29 UTC
Please ignore the APL config in my previous comment
Comment 12 Luis Botello 2016-08-23 20:54:48 UTC
Test is passing now (10 of 10 attempts) with the following configuration:

 Software information
============================================
Kernel version                  : 4.8.0-rc2-nightly+f53a8d1
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
xf86-video-intel version        : 2.99.917
DRM version                     : 2.4.70
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.2.pre1 (1.7.0-82-g98555d2)
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15-224-ga147ef2] / Commit [a147ef2]
Kernel driver in use            : i915
Bios revision                   : 38.5
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard manufacturer        : Intel Corporation
CPU information                 : Intel(R) Core(TM) m5-7Y54 CPU @ 1.20GHz
GPU Card                        : Intel Corporation Device 591e (rev 02) (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
CPU thread                      : 4
CPU core                        : 2
Hard drive capacity             : 74GiB (80GB)

 Firmwares information
============================================
DMC version                     : 1.1
Comment 13 Luis Botello 2016-08-24 18:22:03 UTC
Issue is still seen sporadically (1/10 times tested) on KBL-U/RVP7 with the following configuration:

Software information
============================================
Kernel version                  : 4.8.0-rc2-nightly+f53a8d1
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
xf86-video-intel version        : 2.99.917
DRM version                     : 2.4.70
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.2.pre1 (1.7.0-89-gb53fad9)
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15-228-gb0658ce] / Commit [b0658ce]
Kernel driver in use            : i915
Bios revision                   : 38.7
KSC revision                    : 1.20


 Hardware information
============================================
Platform                        : KBL (RVP7)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake U DDR3L RVP7 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 2.60GHz
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
CPU thread                      : 4
CPU core                        : 2

 Firmwares information
============================================
DMC version                     : 1.1

IGT output:
============================================
IGT-Version: 1.15-gb0658ce (x86_64) (Linux: 4.8.0-rc2-nightly+ x86_64)
(kms_sink_crc_basic:1771) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:77:
(kms_sink_crc_basic:1771) CRITICAL: Failed assertion: 0 == b
(kms_sink_crc_basic:1771) CRITICAL: error: 0 != 21075
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [assert_color+0xcd]
  #2 [<unknown>+0xcd]
  #3 [<unknown>+0xcd]
Test kms_sink_crc_basic failed.
**** DEBUG ****
(kms_sink_crc_basic:1771) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_sink_crc_basic:1771) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: init {
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_sink_crc_basic:1771) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1771) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=12800)
(kms_sink_crc_basic:1771) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1771) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_sink_crc_basic:1771) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=12800)
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: A.0: plane_set_fb(40)
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: commit {
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 40, src (0, 0), mode 3200x1800
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1771) DEBUG: Test requirement passed: file
(kms_sink_crc_basic:1771) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: A.0: plane_set_fb(89)
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: commit {
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 89, src (0, 0), mode 3200x1800
(kms_sink_crc_basic:1771) igt-kms-DEBUG: display: }
(kms_sink_crc_basic:1771) DEBUG: Test requirement passed: file
(kms_sink_crc_basic:1771) DEBUG: Test requirement passed: ret > 0
(kms_sink_crc_basic:1771) CRITICAL: Test assertion failure function assert_color, file kms_sink_crc_basic.c:77:
(kms_sink_crc_basic:1771) CRITICAL: Failed assertion: 0 == b
(kms_sink_crc_basic:1771) CRITICAL: error: 0 != 21075
****  END  ****
FAIL (0.214s)

Please see "dmesgKBLrvp7" attachment
Comment 14 Luis Botello 2016-08-24 18:22:46 UTC
Created attachment 126015 [details]
dmesgKBLrvp7
Comment 15 Luis Botello 2016-09-27 21:27:36 UTC
Issue is still present on KBL over the following config:

drm: libdrm-2.4.70-14-g0659558 from git://anongit.freedesktop.org/mesa/drm 
mesa: mesa-12.0.0 - 8b06176 from git://anongit.freedesktop.org/mesa/mesa 
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo 
xorg-server: xorg-server-1.18.99.901-14-gba199cb from git://git.freedesktop.org/git/xorg/xserver 
xf86-video-intel: 2.99.917-708-g8f33f80 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel 
libva: libva-1.7.2-38-g3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-101-g302cf63from git://anongit.freedesktop.org/vaapi/intel-driver
intel-gpu-tools: intel-gpu-tools-1.16-30-g32b2021 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

commit aab15c274da587bcab19376d2caa9d6626440335
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Sep 26 15:11:53 2016 +0300

    drm-intel-nightly: 2016y-09m-26d-12h-11m-33s UTC integration manifest

IGT Output
==============================
IGT-Version: 1.16-g32b2021 (x86_64) (Linux: 4.8.0-rc8-nightly+ x86_64)
Test requirement not met in function get_crc, file kms_sink_crc_basic.c:57:
Test requirement: ret > 0
Last errno: 25, Inappropriate ioctl for device
SKIP (0.144s)

Please take a look at the attached dmesg.
Comment 16 Luis Botello 2016-09-27 21:28:06 UTC
Created attachment 126815 [details]
dmesg_kms
Comment 17 Jari Tahvanainen 2017-03-27 14:09:33 UTC
Luis et.al, can you check if the fail exists nowadays. Based on the https://intel-gfx-ci.01.org/CI/igt@kms_sink_crc_basic.html I would say that for test case FAIL we can close this bug - there is another one for ILK (bug 100411). For SIP with "Last errno: 25, Inappropriate ioctl for device" and/or "Sink CRC is unreliable on this machine. Try manual debug with --interactive-debug=no-crc, Last errno: 9, Bad file descriptor" (see https://intel-gfx-ci.01.org/CI/CI_DRM_2412/fi-kbl-7560u/igt@kms_sink_crc_basic.html) let's open a new bug(s).
Comment 18 Luis Botello 2017-03-31 22:54:14 UTC
Issue is not seen anymore on BDW with the latest config:
======================================
             Software
======================================
kernel version            : 4.10.2-mainline-ww12-version-4.10.2
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety
kernel driver             : i915
bios revision             : 1.69
ksc                       : 1.69

======================================
        Graphic drivers
======================================
xf86-video-intel (tag)    : 2.99.917
xf86-video-intel (commit)    : 2.99.917-767-g7e9e92c
xorg-xserver              : 1.18.4
libdrm                    : 2.4.75
vaapi (intel-driver)      : Intel i965 driver for Intel(R) Broadwell - 1.8.0.pre1 (1.8.0.pre1)
cairo                     : 1.15.4
xserver                   : X.Org X Server 1.19.2
intel-gpu-tools (tag)     : intel-gpu-tools-1.18
intel-gpu-tools (commit)  : bb97a05

======================================
             Hardware
======================================
platform                  : BDW
motherboard model         : 80E5
motherboard id            : LenovoG50-80
form factor               : Notebook
manufacturer              : LENOVO
cpu family                : Core i5
cpu information           : Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
gpu card                  : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])


Tested 10 times

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.