summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_arb.h
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2016-10-27 09:35:13 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:52 -0500
commit2ebf09920755daeb7e1be71bf317f88ec9d533e1 (patch)
treec9a376f8fb5f11f0dc39587992b229e1e6b06491 /drivers/gpu/nvgpu/clk/clk_arb.h
parent1f0a38797fbd86b5f5e7f6b43d1c81b2028a82b0 (diff)
gpu: nvgpu: handle vf curve change due to temp
JIRA DNVGPU-129 1)send 150'c as default temperature to PMU so that PMU will start reading temperature from sensor to evaluate VFE equations 2)Send GP106's temp min and max range for GPU sensor so that PMU will read right temperature 3)PMU will send event whenever temperature goes above +ve hysteresis or goes below -ve hysteresis. Call the Arbiter's VF re-evaluation function in the event handler. Change-Id: Iaebc0655f60e17998f0864824095f4fc8bba5b62 Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/1245392 (cherry picked from commit 7e59d0faa8cee6aace5524c724001e88248b2da7) Reviewed-on: http://git-master/r/1268062 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.h')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.h b/drivers/gpu/nvgpu/clk/clk_arb.h
index 717cca9b..8355dac5 100644
--- a/drivers/gpu/nvgpu/clk/clk_arb.h
+++ b/drivers/gpu/nvgpu/clk/clk_arb.h
@@ -61,6 +61,6 @@ int nvgpu_clk_arb_install_event_fd(struct gk20a *g,
61int nvgpu_clk_arb_install_request_fd(struct gk20a *g, 61int nvgpu_clk_arb_install_request_fd(struct gk20a *g,
62 struct nvgpu_clk_session *session, int *event_fd); 62 struct nvgpu_clk_session *session, int *event_fd);
63 63
64void nvgpu_clk_arb_schedule_vftable_update(struct gk20a *g); 64void nvgpu_clk_arb_schedule_vf_table_update(struct gk20a *g);
65#endif /* _CLK_ARB_H_ */ 65#endif /* _CLK_ARB_H_ */
66 66