]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb8c5eaa0747a3edf4992b7b1cabd2fd785578cd
tree3872793f3575b0281e0c103a8b78f5204463bb97
parent17885ce3bfbbbc14f090ce8aeb28e1159f40afa5
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