gpu: nvgpu: compile out PMU members & headers for safety

-compile out nvgpu_pmu members which are not required for
safety buid & modified source as required to support same.
-compile out PMU headers include which are not required for
safety code
-Removed unnecessary PMU header includes from some files

JIRA NVGPU-3418

Change-Id: I5364b1b16c46637d229e82745dd2846cb6335a72
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2128228
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mahantesh Kumbar
2019-05-31 11:34:40 +05:30
committed by mobile promotions
parent 20b974e724
commit b691df5a02
23 changed files with 73 additions and 17 deletions

View File

@@ -48,7 +48,9 @@
#include <nvgpu/gr/gr.h>
#include <trace/events/gk20a.h>
#ifdef NVGPU_FEATURE_LS_PMU
#include <nvgpu/pmu/pmu_pstate.h>
#endif
bool is_nvgpu_gpu_state_valid(struct gk20a *g)
{