diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-11-30 09:50:38 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-12-01 02:53:31 -0500 |
commit | 5e9f4bbf8ddff9fbe060839a60dcc2168ca3d57c (patch) | |
tree | c798474d5a6676b54526ad1168722bd29ce0a0a4 /drivers/gpu/nvgpu/include | |
parent | d73ad6c07da23636c00c60effeeb53ea35847ee8 (diff) |
gpu: nvgpu: remove linux dependent from pmu_gk20a.c
- Removed Linux dependent header
- Moved thermal alarm post from pmu_gk20a.c
to clk_arb.c
- Implemented nvgpu_clk_arb_send_thermal_alaram()
method to post
NVGPU_GPU_EVENT_ALARM_THERMAL_ABOVE_THRESHOLD
JIRA NVGPU-403
Change-Id: Ibf85c2f3a6e704fdcc0502745fab820f7ea428f4
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1608313
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/clk_arb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h b/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h index 09f0b0d3..c13144ee 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h +++ b/drivers/gpu/nvgpu/include/nvgpu/clk_arb.h | |||
@@ -77,6 +77,8 @@ int nvgpu_clk_arb_get_current_pstate(struct gk20a *g); | |||
77 | 77 | ||
78 | void nvgpu_clk_arb_pstate_change_lock(struct gk20a *g, bool lock); | 78 | void nvgpu_clk_arb_pstate_change_lock(struct gk20a *g, bool lock); |
79 | 79 | ||
80 | void nvgpu_clk_arb_send_thermal_alarm(struct gk20a *g); | ||
81 | |||
80 | void nvgpu_clk_arb_schedule_alarm(struct gk20a *g, u32 alarm); | 82 | void nvgpu_clk_arb_schedule_alarm(struct gk20a *g, u32 alarm); |
81 | #endif /* __NVGPU_CLK_ARB_H__ */ | 83 | #endif /* __NVGPU_CLK_ARB_H__ */ |
82 | 84 | ||