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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 11 06:46:29 UTC 2019


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

harish.chegondi at intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #4 from harish.chegondi at intel.com ---
Analyzed the sequence of PM and backlight events in the dmesg log. From the
dmesg log, it appears that the test is setting and reading the backlight
brightness value even before the edp panel is turned on after system resume.

I made few changes to the test and ran some experimental tests. For example,
with the following change mentioned below, the backlight brightness is set and
read after the edp panel was turned on resulting in a successful test. It
appears that adding some delay after system resume might suffice allowing the
edp panel to be turned on before changing the brightness values. I need to find
out what might be a good amount of delay to add after system resume. Or, if
there is way to find if the edp panel is on or off, it can be used to make sure
the edp panel is on before setting/reading the backlight brightness value.

diff --git a/tests/i915/i915_pm_backlight.c b/tests/i915/i915_pm_backlight.c
 index 054300f6..094ac3fa 100644
— a/tests/i915/i915_pm_backlight.c
 +++ b/tests/i915/i915_pm_backlight.c
 @@ -183,7 +183,9 @@ test_fade_with_suspend(struct context *context,
igt_output_t *output)
         igt_require(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));

        igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
 -
 +       kmstest_set_connector_dpms(output->display->drm_fd,
 +                                  output->config.connector,
 +                                  DRM_MODE_DPMS_ON);
         test_fade(context);
  }

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


More information about the intel-gfx-bugs mailing list