Bug 103676 - [IGT] kms_psr_sink_crc subtest suspend_psr_exit failed with: rtcwake failed with 1
Summary: [IGT] kms_psr_sink_crc subtest suspend_psr_exit failed with: rtcwake failed w...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI 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-11-10 21:08 UTC by Hector Velazquez
Modified: 2018-01-05 17:11 UTC (History)
1 user (show)

See Also:
i915 platform: CFL
i915 features: display/PSR


Attachments
output (5.08 KB, text/plain)
2017-11-10 21:08 UTC, Hector Velazquez
no flags Details
dmesg -w (1.83 KB, text/plain)
2017-11-10 21:08 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2017-11-10 21:08:23 UTC
Created attachment 135380 [details]
output
Comment 1 Hector Velazquez 2017-11-10 21:08:29 UTC
This test are failing on CFL QA

igt@kms_psr_sink_crc@suspend_psr_exit

====================================================
Output Sample (same output)
====================================================
**** DEBUG ****
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_psr_sink_crc:14192) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_fb(0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_size (0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_size(0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: Test requirement passed: plane_idx >= 0 && plane_idx < pipe->n_planes
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_fb(0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_size (0x0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: fb_set_size(0x0)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=0)
(kms_psr_sink_crc:14192) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.2: plane_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: commit {
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     MoveCursor pipe A, (0, 0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCrtc pipe B, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     MoveCursor pipe B, (0, 0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: }
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_fb(99)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: plane_set_size (1920x1080)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_position(0,0)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: A.0: fb_set_size(1920x1080)
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: commit {
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display:     eDP-1: SetCrtc pipe A, fb 99, src (0, 0), mode 1920x1080
(kms_psr_sink_crc:14192) igt-kms-DEBUG: display: }
(kms_psr_sink_crc:14192) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_psr_sink_crc:14192) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_psr_sink_crc:14192) igt-core-INFO: [cmd] rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov  7 23:59:39 2017
(kms_psr_sink_crc:14192) igt-core-WARNING: [cmd] rtcwake: write error
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:809:
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Failed assertion: ret == 0
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_psr_sink_crc:14192) igt-aux-CRITICAL: rtcwake failed with 1
Check dmesg for further details.
(kms_psr_sink_crc:14192) igt-core-INFO: Stack trace:
(kms_psr_sink_crc:14192) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_psr_sink_crc:14192) igt-core-INFO:   #1 [igt_system_suspend_autoresume+0x5ae]
(kms_psr_sink_crc:14192) igt-core-INFO:   #2 [<unknown>+0x5ae]
****  END  ****

This is my configuration:

======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-85-gf3091ba
    commit: f3091bac21a963f1a3d8ce5db85c0f2b4acbeb49

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

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-470-gc8d1ea2
    commit: c8d1ea24d3bfaf11b223bbe22407aeca196d0d89

Component: piglit
    tag: piglit-v1
    commit: 81617842ba40efb295bda553763490412bf5d895

======================================
             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
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
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

======================================
             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 2 Hector Velazquez 2017-11-10 21:08:44 UTC
Created attachment 135381 [details]
dmesg -w
Comment 3 Hector Velazquez 2017-12-01 22:44:54 UTC
This test pass on CFL QA

igt@kms_psr_sink_crc@suspend_psr_exit

IGT-Version: 1.20-gac6739b (x86_64) (Linux: 4.15.0-rc1-drm-tip-ww48-commit-4faecf8+ x86_64)

Component: drm
    tag: libdrm-2.4.88-25-g1749d56
    commit: 1749d56ea00f350a74f662bdad82bcafa19889da

Component: cairo
    tag: 1.15.8-61-g84fc0ce
    commit: 84fc0ce91d1a57d20500f710abc0e17de82c67df

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-169-gac6739b
    commit: ac6739bcc7ee9682b40e7b7ac9625674fe3dc95e

Component: piglit
    tag: piglit-v1
    commit: f76ed7991c8afd597a5797c0965c1d696e34f408


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.