From 8ef013e36ec2dc3be878d057024290e00b7aad49 Mon Sep 17 00:00:00 2001 From: Vijayakumar Date: Thu, 27 Oct 2016 19:16:36 +0530 Subject: 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 Reviewed-on: http://git-master/r/1245393 (cherry picked from commit 1a5c6c32cdec73fb23735430f43577eda675e5af) Reviewed-on: http://git-master/r/1268060 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/pmuif/gpmuifperf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/pmuif/gpmuifperf.h') 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 { #define NV_PMU_PERF_MSG_ID_RPC (0x00000003) #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_SET (0x00000004) #define NV_PMU_PERF_MSG_ID_BOARDOBJ_GRP_GET_STATUS (0x00000006) +#define NV_PMU_PERF_MSG_ID_VFE_CALLBACK (0x00000005) /*! * Message carrying the result of the perf RPC execution. -- cgit v1.2.2