Skip to content

Commit

Permalink
drm/i915/selftests: Include the subsubtest name for live_parallel_eng…
Browse files Browse the repository at this point in the history
…ines

Include the name of the failing subsubtest, should it fails.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191123191547.925360-1-chris@chris-wilson.co.uk
  • Loading branch information
Chris Wilson committed Nov 23, 2019
1 parent 9acc99d commit 3b054a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/gpu/drm/i915/selftests/i915_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,10 +1214,12 @@ static int live_parallel_engines(void *arg)
return -ENOMEM;

for (fn = func; !err && *fn; fn++) {
char name[KSYM_NAME_LEN];
struct igt_live_test t;
unsigned int idx;

err = igt_live_test_begin(&t, i915, __func__, "");
snprintf(name, sizeof(name), "%pS", fn);
err = igt_live_test_begin(&t, i915, __func__, name);
if (err)
break;

Expand Down

0 comments on commit 3b054a1

Please sign in to comment.