Bug 103522

Summary: [BAT][CI] igt@pm_rpm - Failed assertion: wait_for_suspended()
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: GLK i915 features: power/runtime PM

Description Marta Löfstedt 2017-10-31 06:54:38 UTC
from CI_DRM_3295 basically all pm_rpm subtests fail on all machines that doesn't skip   	

fail:
(pm_rpm:3750) CRITICAL: Test assertion failure function pci_d3_state_subtest, file pm_rpm.c:1336:
(pm_rpm:3750) CRITICAL: Failed assertion: wait_for_suspended()
Subtest basic-pci-d3-state failed.

example:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3295/fi-byt-j1900/igt@pm_rpm@basic-pci-d3-state.html
Comment 1 Marta Löfstedt 2017-10-31 07:41:21 UTC
Tested to revert:

commit 0cc2b4e5a020fc7f4d1795741c116c983e9467d7
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Tue Oct 24 15:20:45 2017 +0200

    PM / QoS: Fix device resume latency PM QoS

and the test pass on BDW.

https://patchwork.kernel.org/patch/10032147/

claim to be a fix and that it is already pushed to Linus.
Comment 2 Marta Löfstedt 2017-10-31 07:48:56 UTC
Also,
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3297/shard-apl4/igt@kms_flip@vblank-vs-modeset-rpm.html

(kms_flip:4417) CRITICAL: Test assertion failure function run_test_step, file kms_flip.c:855:
(kms_flip:4417) CRITICAL: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
(kms_flip:4417) CRITICAL: Last errno: 25, Inappropriate ioctl for device
Subtest vblank-vs-modeset-rpm failed.
Comment 3 Marta Löfstedt 2017-10-31 07:50:06 UTC
also,
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3297/shard-apl8/igt@kms_flip@vblank-vs-dpms-rpm.html

(kms_flip:1774) CRITICAL: Test assertion failure function run_test_step, file kms_flip.c:855:
(kms_flip:1774) CRITICAL: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
(kms_flip:1774) CRITICAL: Last errno: 25, Inappropriate ioctl for device
Subtest vblank-vs-dpms-rpm failed.
Comment 4 Marta Löfstedt 2017-10-31 07:51:43 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3297/shard-apl3/igt@kms_flip@vblank-vs-dpms-rpm-interruptible.html

(kms_flip:3839) CRITICAL: Test assertion failure function run_test_step, file kms_flip.c:855:
(kms_flip:3839) CRITICAL: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
(kms_flip:3839) CRITICAL: Last errno: 4, Interrupted system call
Subtest vblank-vs-dpms-rpm-interruptible failed.
Comment 5 Marta Löfstedt 2017-10-31 12:26:21 UTC
The issue is no longer reproduced since CI_DRM_3300.
Comment 6 Marta Löfstedt 2018-01-02 08:13:16 UTC
Happened again on CI_DRM_3548 GLK-shards:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3548/shard-glkb2/igt@pm_rpm@dpms-mode-unset-non-lpsp.html

(pm_rpm:5294) CRITICAL: Test assertion failure function dpms_mode_unset_subtest, file pm_rpm.c:1411:
(pm_rpm:5294) CRITICAL: Failed assertion: wait_for_suspended()
Subtest dpms-mode-unset-non-lpsp failed.

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3548/shard-glkb2/igt@pm_rpm@modeset-stress-extra-wait.html

(pm_rpm:5288) CRITICAL: Test assertion failure function modeset_subtest, file pm_rpm.c:758:
(pm_rpm:5288) CRITICAL: Failed assertion: wait_for_suspended()
Subtest modeset-stress-extra-wait failed.
Comment 7 Marta Löfstedt 2018-01-12 10:58:30 UTC
Note the new GLK thing is not a reproduction of the old thing. I will close this and file a new bug for the GLK thing.

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.