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 <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2573123
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Mark Mendez <mmendez@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Tejal Kudav
2021-08-09 12:39:50 +00:00
committed by mobile promotions
parent 524d222149
commit 2887d06e3b

View File

@@ -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;