diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2016-06-28 13:34:15 -0400 |
---|---|---|
committer | Peter Daifuku <pdaifuku@nvidia.com> | 2016-07-30 14:29:20 -0400 |
commit | 38a59acc776c8ad5b7b5506d13a60712af7d5318 (patch) | |
tree | 4eeb2d238327e7c84e3915e1c50ae938c2e02b65 /drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |
parent | 92415fd36694c6c8dcfbcf1de2e7197d4f883451 (diff) |
gpu: nvgpu: move dbg_session_ops to gops
Move dbg_session_ops to gops for better code consistency
JIRA VFND-1905
Change-Id: I04a11d77dd8c26d9922e80e556822f80dd2bc36d
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: http://git-master/r/1192641
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal_gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c index e0479573..4da7ffad 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "therm_gk20a.h" | 31 | #include "therm_gk20a.h" |
32 | #include "hw_proj_gk20a.h" | 32 | #include "hw_proj_gk20a.h" |
33 | #include "tsg_gk20a.h" | 33 | #include "tsg_gk20a.h" |
34 | #include "dbg_gpu_gk20a.h" | ||
34 | 35 | ||
35 | static struct gpu_ops gk20a_ops = { | 36 | static struct gpu_ops gk20a_ops = { |
36 | .clock_gating = { | 37 | .clock_gating = { |
@@ -153,6 +154,7 @@ int gk20a_init_hal(struct gk20a *g) | |||
153 | gk20a_init_clk_ops(gops); | 154 | gk20a_init_clk_ops(gops); |
154 | gk20a_init_regops(gops); | 155 | gk20a_init_regops(gops); |
155 | gk20a_init_debug_ops(gops); | 156 | gk20a_init_debug_ops(gops); |
157 | gk20a_init_dbg_session_ops(gops); | ||
156 | gk20a_init_therm_ops(gops); | 158 | gk20a_init_therm_ops(gops); |
157 | gk20a_init_tsg_ops(gops); | 159 | gk20a_init_tsg_ops(gops); |
158 | gops->name = "gk20a"; | 160 | gops->name = "gk20a"; |