diff options
author | Kevin Huang <kevinh@nvidia.com> | 2014-05-09 14:41:26 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:06 -0400 |
commit | 1d9eba07c58b0a30f479b233371c939180a0e419 (patch) | |
tree | 1b4081a723834d8b295a147e85f6d7b7b205a88c /drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |
parent | 5cd313e20221c93008f1d56ac223d6e08966505e (diff) |
gpu: nvgpu: add HAL for regops
Bug 1500195
Change-Id: I5545d1a95a58e7daa5a74cc20f3fc6828774fc42
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/488507
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@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 1b8157f1..218491ea 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "mm_gk20a.h" | 25 | #include "mm_gk20a.h" |
26 | #include "pmu_gk20a.h" | 26 | #include "pmu_gk20a.h" |
27 | #include "clk_gk20a.h" | 27 | #include "clk_gk20a.h" |
28 | #include "regops_gk20a.h" | ||
28 | 29 | ||
29 | struct gpu_ops gk20a_ops = { | 30 | struct gpu_ops gk20a_ops = { |
30 | .clock_gating = { | 31 | .clock_gating = { |
@@ -53,6 +54,7 @@ int gk20a_init_hal(struct gpu_ops *gops) | |||
53 | gk20a_init_mm(gops); | 54 | gk20a_init_mm(gops); |
54 | gk20a_init_pmu_ops(gops); | 55 | gk20a_init_pmu_ops(gops); |
55 | gk20a_init_clk_ops(gops); | 56 | gk20a_init_clk_ops(gops); |
57 | gk20a_init_regops(gops); | ||
56 | gops->name = "gk20a"; | 58 | gops->name = "gk20a"; |
57 | 59 | ||
58 | return 0; | 60 | return 0; |