diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-07-01 14:33:39 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-07-03 10:51:42 -0400 |
commit | 4cc1457703462f3743c05a866690d1748e7bd8e8 (patch) | |
tree | 382cdc8d20d92628fc60c47efc6bd61dcbed4107 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | e7ba93fefbc4df9663302d240f9fbd5967a75a3c (diff) |
gpu: nvgpu: Move clk bypass div code to clk init
Clock bypass divider was changed just before resetting priv ring.
Move the code to a new clk op instead so that it is executed only on
gk20a.
Change-Id: Ic8084a4a5fac23770f50b50f910ced2543ba0f28
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/764970
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index fc2ed643..72f1178b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -392,6 +392,7 @@ struct gpu_ops { | |||
392 | bool fecsbootstrapdone; | 392 | bool fecsbootstrapdone; |
393 | } pmu; | 393 | } pmu; |
394 | struct { | 394 | struct { |
395 | void (*disable_slowboot)(struct gk20a *g); | ||
395 | int (*init_clk_support)(struct gk20a *g); | 396 | int (*init_clk_support)(struct gk20a *g); |
396 | int (*suspend_clk_support)(struct gk20a *g); | 397 | int (*suspend_clk_support)(struct gk20a *g); |
397 | } clk; | 398 | } clk; |