Bug 97520 - [BSW] [IGT] kms_setmode subtest invalid-clone-single-crtc-stealing fails
Summary: [BSW] [IGT] kms_setmode subtest invalid-clone-single-crtc-stealing fails
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-28 20:42 UTC by Luis Botello
Modified: 2018-04-23 06:35 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/Other


Attachments
IGT_output (66.54 KB, text/plain)
2016-08-28 20:42 UTC, Luis Botello
no flags Details
IGT-output (4.76 KB, text/plain)
2016-08-28 20:44 UTC, Luis Botello
no flags Details
BDW__kms_setmode__invalid-clone-single-crtc-stealing__kern.log (290.48 KB, text/plain)
2016-09-29 14:02 UTC, cprigent
no flags Details
BDW__kms_setmode__invalid-clone-single-crtc-stealing__output (1.89 KB, text/plain)
2016-09-29 14:03 UTC, cprigent
no flags Details

Description Luis Botello 2016-08-28 20:42:47 UTC
Created attachment 126088 [details]
IGT_output

Description:
=============================================
kms_setmode subtest invalid-clone-single-crtc-stealing fails.
Please see attachments

Steps to reproduce:
=============================================
#./kms_setmode --run-subtets invalid-clone-single-crtc-stealing

Software Configuration:
============================================
Kernel: 4.8.0-rc3 gb0658ce  from http://cgit.freedesktop.org/drm-intel/
libdrm-2.4.70-2 b214b05 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
xorg-server-1.18.0- 532 6e5bec2 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.697 12c14de from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-45 b27feb9 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-89 b53fad9 from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15 a147ef2 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Hardware Configuration:
=============================================
Hardware: Acer Desktop
Motherboard: Aspire XC-704
CPU: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz (Family 6, Model 76, Stepping 3)
GPU:  Intel® HD Graphics - Intel Corporation Device 22b1 (rev 21)
Memory card: 1 card 4GB Hynix HMT451S6BFR8APB
HDD: Western Digital WDC WD10EZEX-21M (1TB)

Software:
Bios: R01-A2
Linux distribution: Ubuntu 16.04 64 bits

Attachments:
=============================================
IGT_output
dmesg
Comment 1 Luis Botello 2016-08-28 20:44:43 UTC
Created attachment 126089 [details]
IGT-output
Comment 2 cprigent 2016-09-29 14:02:44 UTC
Created attachment 126867 [details]
BDW__kms_setmode__invalid-clone-single-crtc-stealing__kern.log

Same on BDW

Platform: NUC5i7RYB
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (Family 6, Model 61, Stepping 4)
Motherboard version: H73774-102
GPU: Intel® Iris™ Graphics 6100 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Kingston 99U5469-045.A00LF
SSD: INTEL SSDSC2KW24

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc8 aab15c2 from http://cgit.freedesktop.org/drm-intel/
   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
libdrm-2.4.70-14 0659558 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-1.18.99.901-14 ba199cb from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-708 8f33f80 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-101 302cf63 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-30 32b2021 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 3 cprigent 2016-09-29 14:03:02 UTC
Created attachment 126868 [details]
BDW__kms_setmode__invalid-clone-single-crtc-stealing__output
Comment 4 maria guadalupe 2016-11-24 20:05:05 UTC
Issue still present over BSW with the following config:

 Software information
============================================
Kernel version                  : 4.9.0-rc6-nightly+
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
Gfx stack code                  : 2141224538
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.4
DRM version                     : 2.4.73
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.16-156-gcddf996] / Commit [cddf996]
Kernel driver in use            : i915
Bios revision                   : 0.33
Bios release date               : 08/12/2015
KSC revision                    : 0.16


 Hardware information
============================================
Platform                        : BSW
Motherboard model               : 10G9000NUS
Motherboard type                : BRASWELL Desktop
Motherboard manufacturer        : LENOVO
CPU family                      : Pentium
CPU information                 : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
GPU Card                        : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB
CPU thread                      : 4
CPU core                        : 4
Hard drive capacity             : 476GiB (512GB)
Comment 5 maria guadalupe 2017-03-02 19:23:26 UTC
Issue still present over KBL-R with the following config:

test
============================================
#./kms_setmode --run-subtets invalid-clone-single-crtc-stealing

Software information
============================================
Component         : libdrm-2.4.75-7-gf6499b1
	commit    : f6499b1

Component         : cairo 1.15.4-6-g5854dd9
	
Component         : intel-gpu-tools-1.17-261-g8f3164f
	commit    : 8f3164f
	
Kernel version    : 4.10.0-1a8bd0f
        commit 1a8bd0fb40e5d02f827f925b7702ed6f64fadce2
Comment 6 Jari Tahvanainen 2017-04-11 07:46:14 UTC
Removing KBL since on 4.10.0-rc7-drm-intel-testing-qa-ww14-commit-5b28e02+ (KBL-R)
igt@kms_setmode@invalid-clone-single-crtc-stealing		Pass
Comment 7 Armando Antonio 2017-07-25 21:01:20 UTC
This issue is working well on BDW with latest configuration

====================================================
Test list
====================================================
igt@kms_setmode@invalid-clone-single-crtc-stealing


====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787

======================================
             Software
======================================
kernel version              : 4.13.0-rc1-drm-tip-ww30-commit-2a4f730+
/bin/bash: BDW-2-NUC5i7RYB: command not found
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/29/2015
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.82
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-116-g76bce77
intel-gpu-tools (commit)    : 76bce77

======================================
             Hardware
======================================
platform                   : Broadwell
motherboard id             : NUC5i7RYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
gpu card                   : Intel Corporation Iris Graphics 6100 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.71 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 61
cpu stepping               : 4
socket                     : Socket BGA1168
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 447GiB (480GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : HDMI-A-1 DP-1
Comment 8 Elizabeth 2017-07-26 14:55:37 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 9 Hector Velazquez 2017-07-31 19:59:53 UTC
The following tests FAIL on BSW with this configuration

Tests List:

igt@kms_setmode@invalid-clone-single-crtc-stealing



This is my configuration:

**************************************************************
* * * * * * * * HARDWARE SPECIFICATIONS * * * * * * * * * * * 
**************************************************************

==============================================================
Essentials
==============================================================
Processor Number			N3700
Status					Launched
Launch Date				Q1'15
Lithography				14 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		1.60 GHz
Burst Frequency				2.40 GHz
Cache					2 MB L2
TDP					6 W
Scenario Design Power (SDP)		4 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			8 GB
Memory Types				DDR3L-1600
Max # of Memory Channels		2
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics
Graphics Base Frequency			400.00 MHz
Graphics Burst Frequency		700.00 MHz
Graphics Video Max Memory		8 GB
Graphics Output				eDP/DP/HDMI
Execution Units				16
DirectX* Support			Yes
OpenGL* Support				Yes
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		No
Intel® Clear Video HD Technology	Yes
Intel® Clear Video Technology		Yes
Intel® Wireless Display 		Yes
# of Displays Supported 		3


====================================================
Graphic Stack
====================================================

Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787
Comment 10 Elizabeth 2017-10-11 21:21:33 UTC
Still failing with BSW:

$ : time sudo -E ./intel-graphics/intel-gpu-tools/tests/kms_setmode --r invalid-clone-single-crtc-stealing
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
Testing: invalid-clone-single-crtc-stealing 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[39] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[67], DP-3[78]
(kms_setmode:3078) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:395:
(kms_setmode:3078) CRITICAL: Failed assertion: ret == 0
(kms_setmode:3078) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:3078) CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_one_combination+0x94e]
  #2 [main+0x4c6]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-clone-single-crtc-stealing failed.
**** DEBUG ****
(kms_setmode:3078) INFO: Testing: invalid-clone-single-crtc-stealing 2 connector combinations
(kms_setmode:3078) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:3078) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=6400)
(kms_setmode:3078) INFO:   Test id#1 CRTC count 1
(kms_setmode:3078) INFO:     CRTC[39] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[67], DP-3[78]
(kms_setmode:3078) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:3078) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=6400)
(kms_setmode:3078) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:395:
(kms_setmode:3078) CRITICAL: Failed assertion: ret == 0
(kms_setmode:3078) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:3078) CRITICAL: error: -22 != 0
(kms_setmode:3078) igt-core-INFO: Stack trace:
(kms_setmode:3078) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_setmode:3078) igt-core-INFO:   #1 [test_one_combination+0x94e]
(kms_setmode:3078) igt-core-INFO:   #2 [main+0x4c6]
(kms_setmode:3078) igt-core-INFO:   #3 [__libc_start_main+0xf1]
(kms_setmode:3078) igt-core-INFO:   #4 [_start+0x29]
(kms_setmode:3078) igt-core-INFO:   #5 [<unknown>+0x29]
****  END  ****
Subtest invalid-clone-single-crtc-stealing: FAIL (0.650s)
Comment 11 Hector Velazquez 2017-11-08 15:09:01 UTC
This test are failing on CFL QA

igt@kms_setmode@invalid-clone-single-crtc-stealing

====================================================
Output Sample
====================================================
**** DEBUG ****
(kms_setmode:21471) INFO: Testing: invalid-clone-single-crtc-stealing 2 connector combinations
(kms_setmode:21471) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:21471) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_setmode:21471) INFO:   Test id#1 CRTC count 1
(kms_setmode:21471) INFO:     CRTC[36] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[48], DP-1[56]
(kms_setmode:21471) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:21471) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_setmode:21471) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:395:
(kms_setmode:21471) CRITICAL: Failed assertion: ret == 0
(kms_setmode:21471) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:21471) CRITICAL: error: -22 != 0
(kms_setmode:21471) igt-core-INFO: Stack trace:
(kms_setmode:21471) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_setmode:21471) igt-core-INFO:   #1 [test_one_combination+0x94e]
(kms_setmode:21471) igt-core-INFO:   #2 [main+0x4c6]
(kms_setmode:21471) igt-core-INFO:   #3 [__libc_start_main+0xf1]
(kms_setmode:21471) igt-core-INFO:   #4 [_start+0x29]
(kms_setmode:21471) igt-core-INFO:   #5 [<unknown>+0x29]
****  END  ****

This is my configuration:

======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-79-g61ff977
    commit: 61ff9779e37179ed5106c0e2452e16500127fb9e

Component: cairo
    tag: 1.15.6-63-g3322580
    commit: 3322580f0488ff77f53d86c2b4d3cf59e6dca4c7

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-466-g1fc4de1
    commit: 1fc4de1ca390adec9be8bd7cc0c36cab07465959

Component: piglit
    tag: piglit-v1
    commit: 65b4b197da9e4121155f2dca3fca913e677e7bf2
======================================
	     Software
======================================
kernel version              : 4.14.0-rc7-drm-intel-qa-ww44-commit-2f945d9+
hostname                    : CFL-2
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 95.4
bios release date           : 07/24/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.87
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-470-gc8d1ea2
intel-gpu-tools (commit)    : c8d1ea2

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.14, found 9.14
guc version found         : wanted 9.14, found 9.14

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot
Comment 12 Jari Tahvanainen 2018-02-06 12:20:54 UTC
Please check the status of tests on latest execution round. AFAIK test has been pass on latest execution rounds on CFL.
Comment 13 Octavio 2018-02-09 20:16:13 UTC
This test is Pass on CFL 

using  IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+ x86_64)

Testing: invalid-clone-single-crtc-stealing 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[37] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[49], DP-1[56]
  Test id#2 CRTC count 1
    CRTC[47] [Pipe B] Mode: 1920x1080@60Hz Connectors: eDP-1[49], DP-1[56]
  Test id#3 CRTC count 1
    CRTC[37] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[49], DP-2[62]
  Test id#4 CRTC count 1
    CRTC[47] [Pipe B] Mode: 1920x1080@60Hz Connectors: eDP-1[49], DP-2[62]
  Test id#5 CRTC count 1
    CRTC[37] [Pipe A] Mode: 1920x1080@60Hz Connectors: DP-1[56], DP-2[62]
  Test id#6 CRTC count 1
    CRTC[47] [Pipe B] Mode: 1920x1080@60Hz Connectors: DP-1[56], DP-2[62]
Subtest invalid-clone-single-crtc-stealing: SUCCESS (4.356s)
Comment 14 Elizabeth 2018-02-12 22:16:08 UTC
This bug is still valid for BSW:

(03:48 AM) [gfx@BSW-1-BRASWELL] [tests]$ : time sudo -E ./kms_setmode --r invalid-clone-single-crtc-stealing --d
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)
(kms_setmode:17955) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_setmode:17955) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_setmode:17955) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_setmode:17955) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_setmode:17955) igt-core-DEBUG: Starting subtest: invalid-clone-single-crtc-stealing
Testing: invalid-clone-single-crtc-stealing 2 connector combinations
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=6400)
  Test id#1 CRTC count 1
    CRTC[40] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[68], DP-3[79]
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=6400)
(kms_setmode:17955) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:395:
(kms_setmode:17955) CRITICAL: Failed assertion: ret == 0
(kms_setmode:17955) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:17955) CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_one_combination+0x9ae]
  #2 [main+0x525]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x2a]
  #5 [<unknown>+0x2a]
Subtest invalid-clone-single-crtc-stealing failed.
**** DEBUG ****
(kms_setmode:17955) INFO: Testing: invalid-clone-single-crtc-stealing 2 connector combinations
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=6400)
(kms_setmode:17955) INFO:   Test id#1 CRTC count 1
(kms_setmode:17955) INFO:     CRTC[40] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[68], DP-3[79]
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1600, height=900, format=0x34325258, tiling=0x0, size=0)
(kms_setmode:17955) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=6400)
(kms_setmode:17955) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:395:
(kms_setmode:17955) CRITICAL: Failed assertion: ret == 0
(kms_setmode:17955) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:17955) CRITICAL: error: -22 != 0
(kms_setmode:17955) igt-core-INFO: Stack trace:
(kms_setmode:17955) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_setmode:17955) igt-core-INFO:   #1 [test_one_combination+0x9ae]
(kms_setmode:17955) igt-core-INFO:   #2 [main+0x525]
(kms_setmode:17955) igt-core-INFO:   #3 [__libc_start_main+0xf1]
(kms_setmode:17955) igt-core-INFO:   #4 [_start+0x2a]
(kms_setmode:17955) igt-core-INFO:   #5 [<unknown>+0x2a]
****  END  ****
Subtest invalid-clone-single-crtc-stealing: FAIL (0.389s)
(kms_setmode:17955) igt-core-DEBUG: Exiting with status code 99
(kms_setmode:17955) igt-kms-DEBUG: VT: original mode 0x0 restored
(kms_setmode:17955) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Comment 15 Elizabeth 2018-03-12 18:07:25 UTC
Same failure igt@kms_setmode@invalid-clone-single-crtc-stealing
Out	
IGT-Version: 1.21-gbddfb8d (x86_64) (Linux: 4.16.0-rc3-drm-intel-qa-ww9-commit-b2e10fd+ x86_64)
Testing: invalid-clone-single-crtc-stealing 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[40] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[68], DP-3[79]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_one_combination+0x979]
  #2 [main+0x4c6]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-clone-single-crtc-stealing: FAIL (0.481s)
Err	
(kms_setmode:21781) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:398:
(kms_setmode:21781) CRITICAL: Failed assertion: ret == 0
(kms_setmode:21781) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:21781) CRITICAL: error: -22 != 0
Subtest invalid-clone-single-crtc-stealing failed.
Comment 16 Elizabeth 2018-03-22 22:09:32 UTC
Still valid with IGT-Version: 1.22-g2e92134 (x86_64) (Linux: 4.16.0-rc5-drm-intel-qa-ww11-commit-e867298+ x86_64) on BSW.
	
(kms_setmode:19286) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:398:
(kms_setmode:19286) CRITICAL: Failed assertion: ret == 0
(kms_setmode:19286) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:19286) CRITICAL: error: -22 != 0
Subtest invalid-clone-single-crtc-stealing failed.
Comment 17 Jani Saarinen 2018-03-29 07:10:11 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 18 Elizabeth 2018-04-06 19:11:31 UTC
Still valid for BSW:

Results for igt@kms_setmode@invalid-clone-single-crtc-stealing
Result: fail

Out	
IGT-Version: 1.21-ge3a0ed9 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-c46052c+ x86_64)
Testing: invalid-clone-single-crtc-stealing 2 connector combinations
  Test id#1 CRTC count 1
    CRTC[44] [Pipe A] Mode: 1600x900@60Hz Connectors: DP-1[80], DP-3[91]
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [test_one_combination+0x979]
  #2 [main+0x4c6]
  #3 [__libc_start_main+0xf1]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-clone-single-crtc-stealing: FAIL (0.445s)
Err	
(kms_setmode:14228) CRITICAL: Test assertion failure function test_stealing, file kms_setmode.c:398:
(kms_setmode:14228) CRITICAL: Failed assertion: ret == 0
(kms_setmode:14228) CRITICAL: Last errno: 22, Invalid argument
(kms_setmode:14228) CRITICAL: error: -22 != 0
Subtest invalid-clone-single-crtc-stealing failed.
Comment 19 Jani Saarinen 2018-04-23 06:35:28 UTC
Passes on CI, closing:
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_25/fi-bsw-n3050/runtimes-all.log


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.