summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2016-09-02 07:01:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-11 16:44:45 -0400
commite8ba69e3837f20be0c8225d4bc9f3a9970f3f596 (patch)
treef30051264065fbcd5adf97de1a4ad1352d06c0dc /drivers/gpu/nvgpu/gk20a/gk20a.h
parentfda4ddfa79f3a78becfe44fd558974bd274c03a9 (diff)
gpu: nvgpu: gp10x: Add debugfs entry for temperature reading
Added current temperature reading support for gp10x. JIRA DNVGPU-48 Change-Id: If101a68a8a25d741ad5d3d79087142604d7da398 Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1213713 (cherry picked from commit 0048cfdb1b642be896da8300b29aaae9ba43a979) Reviewed-on: http://git-master/r/1234093 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 042bd9d7..504da848 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -571,6 +571,7 @@ struct gpu_ops {
571 struct { 571 struct {
572 int (*init_therm_setup_hw)(struct gk20a *g); 572 int (*init_therm_setup_hw)(struct gk20a *g);
573 int (*update_therm_gate_ctrl)(struct gk20a *g); 573 int (*update_therm_gate_ctrl)(struct gk20a *g);
574 void (*therm_debugfs_init)(struct gk20a *g);
574 } therm; 575 } therm;
575 struct { 576 struct {
576 int (*prepare_ucode)(struct gk20a *g); 577 int (*prepare_ucode)(struct gk20a *g);