summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2016-10-25 06:57:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-03 12:15:39 -0400
commit3ec909036af46fbe582c50e486beb2bded42b645 (patch)
tree5b652aed11d537462f1850d528fdc6e7058a17e5 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
parent8531eb6df14ac0a92d3ed44a4dedd5d283f24c5b (diff)
gpu: nvgpu: Add PMU thermal RPC for WARN_TEMP
Added PMU thermal slct RPC handling for WARN_TEMP threshold configuration. JIRA DNVGPU-130 Change-Id: I5011db5f08476516f72722e639838e968e7e60dd Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1242132 (cherry picked from commit 6e87a23ca04be435107da801c15f7b55a1f45e8b) Reviewed-on: http://git-master/r/1246211 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h3
1 files changed, 3 insertions, 0 deletions
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