diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-05-12 04:28:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-13 05:40:16 -0400 |
commit | e9267bb3e5624825114fedc03d511035785f2fd7 (patch) | |
tree | 06b1e72c311f63c15254f5e13e33e363dea62d39 /drivers/gpu/nvgpu/include | |
parent | 8c66aef3bdbfbbeb1d3c3ef3bd6b1bee3ac05411 (diff) |
gpu: nvgpu: reorganize PMU F/W support
- Moved pmu f/w related support from pmu_gk20a.c
to "drivers/gpu/nvgpu/common/pmu/pmu_fw.c" file
- Prepended with nvgpu_ for global functions & replaced
wherever used
- Moved below list related to PMU f/w
init/remove,
PMU version specific ops,
non-secure ucode blob prepare,
JIRA NVGPU-56
Change-Id: Ifdad8c560bd233e98728717d5868119e9d8e8d90
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1480636
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/pmu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmu.h index 169d8b98..15f37bda 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/pmu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/pmu.h | |||
@@ -401,4 +401,8 @@ int nvgpu_pmu_vidmem_surface_alloc(struct gk20a *g, struct nvgpu_mem *mem, | |||
401 | int nvgpu_pmu_sysmem_surface_alloc(struct gk20a *g, struct nvgpu_mem *mem, | 401 | int nvgpu_pmu_sysmem_surface_alloc(struct gk20a *g, struct nvgpu_mem *mem, |
402 | u32 size); | 402 | u32 size); |
403 | 403 | ||
404 | /* PMU F/W support */ | ||
405 | int nvgpu_init_pmu_fw_support(struct nvgpu_pmu *pmu); | ||
406 | int nvgpu_pmu_prepare_ns_ucode_blob(struct gk20a *g); | ||
407 | |||
404 | #endif /* __NVGPU_PMU_H__ */ | 408 | #endif /* __NVGPU_PMU_H__ */ |