diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-04-18 22:39:46 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-09 21:26:04 -0400 |
commit | dd739fcb039d51606e9a5454ec0aab17bcb01965 (patch) | |
tree | 806ba8575d146367ad1be00086ca0cdae35a6b28 /drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | |
parent | 7e66f2a63d4855e763fa768047dfc32f6f96b771 (diff) |
gpu: nvgpu: Remove gk20a_dbg* functions
Switch all logging to nvgpu_log*(). gk20a_dbg* macros are
intentionally left there because of use from other repositories.
Because the new functions do not work without a pointer to struct
gk20a, and piping it just for logging is excessive, some log messages
are deleted.
Change-Id: I00e22e75fe4596a330bb0282ab4774b3639ee31e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1704148
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c index db09016c..5dea7654 100644 --- a/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/dbg_gpu_gv11b.c | |||
@@ -57,7 +57,7 @@ int gv11b_perfbuf_enable_locked(struct gk20a *g, u64 offset, u32 size) | |||
57 | u32 inst_pa_page; | 57 | u32 inst_pa_page; |
58 | int err; | 58 | int err; |
59 | 59 | ||
60 | gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg, ""); | 60 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_gpu_dbg, " "); |
61 | err = gk20a_busy(g); | 61 | err = gk20a_busy(g); |
62 | if (err) { | 62 | if (err) { |
63 | nvgpu_err(g, "failed to poweron"); | 63 | nvgpu_err(g, "failed to poweron"); |
@@ -100,7 +100,7 @@ int gv11b_perfbuf_disable_locked(struct gk20a *g) | |||
100 | { | 100 | { |
101 | int err; | 101 | int err; |
102 | 102 | ||
103 | gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg, ""); | 103 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_gpu_dbg, " "); |
104 | err = gk20a_busy(g); | 104 | err = gk20a_busy(g); |
105 | if (err) { | 105 | if (err) { |
106 | nvgpu_err(g, "failed to poweron"); | 106 | nvgpu_err(g, "failed to poweron"); |