diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-10-23 15:02:55 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-10-27 18:42:08 -0400 |
commit | 004a1880ed80f3b384cf3d0d37e0a58eff29fcaf (patch) | |
tree | b1f55beabeeb3b9a411ff609b7c6c4984aae40c6 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 057c6334f7f72071bc87a1793b688b34add7c681 (diff) |
gpu: nvgpu: update thermal programming
Add required fileds and values for thermal slow-down
settings in thermal header file and implemented chip
specific thermal register programming
Reviewed-on: http://git-master/r/822199
(cherry picked from commit 9e8a745b8295af002b9780c83caa8dc7b22cc737)
Change-Id: I016b18ed230fa6c104eada2e166ccd1a5f2ace36
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/823012
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 1cf90fbf..328bb73b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -388,6 +388,9 @@ struct gpu_ops { | |||
388 | u32 flags); | 388 | u32 flags); |
389 | } mm; | 389 | } mm; |
390 | struct { | 390 | struct { |
391 | int (*init_therm_setup_hw)(struct gk20a *g); | ||
392 | } therm; | ||
393 | struct { | ||
391 | int (*prepare_ucode)(struct gk20a *g); | 394 | int (*prepare_ucode)(struct gk20a *g); |
392 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); | 395 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); |
393 | int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu); | 396 | int (*pmu_nsbootstrap)(struct pmu_gk20a *pmu); |