diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-06-17 08:30:15 +0200 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-06-17 15:23:11 +0200 |
commit | 94ce0d65076cda511da843ae1893c819948a215a (patch) | |
tree | 09945adfd129afc15cd5d685c1ff03765af4bbe7 /drivers/gpu/drm/i915/selftests/i915_perf_selftests.h | |
parent | drm/i915/gt: Pipelined clear (diff) | |
download | linux-94ce0d65076cda511da843ae1893c819948a215a.tar.xz linux-94ce0d65076cda511da843ae1893c819948a215a.zip |
drm/i915/gt: Setup a default migration context on the GT
Set up a default migration context on the GT and use it from the
selftests.
Add a perf selftest and make sure we exercise LMEM if available.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Co-developed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210617063018.92802-10-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_perf_selftests.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_perf_selftests.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_perf_selftests.h b/drivers/gpu/drm/i915/selftests/i915_perf_selftests.h index c2389f8a257d..5077dc3c3b8c 100644 --- a/drivers/gpu/drm/i915/selftests/i915_perf_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_perf_selftests.h @@ -17,5 +17,6 @@ */ selftest(engine_cs, intel_engine_cs_perf_selftests) selftest(request, i915_request_perf_selftests) +selftest(migrate, intel_migrate_perf_selftests) selftest(blt, i915_gem_object_blt_perf_selftests) selftest(region, intel_memory_region_perf_selftests) |