[Bug 107820] [CI][DRMTIP] igt at pm_backlight@* - incomplete - system hang?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 28 18:20:05 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=107820

harish.chegondi at intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anshuman.gupta at intel.com,
                   |                            |jani.nikula at intel.com

--- Comment #6 from harish.chegondi at intel.com ---
In order to get some more information to respond to Chris Wilson's comments to
the RFC patch, I made some more changes mentioned below to the test and ran the
test. The test passed with these changes. From the experimental test I conclude
that the system suspend is turning off the backlight and the system resume is
properly turning on the backlight. But when the DPMS is turned off before the
system suspend and resume, the DPMS off is turning off something that's
preventing the system resume from turning on the backlight. Now I am
investigating why turning off the DPMS is preventing the system resume from
turning on the backlight.

diff --git a/tests/i915/i915_pm_backlight.c b/tests/i915/i915_pm_backlight.c
index 054300f6..4c1bff5b 100644
--- a/tests/i915/i915_pm_backlight.c
+++ b/tests/i915/i915_pm_backlight.c
@@ -175,13 +175,6 @@ test_fade_with_dpms(struct context *context, igt_output_t
*output)
 static void
 test_fade_with_suspend(struct context *context, igt_output_t *output)
 {
-       igt_require(igt_setup_runtime_pm());
-
-       kmstest_set_connector_dpms(output->display->drm_fd,
-                                  output->config.connector,
-                                  DRM_MODE_DPMS_OFF);
-       igt_require(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
-
        igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);

        test_fade(context);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190328/f7354600/attachment.html>


More information about the intel-gfx-bugs mailing list