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/gp106/hal_gp106.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/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 82cc36aa..6d3154e3 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -765,7 +765,7 @@ int gp106_init_hal(struct gk20a *g) | |||
765 | { | 765 | { |
766 | struct gpu_ops *gops = &g->ops; | 766 | struct gpu_ops *gops = &g->ops; |
767 | 767 | ||
768 | gk20a_dbg_fn(""); | 768 | nvgpu_log_fn(g, " "); |
769 | 769 | ||
770 | gops->bios = gp106_ops.bios; | 770 | gops->bios = gp106_ops.bios; |
771 | gops->ltc = gp106_ops.ltc; | 771 | gops->ltc = gp106_ops.ltc; |
@@ -828,7 +828,7 @@ int gp106_init_hal(struct gk20a *g) | |||
828 | 828 | ||
829 | g->name = "gp10x"; | 829 | g->name = "gp10x"; |
830 | 830 | ||
831 | gk20a_dbg_fn("done"); | 831 | nvgpu_log_fn(g, "done"); |
832 | 832 | ||
833 | return 0; | 833 | return 0; |
834 | } | 834 | } |