From 2887d06e3b575d1f81bf60b2ee83329741309e85 Mon Sep 17 00:00:00 2001 From: Tejal Kudav Date: Mon, 9 Aug 2021 12:39:50 +0000 Subject: [PATCH] gpu: nvgpu: Disable debugger print Debugger not being attached is not fatal condition, so convert the print to indicate that debugger is not attached into a conditional print using log_mask bit(gpu_dbg_gpu_dbg). Change-Id: I8fcf58f320b5459cb206d25dfac21b1dbe5e4bb2 Signed-off-by: Tejal Kudav Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2573123 Reviewed-by: Deepak Nibade Reviewed-by: svc_kernel_abi Reviewed-by: mobile promotions Tested-by: Mark Mendez Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/hal/gr/gr/gr_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/hal/gr/gr/gr_gv11b.c b/drivers/gpu/nvgpu/hal/gr/gr/gr_gv11b.c index 11f3cec05..75493ad1a 100644 --- a/drivers/gpu/nvgpu/hal/gr/gr/gr_gv11b.c +++ b/drivers/gpu/nvgpu/hal/gr/gr/gr_gv11b.c @@ -995,7 +995,7 @@ bool gv11b_gr_sm_debugger_attached(struct gk20a *g) for (sm = 0U; sm < sm_per_tpc; sm++) { if (!gv11b_gr_single_sm_debugger_attached(g, gpc, tpc, sm)) { - nvgpu_err(g, + nvgpu_log(g, gpu_dbg_gpu_dbg, "gpc(%d) tpc(%d) sm(%d) debugger NOT attached, " , gpc, tpc, sm); return false;