drm/i915/selftests: add back the selftest() hook for the buddy
authorMatthew Auld <matthew.auld@intel.com>
Fri, 18 Jun 2021 13:31:49 +0000 (14:31 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 18 Jun 2021 16:50:54 +0000 (17:50 +0100)
When we resurrected the selftest we forgot to add back the selftest()
hook, meaning the test is not currently run.

References: d148738923fd ("drm/i915/ttm Initialize the ttm device and memory managers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210618133150.700375-1-matthew.auld@intel.com
drivers/gpu/drm/i915/selftests/i915_mock_selftests.h

index 34e5caf..6759b56 100644 (file)
@@ -34,3 +34,4 @@ selftest(gtt, i915_gem_gtt_mock_selftests)
 selftest(hugepages, i915_gem_huge_page_mock_selftests)
 selftest(contexts, i915_gem_context_mock_selftests)
 selftest(memory_region, intel_memory_region_mock_selftests)
+selftest(buddy, i915_buddy_mock_selftests)