[PATCH 14/16] [DEBUG] replace pr_debug with pr_info

Robert Beckett bob.beckett at collabora.com
Mon Jun 27 13:17:11 UTC 2022


WTF? why would the drm_printer's drm_debug messages appear but not the
explicit calls?!
gah! just change to pr_info for now.
---
 drivers/gpu/drm/i915/gt/selftest_reset.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/selftest_reset.c b/drivers/gpu/drm/i915/gt/selftest_reset.c
index 9ac77134e2ae..31fd1d830c60 100644
--- a/drivers/gpu/drm/i915/gt/selftest_reset.c
+++ b/drivers/gpu/drm/i915/gt/selftest_reset.c
@@ -212,35 +212,35 @@ __igt_reset_stolen(struct intel_gt *gt,
 		busy = intel_region_ttm_range_busy_debug(gt->i915->mm.stolen_region,
 						   PFN_PHYS(page), PAGE_SIZE, &dbg);
 		if (x != crc[page] && !busy) {
-			pr_debug("unused stolen page %pa modified by GPU reset\n",
+			pr_info("unused stolen page %pa modified by GPU reset\n",
 				 &page);
 			if (count++ == 0) {
 				igt_hexdump(in, PAGE_SIZE);
-				pr_debug("BOB_DEBUG: %s(): orig:\n", __func__);
+				pr_info("BOB_DEBUG: %s(): orig:\n", __func__);
 				in = kmap(orig[page]);
 				igt_hexdump(in, PAGE_SIZE);
 				kunmap(orig[page]);
-				pr_debug("BOB_DEBUG: %s(): dbg.req={ start=0x%llx size=0x%llx end=0x%llx }\n",
+				pr_info("BOB_DEBUG: %s(): dbg.req={ start=0x%llx size=0x%llx end=0x%llx }\n",
 						__func__, dbg.req.start,
 						dbg.req.size, dbg.req.end);
-				pr_debug("BOB_DEBUG: %s(): dbg.res={ start=0x%lx num_pages=0x%lx mem_type=0x%x placement=0x%x }\n",
+				pr_info("BOB_DEBUG: %s(): dbg.res={ start=0x%lx num_pages=0x%lx mem_type=0x%x placement=0x%x }\n",
 						__func__, dbg.res.start,
 						dbg.res.num_pages,
 						dbg.res.mem_type,
 						dbg.res.placement);
-				pr_debug("BOB_DEBUG: %s(): orig_busy.req={ start=0x%llx size=0x%llx end=0x%llx }\n",
+				pr_info("BOB_DEBUG: %s(): orig_busy.req={ start=0x%llx size=0x%llx end=0x%llx }\n",
 						__func__, orig_busy[page].req.start,
 						orig_busy[page].req.size, orig_busy[page].req.end);
-				pr_debug("BOB_DEBUG: %s(): orig_busy.res={ start=0x%lx num_pages=0x%lx mem_type=0x%x placement=0x%x }\n",
+				pr_info("BOB_DEBUG: %s(): orig_busy.res={ start=0x%lx num_pages=0x%lx mem_type=0x%x placement=0x%x }\n",
 						__func__, orig_busy[page].res.start,
 						orig_busy[page].res.num_pages,
 						orig_busy[page].res.mem_type,
 						orig_busy[page].res.placement);
-				pr_debug("BOB_DEBUG: %s(): orig_busy.busy=%d orig_busy.err=%d\n",
+				pr_info("BOB_DEBUG: %s(): orig_busy.busy=%d orig_busy.err=%d\n",
 						__func__,
 						orig_busy[page].busy,
 						orig_busy[page].err);
-				pr_debug("BOB_DEBUG: %s(): STOLEN DUMP:\n", __func__);
+				pr_info("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