Bug 99430 - [BXT][regression] Basic test kms_pipe_crc_basic@suspend-read-crc-pipe-A failing
Summary: [BXT][regression] Basic test kms_pipe_crc_basic@suspend-read-crc-pipe-A failing
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2017-01-16 19:24 UTC by Jairo Miramontes
Modified: 2017-07-24 22:39 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features:


Attachments
kms_pipe_crc_basic@suspend-read-crc-pipe-A (250.62 KB, text/plain)
2017-01-16 19:24 UTC, Jairo Miramontes
no flags Details

Description Jairo Miramontes 2017-01-16 19:24:19 UTC
Created attachment 128987 [details]
kms_pipe_crc_basic@suspend-read-crc-pipe-A

>Basic test [kms_pipe_crc_basic@suspend-read-crc-pipe-A] was passing
using the Kernel commit: 

=== Good commit
commit eb5c556a1e5eff388e48e4b7cf61e95783019e83
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jan 6 16:59:44 2017 +0000

    drm-tip: 2017y-01m-06d-16h-59m-26s UTC integration manifest
====


>It's now failing using the below configuration: 

==========Kernel==========
commit af723422378a6d17bd5b632880b195f8443445b5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Jan 14 16:21:29 2017 +0000

    drm-tip: 2017y-01m-14d-16h-21m-06s UTC integration manifest


Kernel version : 4.10.0-rc3-af72342
Architecture : source amd64 all

==========SOFTWARE==========
Component: drm
Url      : http://cgit.freedesktop.org/mesa/drm
Tag      : libdrm-2.4.74-25-g44f220a
Commit   : 44f220a
Author   : Dongwon Kim <dongwon.kim@intel.com>
Age      : 2 days ago

Component: cairo
Url      : http://cgit.freedesktop.org/cairo
Tag      : 1.15.4-4-gdd4706d
Commit   : dd4706d
Author   : Kouhei Sutou <kou@clear-code.com>
Age      : 12 days ago

Component: intel-gpu-tools
Url      : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
Tag      : intel-gpu-tools-1.17-115-g12e34d8
Commit   : 12e34d8
Author   : Mika Kahola <mika.kahola@intel.com>
Age      : 8 weeks ago

====================


>DEBUG info

Subtest suspend-read-crc-pipe-A failed.
**** DEBUG ****
(kms_pipe_crc_basic:2293) DEBUG: Test requirement passed: !(i >= data.display.n_pipes)
(kms_pipe_crc_basic:2293) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_pipe_crc_basic:2293) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_pipe_crc_basic:2293) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_pipe_crc_basic:2293) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_pipe_crc_basic:2293) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0
(kms_pipe_crc_basic:2293) DEBUG: Test requirement passed: !(pipe >= data->display.n_pipes)
(kms_pipe_crc_basic:2293) INFO: suspend-read-crc-pipe-A: Testing connector eDP-1 using pipe A
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: Selecting pipe A
(kms_pipe_crc_basic:2293) DEBUG: Clearing the fb with color (0.00,1.00,0.00)
(kms_pipe_crc_basic:2293) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_crc_basic:2293) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: A.0: plane_set_fb(53)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 53, src (0, 0), mode 1920x1080
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetPlane pipe A, plane 2, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetPlane pipe B, plane 2, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: }
(kms_pipe_crc_basic:2293) igt-debugfs-DEBUG: Using generic frame CRC ABI
(kms_pipe_crc_basic:2293) DEBUG: CRC for this fb: d30a1687 00000000 00000000 00000000 00000000
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: A.0: plane_set_fb(0)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: set_pipe(any)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: Selecting pipe A
(kms_pipe_crc_basic:2293) DEBUG: Clearing the fb with color (0.00,1.00,1.00)
(kms_pipe_crc_basic:2293) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_crc_basic:2293) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: A.0: plane_set_fb(53)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     eDP-1: Selecting pipe A
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 53, src (0, 0), mode 1920x1080
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: }
(kms_pipe_crc_basic:2293) igt-debugfs-DEBUG: Using generic frame CRC ABI
(kms_pipe_crc_basic:2293) DEBUG: CRC for this fb: 1224d6f1 00000000 00000000 00000000 00000000
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: A.0: plane_set_fb(0)
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: eDP-1: set_pipe(any)
(kms_pipe_crc_basic:2293) INFO: suspend-read-crc-pipe-A: Testing connector DP-1 using pipe A
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: DP-1: set_pipe(A)
(kms_pipe_crc_basic:2293) igt-kms-WARNING: connector 59/DP-1 has no modes
(kms_pipe_crc_basic:2293) igt-kms-DEBUG: display: DP-1: Selecting pipe A
(kms_pipe_crc_basic:2293) DEBUG: Clearing the fb with color (0.00,1.00,0.00)
(kms_pipe_crc_basic:2293) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=0, height=0, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_crc_basic:2293) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:508:
(kms_pipe_crc_basic:2293) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_pipe_crc_basic:2293) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_pipe_crc_basic:2293) igt-kms-CRITICAL: error: -1 != 0
****  END  ****


> Attached dmesg.log, used drm.debug=0xe
Comment 1 Jairo Miramontes 2017-01-17 17:09:22 UTC
This bug seems to be intermittent... it does pass after rebooting and re running  the test, bug may be closed
Comment 2 Jari Tahvanainen 2017-02-07 17:11:46 UTC
Changed resolved+fixed as stated by comment 1.


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.