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/css_gr_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/css_gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c index bb7c37bd..b4e2cb79 100644 --- a/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/css_gr_gv11b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GV11B Cycle stats snapshots support | 2 | * GV11B Cycle stats snapshots support |
3 | * | 3 | * |
4 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -148,7 +148,7 @@ int gv11b_css_hw_enable_snapshot(struct channel_gk20a *ch, | |||
148 | perf_pmasys_mem_block_target_lfb_f())); | 148 | perf_pmasys_mem_block_target_lfb_f())); |
149 | 149 | ||
150 | 150 | ||
151 | gk20a_dbg_info("cyclestats: buffer for hardware snapshots enabled\n"); | 151 | nvgpu_log_info(g, "cyclestats: buffer for hardware snapshots enabled\n"); |
152 | 152 | ||
153 | return 0; | 153 | return 0; |
154 | 154 | ||
@@ -186,7 +186,7 @@ void gv11b_css_hw_disable_snapshot(struct gr_gk20a *gr) | |||
186 | memset(&data->hw_memdesc, 0, sizeof(data->hw_memdesc)); | 186 | memset(&data->hw_memdesc, 0, sizeof(data->hw_memdesc)); |
187 | data->hw_snapshot = NULL; | 187 | data->hw_snapshot = NULL; |
188 | 188 | ||
189 | gk20a_dbg_info("cyclestats: buffer for hardware snapshots disabled\n"); | 189 | nvgpu_log_info(g, "cyclestats: buffer for hardware snapshots disabled\n"); |
190 | } | 190 | } |
191 | 191 | ||
192 | int gv11b_css_hw_check_data_available(struct channel_gk20a *ch, u32 *pending, | 192 | int gv11b_css_hw_check_data_available(struct channel_gk20a *ch, u32 *pending, |