diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-01-22 17:25:16 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-01-27 12:53:31 -0500 |
commit | c43053761b4c74c584f22f31c3d8585df8c6d233 (patch) | |
tree | 23614c0144acf8d1b594d86f3717fe7ca1c7fc5d /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 8fb33d92b03b9ee2db421c69252822d09477cce5 (diff) |
gpu: nvgpu: add support for therm gate ctrl
During gpu init, therm gate control is required to
add delay cycles before clock gating.
Bug 1717152
Change-Id: Ifabc428cf7b49e49964dc994eba2c38af4aa1a91
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/936443
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@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 a58a1eed..b02d6111 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -414,6 +414,7 @@ struct gpu_ops { | |||
414 | } mm; | 414 | } mm; |
415 | struct { | 415 | struct { |
416 | int (*init_therm_setup_hw)(struct gk20a *g); | 416 | int (*init_therm_setup_hw)(struct gk20a *g); |
417 | int (*update_therm_gate_ctrl)(struct gk20a *g); | ||
417 | } therm; | 418 | } therm; |
418 | struct { | 419 | struct { |
419 | int (*prepare_ucode)(struct gk20a *g); | 420 | int (*prepare_ucode)(struct gk20a *g); |