drm/i915/selftests: use live_subtests for live_migrate
authorMatthew Auld <matthew.auld@intel.com>
Fri, 2 Dec 2022 12:28:43 +0000 (12:28 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Mon, 12 Dec 2022 09:56:49 +0000 (09:56 +0000)
commitf7f0ca5788d399e5e523c59fd119df359498864d
treec7d0a13f4e25d23214b940bd874a1f1ca20059aa
parent35168a6c4ed53db4f786858bac23b1474fd7d0dc
drm/i915/selftests: use live_subtests for live_migrate

Probably a good idea to do an igt_flush_test() at the end of each
subtest, just to be sure the previous work has been flushed and doesn't
somehow interfere with the current subtest.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris.p.wilson@intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202122844.428006-2-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/selftest_migrate.c