Commit 4eb37bf4 authored by Paulo Zanoni's avatar Paulo Zanoni

tests/pm_pc8: add gem-idle subtest

It's triggering WARNs and DRM_ERRORs on current drm-intel-nighly.
Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
parent 6f288749
......@@ -1376,6 +1376,17 @@ static void gem_execbuf_stress_subtest(int rounds, int wait_flags)
gem_close(drm_fd, handle);
}
/* When this test was written, it triggered WARNs and DRM_ERRORs on dmesg. */
static void gem_idle_subtest(void)
{
disable_all_screens(&ms_data);
igt_assert(wait_for_suspended());
sleep(5);
gem_quiescent_gpu(drm_fd);
}
int main(int argc, char *argv[])
{
int rounds = 50;
......@@ -1415,6 +1426,8 @@ int main(int argc, char *argv[])
gem_pread_subtest();
igt_subtest("gem-execbuf")
gem_execbuf_subtest();
igt_subtest("gem-idle")
gem_idle_subtest();
/* Misc */
igt_subtest("i2c")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment