diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2018-05-03 00:08:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-07 07:42:02 -0400 |
commit | c92afad630f0539dfd2d28369d493715648b4ace (patch) | |
tree | cbcd80480693f6a7a9c7cc71366fa2bda74ed08b /drivers/gpu/nvgpu/include | |
parent | 6e739d924fe9b778fa82396e0e941143f498acb8 (diff) |
gpu: nvgpu: use nvgpu logging in clk arbiter
Clk arbiter uses the legacy gk20a_dbg_fn logging APIs.
Use nvgpu logging instead, while also defining a new
log mask for clk arbiter.
Jira VQRM-3741
Change-Id: I86feb4fa434b404705cc3fba1e854180d4df508d
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1707394
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/log.h b/drivers/gpu/nvgpu/include/nvgpu/log.h index 87ab17ee..e64c72f3 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/log.h +++ b/drivers/gpu/nvgpu/include/nvgpu/log.h | |||
@@ -79,6 +79,7 @@ void __nvgpu_log_dbg(struct gk20a *g, u64 log_mask, | |||
79 | #define gpu_dbg_sgl BIT(23) /* SGL related traces. */ | 79 | #define gpu_dbg_sgl BIT(23) /* SGL related traces. */ |
80 | #define gpu_dbg_vidmem BIT(24) /* VIDMEM tracing. */ | 80 | #define gpu_dbg_vidmem BIT(24) /* VIDMEM tracing. */ |
81 | #define gpu_dbg_nvlink BIT(25) /* nvlink Operation tracing. */ | 81 | #define gpu_dbg_nvlink BIT(25) /* nvlink Operation tracing. */ |
82 | #define gpu_dbg_clk_arb BIT(26) /* Clk arbiter debugging. */ | ||
82 | #define gpu_dbg_mem BIT(31) /* memory accesses; very verbose. */ | 83 | #define gpu_dbg_mem BIT(31) /* memory accesses; very verbose. */ |
83 | 84 | ||
84 | /** | 85 | /** |