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/vgpu/ltc_vgpu.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/vgpu/ltc_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c index d451a1f2..f68c8454 100644 --- a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | |||
@@ -31,7 +31,7 @@ int vgpu_determine_L2_size_bytes(struct gk20a *g) | |||
31 | { | 31 | { |
32 | struct vgpu_priv_data *priv = vgpu_get_priv_data(g); | 32 | struct vgpu_priv_data *priv = vgpu_get_priv_data(g); |
33 | 33 | ||
34 | gk20a_dbg_fn(""); | 34 | nvgpu_log_fn(g, " "); |
35 | 35 | ||
36 | return priv->constants.l2_size; | 36 | return priv->constants.l2_size; |
37 | } | 37 | } |
@@ -42,7 +42,7 @@ int vgpu_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
42 | u32 max_comptag_lines = 0; | 42 | u32 max_comptag_lines = 0; |
43 | int err; | 43 | int err; |
44 | 44 | ||
45 | gk20a_dbg_fn(""); | 45 | nvgpu_log_fn(g, " "); |
46 | 46 | ||
47 | gr->cacheline_size = priv->constants.cacheline_size; | 47 | gr->cacheline_size = priv->constants.cacheline_size; |
48 | gr->comptags_per_cacheline = priv->constants.comptags_per_cacheline; | 48 | gr->comptags_per_cacheline = priv->constants.comptags_per_cacheline; |
@@ -65,7 +65,7 @@ void vgpu_ltc_init_fs_state(struct gk20a *g) | |||
65 | { | 65 | { |
66 | struct vgpu_priv_data *priv = vgpu_get_priv_data(g); | 66 | struct vgpu_priv_data *priv = vgpu_get_priv_data(g); |
67 | 67 | ||
68 | gk20a_dbg_fn(""); | 68 | nvgpu_log_fn(g, " "); |
69 | 69 | ||
70 | g->ltc_count = priv->constants.ltc_count; | 70 | g->ltc_count = priv->constants.ltc_count; |
71 | } | 71 | } |