Bug 101916 - [IGT] kms_* fail in some subtest Failed assertion: ret == 0...
Summary: [IGT] kms_* fail in some subtest Failed assertion: ret == 0...
Status: CLOSED FIXED
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: 2017-07-25 14:06 UTC by Hector Velazquez
Modified: 2018-04-09 10:27 UTC (History)
1 user (show)

See Also:
i915 platform: IVB
i915 features: display/LVDS


Attachments
Dmesg.log (64.46 KB, text/plain)
2017-07-25 14:06 UTC, Hector Velazquez
no flags Details
Tests Log (4.62 KB, text/plain)
2017-07-25 14:08 UTC, Hector Velazquez
no flags Details
Dmesg.log (64.46 KB, text/plain)
2017-07-25 14:09 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2017-07-25 14:06:59 UTC
Created attachment 132952 [details]
Dmesg.log

The following test fail on IVB with latest configuration

Tests List:

igt@kms_panel_fitting@legacy


This is my configuration:

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


======================================
             Hardware
======================================
platform                   : Ivy Bridge
motherboard model          : HPEliteBookRevolve810G1
motherboard id             : 18F8
form factor                : Notebook
manufacturer               : Hewlett-Packard
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz
gpu card                   : Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 3.7 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 58
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 119GiB (128GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : LVDS-1 DP-3
Comment 1 Hector Velazquez 2017-07-25 14:08:28 UTC
Created attachment 132953 [details]
Tests Log
Comment 2 Hector Velazquez 2017-07-25 14:09:20 UTC
Created attachment 132954 [details]
Dmesg.log
Comment 3 Elizabeth 2017-08-04 15:21:20 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 4 Elizabeth 2017-10-11 20:15:49 UTC
Still failing:

$ : sudo -E ./kms_panel_fitting --r legacy
IGT-Version: 1.20-g136100c (x86_64) (Linux: 4.14.0-rc4-drm-intel-qa-ww41-commit-36e0e80+ x86_64)
(kms_panel_fitting:9201) igt-kms-CRITICAL: Test assertion failure function igt_drm_plane_commit, file igt_kms.c:2245:
(kms_panel_fitting:9201) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_panel_fitting:9201) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_panel_fitting:9201) igt-kms-CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [do_display_commit+0xa7c]
  #2 [<unknown>+0xa7c]
Subtest legacy failed.
**** DEBUG ****
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: set_pipe(A)
(kms_panel_fitting:9201) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: Selecting pipe A
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_panel_fitting:9201) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: set_pipe(A)
(kms_panel_fitting:9201) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: Selecting pipe A
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1366, height=768, format=0x34325258, tiling=0x0, size=0)
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=5504)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.0: plane_set_fb(99)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: commit {
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe A, fb 99, src (0, 0), mode 1366x768
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_panel_fitting:9201) igt-kms-DEBUG: display: }
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: set_pipe(A)
(kms_panel_fitting:9201) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: Selecting pipe A
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1366, height=768, format=0x34325258, tiling=0x0, size=0)
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=5504)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.0: plane_set_fb(85)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: commit {
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe A, fb 85, src (0, 0), mode 1366x768
(kms_panel_fitting:9201) igt-kms-DEBUG: display: }
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: set_pipe(A)
(kms_panel_fitting:9201) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: Selecting pipe A
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1366, height=768, format=0x34325258, tiling=0x0, size=0)
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=5504)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.0: plane_set_fb(85)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: commit {
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe A, fb 85, src (0, 0), mode 1366x768
(kms_panel_fitting:9201) igt-kms-DEBUG: display: }
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: set_pipe(A)
(kms_panel_fitting:9201) igt-kms-DEBUG: Broadcast RGB property not found on 57
(kms_panel_fitting:9201) igt-kms-DEBUG: display: LVDS-1: Selecting pipe A
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1366, height=768, format=0x34325258, tiling=0x0, size=0)
(kms_panel_fitting:9201) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=5504)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.0: plane_set_fb(85)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: commit {
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     LVDS-1: SetCrtc pipe A, fb 85, src (0, 0), mode 1366x768
(kms_panel_fitting:9201) igt-kms-DEBUG: display: }
(kms_panel_fitting:9201) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.1: plane_set_fb(98)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.1: fb_set_position(100,100)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.1: fb_set_size(1720x880)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.1: plane_set_position(100,100)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: A.1: plane_set_size (1166x568)
(kms_panel_fitting:9201) igt-kms-DEBUG: display: commit {
(kms_panel_fitting:9201) igt-kms-DEBUG: display:     SetPlane A.1, fb 98, src = (100, 100) 1720x880 dst = (100, 100) 1166x568
(kms_panel_fitting:9201) igt-kms-CRITICAL: Test assertion failure function igt_drm_plane_commit, file igt_kms.c:2245:
(kms_panel_fitting:9201) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_panel_fitting:9201) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_panel_fitting:9201) igt-kms-CRITICAL: error: -22 != 0
(kms_panel_fitting:9201) igt-core-INFO: Stack trace:
(kms_panel_fitting:9201) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_panel_fitting:9201) igt-core-INFO:   #1 [do_display_commit+0xa7c]
(kms_panel_fitting:9201) igt-core-INFO:   #2 [<unknown>+0xa7c]
****  END  ****
Subtest legacy: FAIL (1.932s)
Comment 5 Octavio 2017-12-13 21:21:11 UTC
Th
Comment 6 Octavio 2017-12-13 21:21:56 UTC
The following test fail on BXT QA

igt@kms_plane_scaling

	
IGT-Version: 1.20-g39ac6b8 (x86_64) (Linux: 4.15.0-rc2-drm-intel-qa-ww49-commit-bdf9b36+ x86_6
Comment 7 Hector Velazquez 2017-12-13 21:37:06 UTC
This test are failing on CNL QA

igt@kms_ccs@pipe-C-crc-primary-basic
igt@kms_ccs@pipe-C-crc-primary-rotation-180

using IGT-Version: 1.20-g7440741 (x86_64) (Linux: 4.15.0-rc3-drm-tip-ww50-commit-62d9383+ x86_64)
intel-gpu-tools commit: 74407418720ff7a9de7caabec05d4c3afe9a5c51

kms_ccs:2037) CRITICAL: Test assertion failure function try_config, file kms_ccs.c:439:
(kms_ccs:2037) CRITICAL: Failed assertion: ret == 0
(kms_ccs:2037) CRITICAL: Last errno: 22, Invalid argument
(kms_ccs:2037) CRITICAL: error: -22 != 0
Subtest pipe-C-crc-primary-basic failed.
Comment 8 Octavio 2017-12-14 21:17:04 UTC
This test are failing on GLK QA

igt@kms_ccs@pipe-C-crc-primary-basic
igt@kms_ccs@pipe-C-crc-primary-rotation-180

using IGT-Version: 1.20-g103af72 (x86_64) (Linux: 4.15.0-rc3-drm-tip-ww50-commit-b00330d+ x86_64)

(kms_ccs:2145) CRITICAL: Test assertion failure function try_config, file kms_ccs.c:439:
(kms_ccs:2145) CRITICAL: Failed assertion: ret == 0
(kms_ccs:2145) CRITICAL: Last errno: 22, Invalid argument
(kms_ccs:2145) CRITICAL: error: -22 != 0
Subtest pipe-C-crc-primary-basic failed.
Comment 9 Hector Velazquez 2017-12-15 15:18:53 UTC
This tests continue failing on BXT QA

igt@kms_plane_scaling

IGT-Version: 1.20-g7440741 (x86_64) (Linux: 4.15.0-rc3-drm-intel-qa-ww50-commit-f49a922+ x86_64)

(kms_plane_scaling:4200) igt-kms-CRITICAL: Test assertion failure function igt_drm_plane_commit, file igt_kms.c:2299:
(kms_plane_scaling:4200) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_plane_scaling:4200) igt-kms-CRITICAL: Last errno: 28, No space left on device
(kms_plane_scaling:4200) igt-kms-CRITICAL: error: -28 != 0
Test kms_plane_scaling failed.
Comment 10 Octavio 2017-12-19 15:54:42 UTC
This tests continue failing on GLK 

igt@kms_ccs@pipe-C-crc-primary-basic
igt@kms_ccs@pipe-C-crc-primary-rotation-180

using IGT-Version: 1.20-gc0be331 (x86_64) (Linux: 4.15.0-rc4-drm-intel-qa-ww51-commit-bf5cdf9+ x86_64)

(kms_ccs:2489) CRITICAL: Test assertion failure function try_config, file kms_ccs.c:439:
(kms_ccs:2489) CRITICAL: Failed assertion: ret == 0
(kms_ccs:2489) CRITICAL: Last errno: 22, Invalid argument
(kms_ccs:2489) CRITICAL: error: -22 != 0
Subtest pipe-C-crc-primary-rotation-180 failed.
Comment 11 Octavio 2017-12-21 21:57:42 UTC
The following test fails on BXT QA

igt@kms_plane_scaling

using IGT-Version: 1.20-gbeb26d8 (x86_64) (Linux: 4.15.0-rc4-drm-intel-qa-ww51-commit-b480e79+ x86_64)

	
(kms_plane_scaling:3179) igt-kms-CRITICAL: Test assertion failure function igt_drm_plane_commit, file igt_kms.c:2299:
(kms_plane_scaling:3179) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_plane_scaling:3179) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_plane_scaling:3179) igt-kms-CRITICAL: error: -22 != 0
Test kms_plane_scaling failed.
Comment 12 Hector Velazquez 2018-01-05 16:17:06 UTC
This tests has a fail on CFL QA 

Tests List:

igt@kms_vblank@query-busy

igt@kms_plane@plane-position-covered-pipe-B-planes

igt@kms_pipe_crc_basic@nonblocking-crc-pipe-B-frame-sequence

igt@kms_mmap_write_crc

======================================
        output sample
======================================
**** DEBUG ****
(kms_plane:13327) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_plane:13327) igt-kms-DEBUG: display: eDP-1: set_pipe(B)
(kms_plane:13327) igt-kms-DEBUG: display: eDP-1: Selecting pipe B
(kms_plane:13327) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_fb(119)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_size (1920x1080)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_position(0,0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_size(1920x1080)
(kms_plane:13327) igt-kms-DEBUG: display: commit {
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 0
(kms_plane:13327) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 1
(kms_plane:13327) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_plane:13327) igt-kms-DEBUG: display:     SetProp plane A.1 "rotation" to 0x1/1
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe A, plane 2
(kms_plane:13327) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_plane:13327) igt-kms-DEBUG: display:     MoveCursor pipe A, (0, 0)
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 0
(kms_plane:13327) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe B, fb 119, src (0, 0), mode 1920x1080
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 1
(kms_plane:13327) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_plane:13327) igt-kms-DEBUG: display:     SetProp plane B.1 "rotation" to 0x1/1
(kms_plane:13327) igt-kms-DEBUG: display:     Fixing up initial rotation pipe B, plane 2
(kms_plane:13327) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_plane:13327) igt-kms-DEBUG: display:     MoveCursor pipe B, (0, 0)
(kms_plane:13327) igt-kms-DEBUG: display: }
(kms_plane:13327) DEBUG: Test requirement passed: !(ret != 0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_fb(0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_size (0x0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_position(0,0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_size(0x0)
(kms_plane:13327) igt-kms-DEBUG: display: commit {
(kms_plane:13327) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_plane:13327) igt-kms-DEBUG: display: }
(kms_plane:13327) DEBUG: CRC for a (0.00,1.00,0.00) fb: d30a1687 00000000 00000000 00000000 00000000
(kms_plane:13327) INFO: Testing connector eDP-1 using pipe B plane 1
(kms_plane:13327) igt-kms-DEBUG: display: eDP-1: set_pipe(B)
(kms_plane:13327) igt-kms-DEBUG: display: eDP-1: Selecting pipe B
(kms_plane:13327) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_plane:13327) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_fb(114)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: plane_set_size (1920x1080)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_position(0,0)
(kms_plane:13327) igt-kms-DEBUG: display: B.0: fb_set_size(1920x1080)
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x0, size=0)
(kms_plane:13327) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256)
(kms_plane:13327) igt-kms-DEBUG: display: B.1: plane_set_fb(117)
(kms_plane:13327) igt-kms-DEBUG: display: B.1: plane_set_size (64x64)
(kms_plane:13327) igt-kms-DEBUG: display: B.1: fb_set_position(0,0)
(kms_plane:13327) igt-kms-DEBUG: display: B.1: fb_set_size(64x64)
(kms_plane:13327) igt-kms-DEBUG: display: B.1: plane_set_position(100,100)
(kms_plane:13327) igt-kms-DEBUG: display: commit {
(kms_plane:13327) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe B, fb 114, src (0, 0), mode 1920x1080
(kms_plane:13327) igt-kms-CRITICAL: Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:2442:
(kms_plane:13327) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_plane:13327) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_plane:13327) igt-kms-CRITICAL: error: -22 != 0
(kms_plane:13327) igt-core-INFO: Stack trace:
(kms_plane:13327) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_plane:13327) igt-core-INFO:   #1 [do_display_commit+0xd5b]
(kms_plane:13327) igt-core-INFO:   #2 [<unknown>+0xd5b]
****  END  ****

This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-42-g831036a
    commit: 831036a6f62005da9fb4a75fe043bd96ce672d27

Component: cairo
    tag: 1.15.8-76-g6b05938
    commit: 6b0593827b072abd701ea47448981bcc9bdde9f3

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-261-gd86d53b
    commit: d86d53b072b50172309abf21ecb521bd70c5fc73

Component: piglit
    tag: piglit-v1
    commit: 75ba8aea0e6eff0bc30821df9640ee4053dd98b6

======================================
	     Software
======================================
IGT-Version: 1.20-gd86d53b (x86_64) (Linux: 4.15.0-rc5-drm-tip-config-intel-turbo-ww1-commit-16432d3+ x86_64)
Comment 13 Hector Velazquez 2018-02-09 21:00:20 UTC
This test was failing on GLK QA 

Tests List:

igt@kms_atomic_transition@plane-all-modeset-transition
igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels

IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-tip-ww6-commit-078873d+ x86_64)

======================================
        output sample
======================================
. . .
**** DEBUG ****
    populating plane data: A.4, fb 136
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_W" to 0x1000000/16777216
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_H" to 0x1000000/16777216
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_W" to 0x100/256
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_H" to 0x100/256
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "FB_ID" to 0x88/136
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display: }
(kms_atomic_transition:1395) igt-kms-DEBUG: display: DP-1: set_pipe(A)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: DP-1: Selecting pipe A
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: plane_set_fb(0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: plane_set_size (0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: fb_set_size(0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: plane_set_fb(0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: plane_set_size (0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: fb_set_size(0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: plane_set_fb(0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: plane_set_size (0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: fb_set_size(0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: plane_set_fb(0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: plane_set_size (0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: fb_set_size(0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: plane_set_fb(0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: plane_set_size (0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: fb_set_size(0x0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: commit {
(kms_atomic_transition:1395) igt-kms-DEBUG: Pipe A: Setting property "MODE_ID" to 0x95/149
(kms_atomic_transition:1395) igt-kms-DEBUG: Pipe A: Setting property "ACTIVE" to 0x1/1
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.0, fb 0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "FB_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "FB_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.2, fb 0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "FB_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.3, fb 0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "FB_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.4, fb 0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_W" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_H" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "FB_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_ID" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: A
(kms_atomic_transition:1395) igt-kms-DEBUG: DP-1: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display: }
(kms_atomic_transition:1395) DEBUG: Retrieved vblank seq: 9806 on unk
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: plane_set_fb(141)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.0: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: plane_set_fb(147)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.1: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: plane_set_fb(147)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.2: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: plane_set_fb(147)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: fb_set_size(1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.3: plane_set_size (1920x1200)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: plane_set_fb(136)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: plane_set_size (256x256)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: fb_set_position(0,0)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: fb_set_size(256x256)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: fb_set_size(256x256)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: A.4: plane_set_size (256x256)
(kms_atomic_transition:1395) igt-kms-DEBUG: display: commit {
(kms_atomic_transition:1395) igt-kms-DEBUG: Pipe A: Setting property "MODE_ID" to 0x61/97
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.0, fb 141
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_W" to 0x7800000/125829120
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "SRC_H" to 0x4b00000/78643200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_W" to 0x780/1920
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_H" to 0x4b0/1200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "FB_ID" to 0x8d/141
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.0: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.1, fb 147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_W" to 0x7800000/125829120
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "SRC_H" to 0x4b00000/78643200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_W" to 0x780/1920
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_H" to 0x4b0/1200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "FB_ID" to 0x93/147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.1: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.2, fb 147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_W" to 0x7800000/125829120
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "SRC_H" to 0x4b00000/78643200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_W" to 0x780/1920
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_H" to 0x4b0/1200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "FB_ID" to 0x93/147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.2: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.3, fb 147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_W" to 0x7800000/125829120
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "SRC_H" to 0x4b00000/78643200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_W" to 0x780/1920
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_H" to 0x4b0/1200
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "FB_ID" to 0x93/147
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.3: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display:     populating plane data: A.4, fb 136
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_X" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_Y" to 0x0/0
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_W" to 0x1000000/16777216
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "SRC_H" to 0x1000000/16777216
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_W" to 0x100/256
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_H" to 0x100/256
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "FB_ID" to 0x88/136
(kms_atomic_transition:1395) igt-kms-DEBUG: plane A.4: Setting property "CRTC_ID" to 0x2b/43
(kms_atomic_transition:1395) igt-kms-DEBUG: display: }
(kms_atomic_transition:1395) igt-kms-CRITICAL: Test assertion failure function igt_display_commit_atomic, file igt_kms.c:3064:
(kms_atomic_transition:1395) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_atomic_transition:1395) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_atomic_transition:1395) igt-kms-CRITICAL: error: -22 != 0
(kms_atomic_transition:1395) igt-core-INFO: Stack trace:
(kms_atomic_transition:1395) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_atomic_transition:1395) igt-core-INFO:   #1 [igt_display_commit_atomic+0x44]
(kms_atomic_transition:1395) igt-core-INFO:   #2 [run_transition_test+0x83c]
(kms_atomic_transition:1395) igt-core-INFO:   #3 [__real_main848+0x95d]
(kms_atomic_transition:1395) igt-core-INFO:   #4 [main+0x23]
(kms_atomic_transition:1395) igt-core-INFO:   #5 [__libc_start_main+0xf0]
(kms_atomic_transition:1395) igt-core-INFO:   #6 [_start+0x29]
(kms_atomic_transition:1395) igt-core-INFO:   #7 [<unknown>+0x29]
****  END  ****
. . .
Comment 14 Octavio 2018-02-12 22:11:22 UTC
This test was failing on CFL QA 

Tests List:

igt@kms_atomic_transition@plane-all-modeset-transition
igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)

(kms_atomic_transition:2706) igt-kms-CRITICAL: Test assertion failure function igt_display_commit_atomic, file igt_kms.c:3064:
(kms_atomic_transition:2706) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_atomic_transition:2706) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_atomic_transition:2706) igt-kms-CRITICAL: error: -22 != 0
Subtest plane-all-modeset-transition failed.
Comment 15 Hector Velazquez 2018-02-28 18:34:57 UTC
This tests continue failing on IVB QA 

Tests List:
igt@kms_panel_fitting@legacy

output sample:
(kms_panel_fitting:19195) igt-kms-CRITICAL: Test assertion failure function igt_drm_plane_commit, file igt_kms.c:2355:
(kms_panel_fitting:19195) igt-kms-CRITICAL: Failed assertion: ret == 0
(kms_panel_fitting:19195) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_panel_fitting:19195) igt-kms-CRITICAL: error: -22 != 0
Subtest legacy failed.

This tests has skipped on IVB QA 
Tests List:
igt@kms_plane_scaling@(all subtests)


This tests has skipped on GLK/CFL QA 
Tests List:
igt@kms_ccs@pipe-C-crc-primary-basic 
igt@kms_ccs@pipe-C-crc-primary-rotation-180
igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels

This tests has pass successfully on GLK/CFL QA 
Tests List:
igt@kms_vblank@query-busy
igt@kms_plane@plane-position-covered-pipe-B-planes
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-B-frame-sequence
igt@kms_mmap_write_crc
igt@kms_atomic_transition@plane-all-modeset-transition

software:
IGT-Version: 1.21-g1fb30f1 (x86_64) (Linux: 4.16.0-rc2-drm-intel-qa-ww8-commit-562dc33+ x86_64)

(removing BXT/CNL/CFL/GLK from the platform list, verified as fixed in last executions on BXT/CNL/CFL/GLK)
Comment 16 Jani Saarinen 2018-03-29 07:11:16 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 17 Elizabeth 2018-04-06 21:31:38 UTC
This seems to have been fixed:

Results for igt@kms_panel_fitting@legacy
Result: pass

Out	
IGT-Version: 1.22-g2e92134 (x86_64) (Linux: 4.16.0-rc5-drm-intel-qa-ww11-commit-e867298+ x86_64)
Subtest legacy: SUCCESS (8.605s)


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.