gpu: nvgpu: gsp: move msg info logs to debug logs

Changes
- moved the message logs from info to gsp debug which can
be enabled on requirement.

Bug 4227016
Bug 4197632
Bug 4199856

Change-Id: I6067a9b37664d325d971ccc8e1a6c13c2d1b3bb7
Signed-off-by: vivekku <vivekku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2967169
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
This commit is contained in:
vivekku
2023-07-31 09:57:58 +00:00
committed by mobile promotions
parent 91ac1541a5
commit b426d710a2
4 changed files with 10 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ void nvgpu_gsp_sched_suspend(struct gk20a *g, struct nvgpu_gsp_sched *gsp_sched)
nvgpu_gsp_dbg(g, " ");
if (gsp == NULL) {
nvgpu_info(g, "GSP not initialized");
nvgpu_err(g, "GSP not initialized");
return;
}
@@ -222,7 +222,7 @@ int nvgpu_gsp_sched_bootstrap_hs(struct gk20a *g)
goto de_init;
}
nvgpu_info(g, "gsp scheduler bootstrapped.\n");
nvgpu_gsp_dbg(g, "gsp scheduler bootstrapped.\n");
return status;
de_init:
nvgpu_gsp_sched_sw_deinit(g);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -174,10 +174,10 @@ int nvgpu_gsp_process_message(struct gk20a *g)
break;
}
nvgpu_info(g, "read msg hdr: ");
nvgpu_info(g, "unit_id = 0x%08x, size = 0x%08x",
nvgpu_gsp_dbg(g, "read msg hdr: ");
nvgpu_gsp_dbg(g, "unit_id = 0x%08x, size = 0x%08x",
msg.hdr.unit_id, msg.hdr.size);
nvgpu_info(g, "ctrl_flags = 0x%08x, seq_id = 0x%08x",
nvgpu_gsp_dbg(g, "ctrl_flags = 0x%08x, seq_id = 0x%08x",
msg.hdr.ctrl_flags, msg.hdr.seq_id);
status = gsp_response_handle(gsp_sched, &msg);