diff options
author | Vijayakumar <vsubbu@nvidia.com> | 2016-10-27 09:46:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-15 13:15:10 -0500 |
commit | 8ef013e36ec2dc3be878d057024290e00b7aad49 (patch) | |
tree | 0570c8eaac96774f0e49000dd3fb5ba4e29475df /drivers/gpu/nvgpu/pmuif | |
parent | 68eeda3ebdd6ca20289fb0af22a0ca593198bc63 (diff) |
gpu: nvgpu: handle vf curve change due to temp
JIRA DNVGPU-129
1)Add function hook for PMU VFE event handler which will do for VF
curve re-evaluation
2)Add function hook to send temperature limit of GPU sensor
3)Call VFE event handler from PMU's event handle function
Change-Id: I2e3577d3d895e97e6ad06e92f0f4827f9855d0b6
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/1245393
(cherry picked from commit 1a5c6c32cdec73fb23735430f43577eda675e5af)
Reviewed-on: http://git-master/r/1268060
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmuif')
-rw-r--r-- | drivers/gpu/nvgpu/pmuif/gpmuifperf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifperf.h b/drivers/gpu/nvgpu/pmuif/gpmuifperf.h index b1d2f3fd..181a65f5 100644 --- a/drivers/gpu/nvgpu/pmuif/gpmuifperf.h +++ b/drivers/gpu/nvgpu/pmuif/gpmuifperf.h | |||
@@ -87,6 +87,7 @@ struct nv_pmu_perf_rpc { | |||
87 | #define NV_PMU_PERF_MSG_ID_RPC (0x00000003) | 87 | #define NV_PMU_PERF_MSG_ID_RPC (0x00000003) |
88 | #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_SET (0x00000004) | 88 | #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_SET (0x00000004) |
89 | #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_GET_STATUS (0x00000006) | 89 | #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_GET_STATUS (0x00000006) |
90 | #define NV_PMU_PERF_MSG_ID_VFE_CALLBACK (0x00000005) | ||
90 | 91 | ||
91 | /*! | 92 | /*! |
92 | * Message carrying the result of the perf RPC execution. | 93 | * Message carrying the result of the perf RPC execution. |