summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/therm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/therm_gk20a.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
index e670ec0e..80671d68 100644
--- a/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/therm_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2011 - 2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2011 - 2015, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,13 +16,8 @@
16#ifndef THERM_GK20A_H 16#ifndef THERM_GK20A_H
17#define THERM_GK20A_H 17#define THERM_GK20A_H
18 18
19/* priority for EXT_THERM_0 event set to highest */ 19struct gpu_ops;
20#define NV_THERM_EVT_EXT_THERM_0_INIT 0x3000100 20void gk20a_init_therm_ops(struct gpu_ops *gops);
21#define NV_THERM_EVT_EXT_THERM_1_INIT 0x2000200
22#define NV_THERM_EVT_EXT_THERM_2_INIT 0x1000300
23/* configures the thermal events that may cause clock slowdown */
24#define NV_THERM_USE_A_INIT 0x7
25 21
26int gk20a_init_therm_support(struct gk20a *g); 22int gk20a_init_therm_support(struct gk20a *g);
27
28#endif /* THERM_GK20A_H */ 23#endif /* THERM_GK20A_H */