[PATCH 13/13] [DEBUG] dump stolen region
Robert Beckett
bob.beckett at collabora.com
Thu Jun 23 17:52:39 UTC 2022
---
drivers/gpu/drm/i915/gt/selftest_reset.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/selftest_reset.c b/drivers/gpu/drm/i915/gt/selftest_reset.c
index 6ec15b1a9fcd..dbed820e2a32 100644
--- a/drivers/gpu/drm/i915/gt/selftest_reset.c
+++ b/drivers/gpu/drm/i915/gt/selftest_reset.c
@@ -157,6 +157,7 @@ __igt_reset_stolen(struct intel_gt *gt,
u32 x;
bool busy;
struct ttm_resource_dbg dbg;
+ struct drm_printer p = drm_debug_printer("BOB_DEBUG: ");
ggtt->vm.insert_page(&ggtt->vm, dma,
ggtt->error_capture.start,
@@ -203,7 +204,8 @@ __igt_reset_stolen(struct intel_gt *gt,
__func__,
orig_busy[page].busy,
orig_busy[page].err);
-
+ pr_debug("BOB_DEBUG: %s(): STOLEN DUMP:\n", __func__);
+ intel_memory_region_debug(gt->i915->mm.stolen_region, &p);
}
max = page;
}
--
2.25.1
More information about the Intel-gfx-trybot
mailing list