summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h3
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 43f673f5..7699cd53 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -969,6 +969,9 @@ struct gk20a {
969 /* PCIe power states. */ 969 /* PCIe power states. */
970 bool xve_l0s; 970 bool xve_l0s;
971 bool xve_l1; 971 bool xve_l1;
972
973 /* Current warning temp in sfxp24.8 */
974 s32 curr_warn_temp;
972}; 975};
973 976
974static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) 977static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g)
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index c31bd187..6ec0067b 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -28,6 +28,7 @@
28#include "pmuif/gpmuifperf.h" 28#include "pmuif/gpmuifperf.h"
29#include "pmuif/gpmuifpmgr.h" 29#include "pmuif/gpmuifpmgr.h"
30#include "pmuif/gpmuifvolt.h" 30#include "pmuif/gpmuifvolt.h"
31#include "pmuif/gpmuiftherm.h"
31 32
32/* defined by pmu hw spec */ 33/* defined by pmu hw spec */
33#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024) 34#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024)
@@ -365,6 +366,7 @@ struct pmu_cmd {
365 struct nv_pmu_volt_cmd volt; 366 struct nv_pmu_volt_cmd volt;
366 struct nv_pmu_clk_cmd clk; 367 struct nv_pmu_clk_cmd clk;
367 struct nv_pmu_pmgr_cmd pmgr; 368 struct nv_pmu_pmgr_cmd pmgr;
369 struct nv_pmu_therm_cmd therm;
368 } cmd; 370 } cmd;
369}; 371};
370 372
@@ -382,6 +384,7 @@ struct pmu_msg {
382 struct nv_pmu_volt_msg volt; 384 struct nv_pmu_volt_msg volt;
383 struct nv_pmu_clk_msg clk; 385 struct nv_pmu_clk_msg clk;
384 struct nv_pmu_pmgr_msg pmgr; 386 struct nv_pmu_pmgr_msg pmgr;
387 struct nv_pmu_therm_msg therm;
385 } msg; 388 } msg;
386}; 389};
387 390