drm/i915/selftests: Use correct selfest calls for live tests
This will help in an upcoming patch where the live selftest wrappers are extended to do more. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: John Harrison <john.c.harrison@Intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220817020511.2180747-2-alan.previn.teres.alexis@intel.com
This commit is contained in:
parent
f922fbb0f2
commit
61faec5fa6
@ -434,5 +434,5 @@ int i915_gem_coherency_live_selftests(struct drm_i915_private *i915)
|
||||
SUBTEST(igt_gem_coherency),
|
||||
};
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
@ -476,5 +476,5 @@ int i915_gem_dmabuf_live_selftests(struct drm_i915_private *i915)
|
||||
SUBTEST(igt_dmabuf_import_same_driver_lmem_smem),
|
||||
};
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
@ -1844,5 +1844,5 @@ int i915_gem_mman_live_selftests(struct drm_i915_private *i915)
|
||||
SUBTEST(igt_mmap_gpu),
|
||||
};
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
@ -95,5 +95,5 @@ int i915_gem_object_live_selftests(struct drm_i915_private *i915)
|
||||
SUBTEST(igt_gem_huge),
|
||||
};
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
@ -2324,5 +2324,5 @@ int i915_gem_gtt_live_selftests(struct drm_i915_private *i915)
|
||||
|
||||
GEM_BUG_ON(offset_in_page(to_gt(i915)->ggtt->vm.total));
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
@ -431,7 +431,7 @@ int i915_perf_live_selftests(struct drm_i915_private *i915)
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = i915_subtests(tests, i915);
|
||||
err = i915_live_subtests(tests, i915);
|
||||
|
||||
destroy_empty_config(&i915->perf);
|
||||
|
||||
|
@ -1821,7 +1821,7 @@ int i915_request_live_selftests(struct drm_i915_private *i915)
|
||||
if (intel_gt_is_wedged(to_gt(i915)))
|
||||
return 0;
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
||||
static int switch_to_kernel_sync(struct intel_context *ce, int err)
|
||||
|
@ -1103,5 +1103,5 @@ int i915_vma_live_selftests(struct drm_i915_private *i915)
|
||||
SUBTEST(igt_vma_remapped_gtt),
|
||||
};
|
||||
|
||||
return i915_subtests(tests, i915);
|
||||
return i915_live_subtests(tests, i915);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user