diff options
author | David Nieto <dmartineznie@nvidia.com> | 2016-08-08 06:13:37 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:49 -0500 |
commit | d2b67f1ad606733a63d8261e36068e5bd1f96cdc (patch) | |
tree | ff04e59f649ac9fddafc16832f088670440660bc /drivers/gpu/nvgpu/gp106/hal_gp106.c | |
parent | 432017248e432df0619dc2df30f915a52634338f (diff) |
gpu: nvgpu: add debugfs to dump clocks
* Removed unused registers from headers
* Added counter based MCLK
* Removed hardcoding
JIRA DNVGPU-98
Change-Id: Idffcd7fc17024582b41c29371a2295df8f0c206b
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1204019
(cherry picked from commit 48dfa41a641c3adbc4d25a35f418cf73b08d5e8c)
Reviewed-on: http://git-master/r/1227264
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 822591ed..6c8ac7bc 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include "gm20b/gr_gm20b.h" | 37 | #include "gm20b/gr_gm20b.h" |
38 | #include "gm20b/fifo_gm20b.h" | 38 | #include "gm20b/fifo_gm20b.h" |
39 | #include "gm20b/pmu_gm20b.h" | 39 | #include "gm20b/pmu_gm20b.h" |
40 | #include "gm20b/clk_gm20b.h" | 40 | #include "gp106/clk_gp106.h" |
41 | 41 | ||
42 | #include "gp106/mm_gp106.h" | 42 | #include "gp106/mm_gp106.h" |
43 | #include "gp106/pmu_gp106.h" | 43 | #include "gp106/pmu_gp106.h" |
@@ -156,6 +156,7 @@ int gp106_init_hal(struct gk20a *g) | |||
156 | gp106_init_pmu_ops(gops); | 156 | gp106_init_pmu_ops(gops); |
157 | gk20a_init_debug_ops(gops); | 157 | gk20a_init_debug_ops(gops); |
158 | gk20a_init_dbg_session_ops(gops); | 158 | gk20a_init_dbg_session_ops(gops); |
159 | gp106_init_clk_ops(gops); | ||
159 | gp10b_init_regops(gops); | 160 | gp10b_init_regops(gops); |
160 | gp10b_init_cde_ops(gops); | 161 | gp10b_init_cde_ops(gops); |
161 | gk20a_init_tsg_ops(gops); | 162 | gk20a_init_tsg_ops(gops); |