[Intel-gfx] [PATCH 0/6] Fix the debugfs splat from mock selftests
Jason Ekstrand
jason at jlekstrand.net
Mon Jul 19 18:30:41 UTC 2021
This patch series fixes a miscellaneous collection of bugs that all add up
to all our mock selftests throwing dmesg warnings in CI. As can be seen
from "drm/i915: Always call i915_globals_exit() from i915_exit()", it's
especially fun since those warnings don't always show up in the selftests
but can show up in other random IGTs depending on test execution order.
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Jason Ekstrand (6):
drm/i915: Call i915_globals_exit() after i915_pmu_exit()
drm/i915: Call i915_globals_exit() if pci_register_device() fails
drm/i915: Always call i915_globals_exit() from i915_exit()
drm/ttm: Force re-init if ttm_global_init() fails
drm/ttm: Initialize debugfs from ttm_global_init()
drm/i915: Make the kmem slab for i915_buddy_block a global
drivers/gpu/drm/i915/i915_buddy.c | 44 ++++++++++++++++++++++-------
drivers/gpu/drm/i915/i915_buddy.h | 3 +-
drivers/gpu/drm/i915/i915_globals.c | 6 ++--
drivers/gpu/drm/i915/i915_pci.c | 33 +++++++++++++++++-----
drivers/gpu/drm/ttm/ttm_device.c | 14 +++++++++
drivers/gpu/drm/ttm/ttm_module.c | 4 ---
6 files changed, 80 insertions(+), 24 deletions(-)
--
2.31.1
More information about the Intel-gfx
mailing list