drm/i915/debugfs: hook up ttm_resource_manager_debug
authorMatthew Auld <matthew.auld@intel.com>
Thu, 19 Aug 2021 09:34:19 +0000 (10:34 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 20 Aug 2021 08:40:23 +0000 (09:40 +0100)
commit8c3363c67b885fe40f50a8010a0768c4fd1e4b95
tree3872793f3575b0281e0c103a8b78f5204463bb97
parent5359b745146aa596026addffd7843e1735db7bbd
drm/i915/debugfs: hook up ttm_resource_manager_debug

This should give a more complete view of the various bits of internal
resource manager state, for device local-memory.

v2(Thomas):
   - Move the region printing into a nice helper

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/20210819093419.295636-2-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_memory_region.c
drivers/gpu/drm/i915/intel_memory_region.h