summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2016-10-25 06:57:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-03 12:15:39 -0400
commit3ec909036af46fbe582c50e486beb2bded42b645 (patch)
tree5b652aed11d537462f1850d528fdc6e7058a17e5 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent8531eb6df14ac0a92d3ed44a4dedd5d283f24c5b (diff)
gpu: nvgpu: Add PMU thermal RPC for WARN_TEMP
Added PMU thermal slct RPC handling for WARN_TEMP threshold configuration. JIRA DNVGPU-130 Change-Id: I5011db5f08476516f72722e639838e968e7e60dd Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1242132 (cherry picked from commit 6e87a23ca04be435107da801c15f7b55a1f45e8b) Reviewed-on: http://git-master/r/1246211 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 43f673f5..7699cd53 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -969,6 +969,9 @@ struct gk20a {
969 /* PCIe power states. */ 969 /* PCIe power states. */
970 bool xve_l0s; 970 bool xve_l0s;
971 bool xve_l1; 971 bool xve_l1;
972
973 /* Current warning temp in sfxp24.8 */
974 s32 curr_warn_temp;
972}; 975};
973 976
974static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) 977static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g)