diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/clk_arb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/clk_arb.c b/drivers/gpu/nvgpu/common/linux/clk_arb.c index 95042389..82c97891 100644 --- a/drivers/gpu/nvgpu/common/linux/clk_arb.c +++ b/drivers/gpu/nvgpu/common/linux/clk_arb.c | |||
@@ -423,6 +423,12 @@ mutex_fail: | |||
423 | return err; | 423 | return err; |
424 | } | 424 | } |
425 | 425 | ||
426 | void nvgpu_clk_arb_send_thermal_alarm(struct gk20a *g) | ||
427 | { | ||
428 | nvgpu_clk_arb_schedule_alarm(g, | ||
429 | (0x1UL << NVGPU_GPU_EVENT_ALARM_THERMAL_ABOVE_THRESHOLD)); | ||
430 | } | ||
431 | |||
426 | void nvgpu_clk_arb_schedule_alarm(struct gk20a *g, u32 alarm) | 432 | void nvgpu_clk_arb_schedule_alarm(struct gk20a *g, u32 alarm) |
427 | { | 433 | { |
428 | struct nvgpu_clk_arb *arb = g->clk_arb; | 434 | struct nvgpu_clk_arb *arb = g->clk_arb; |