diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-09-02 07:01:15 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-11 16:44:45 -0400 |
commit | e8ba69e3837f20be0c8225d4bc9f3a9970f3f596 (patch) | |
tree | f30051264065fbcd5adf97de1a4ad1352d06c0dc /drivers/gpu/nvgpu/gk20a/therm_gk20a.c | |
parent | fda4ddfa79f3a78becfe44fd558974bd274c03a9 (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/therm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/therm_gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/therm_gk20a.c b/drivers/gpu/nvgpu/gk20a/therm_gk20a.c index 1fb60438..da8e2894 100644 --- a/drivers/gpu/nvgpu/gk20a/therm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/therm_gk20a.c | |||
@@ -104,6 +104,9 @@ int gk20a_init_therm_support(struct gk20a *g) | |||
104 | if (err) | 104 | if (err) |
105 | return err; | 105 | return err; |
106 | 106 | ||
107 | if (g->ops.therm.therm_debugfs_init) | ||
108 | g->ops.therm.therm_debugfs_init(g); | ||
109 | |||
107 | return err; | 110 | return err; |
108 | } | 111 | } |
109 | 112 | ||