<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][DRMTIP] igt@pm_backlight@fade_with_suspend - fail - Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107847#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][DRMTIP] igt@pm_backlight@fade_with_suspend - fail - Failed assertion: ({ typeof(0) _a = (0); typeof(val - tolerance) _b = (val - tolerance); _a > _b ? _a : _b; }) <= result"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107847">bug 107847</a>
from <span class="vcard"><a class="email" href="mailto:jani.nikula@intel.com" title="Jani Nikula <jani.nikula@intel.com>"> <span class="fn">Jani Nikula</span></a>
</span></b>
<pre>Should we do this?
diff --git a/tests/pm_backlight.c b/tests/pm_backlight.c
index 32808cdf6ca4..8d6a92c98004 100644
--- a/tests/pm_backlight.c
+++ b/tests/pm_backlight.c
@@ -184,6 +184,8 @@ test_fade_with_suspend(struct context *context,
igt_output_t *output)
igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
+ igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_ACTIVE));
+
test_fade(context);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>