Bug 107708 - [BAT] PM tests - fail/warn - Failed to enable audio runtime PM!
Summary: [BAT] PM tests - fail/warn - Failed to enable audio runtime PM!
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 11:27 UTC by Martin Peres
Modified: 2018-09-07 15:43 UTC (History)
1 user (show)

See Also:
i915 platform: ALL
i915 features: display/audio


Attachments

Comment 1 Chris Wilson 2018-09-06 08:20:26 UTC
Warning suppressed,

commit 4fea665b29622baf1692e7f949fcfb8ed993fa36
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 31 14:56:48 2018 +0100

    lib/pm: Squelch warning for failing to enable audio powermanagement
Comment 2 Martin Peres 2018-09-07 15:39:11 UTC
(In reply to Chris Wilson from comment #1)
> Warning suppressed,
> 
> commit 4fea665b29622baf1692e7f949fcfb8ed993fa36
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Fri Aug 31 14:56:48 2018 +0100
> 
>     lib/pm: Squelch warning for failing to enable audio powermanagement

This definitely reduced the occurence rate of this issue, but we still got one of these:

https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4633/fi-glk-j4005/igt@pm_rpm@module-reload.html

(pm_rpm:4048) CRITICAL: Test assertion failure function assert_drm_connectors_equal, file ../tests/pm_rpm.c:507:
(pm_rpm:4048) CRITICAL: Failed assertion: c1->count_modes == c2->count_modes
(pm_rpm:4048) CRITICAL: error: 40 != 41
Subtest module-reload failed.
**** DEBUG ****
(pm_rpm:4048) DEBUG: Reload w/o display
(pm_rpm:4048) igt_kmod-DEBUG: Could not remove module drm_kms_helper (No such file or directory)
(pm_rpm:4048) igt_kmod-DEBUG: Could not remove module drm (No such file or directory)
(pm_rpm:4048) igt_kmod-INFO: Reloading i915 with disable_display=1 mmio_debug=-1

(pm_rpm:4048) DEBUG: Test requirement passed: drm_fd != -1
(pm_rpm:4048) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(pm_rpm:4048) DEBUG: Test requirement passed: debugfs != -1
(pm_rpm:4048) igt_kms-DEBUG: VT: graphics mode set (mode was 0x1)
(pm_rpm:4048) igt_pm-DEBUG: Failed to enable audio runtime PM! (3)

Closing anyways because it is so different than the original bug and this issue is anyway covered by https://bugs.freedesktop.org/show_bug.cgi?id=104767.
Comment 3 Chris Wilson 2018-09-07 15:43:03 UTC
(In reply to Martin Peres from comment #2)
> This definitely reduced the occurence rate of this issue, but we still got
> one of these:
> 
> https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4633/fi-glk-j4005/
> igt@pm_rpm@module-reload.html
> 
> (pm_rpm:4048) CRITICAL: Test assertion failure function
> assert_drm_connectors_equal, file ../tests/pm_rpm.c:507:
> (pm_rpm:4048) CRITICAL: Failed assertion: c1->count_modes == c2->count_modes
> (pm_rpm:4048) CRITICAL: error: 40 != 41

> Closing anyways because it is so different than the original bug and this
> issue is anyway covered by
> https://bugs.freedesktop.org/show_bug.cgi?id=104767.

I haven't even worked out what that test is trying to tell us. If it is just the number of modes, why should they remain constant across runtime-pm; it all depends on the external state coupled with how upset our HW is!


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.