gpu: nvgpu: move mc gpu_ops out of gk20a.h and add doxygen comments for HALs

gk20a.h will include gops_mc.h to contain the mc ops definitions. Add
doxygen comments for the HAL functions that are called directly.
Also move mc_gp10b_intr_pmu_unit_config to non-fusa HAL file.

JIRA NVGPU-2524

Change-Id: I4f326332d7842211b004b372d79fac9fe6ed40e7
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2226017
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Sagar Kamble
2019-10-21 11:02:57 +05:30
committed by Alex Waterman
parent 621b55f74c
commit 2edf3db10a
35 changed files with 461 additions and 54 deletions

View File

@@ -25,6 +25,7 @@
#include <nvgpu/engines.h>
#include <nvgpu/ce.h>
#include <nvgpu/power_features/cg.h>
#include <nvgpu/gops_mc.h>
int nvgpu_ce_init_support(struct gk20a *g)
{

View File

@@ -42,6 +42,7 @@
#include <nvgpu/gr/gr.h>
#include <nvgpu/fifo.h>
#include <nvgpu/static_analysis.h>
#include <nvgpu/gops_mc.h>
#define FECS_METHOD_WFI_RESTORE 0x80000U

View File

@@ -42,6 +42,7 @@
#include <nvgpu/power_features/cg.h>
#include <nvgpu/power_features/pg.h>
#include <nvgpu/mc.h>
#include <nvgpu/gops_mc.h>
#include "gr_priv.h"

View File

@@ -35,6 +35,7 @@
#include <nvgpu/gk20a.h>
#include <nvgpu/channel_sync.h>
#include <nvgpu/nvgpu_init.h>
#include <nvgpu/gops_mc.h>
#ifdef CONFIG_NVGPU_TRACE
#include <trace/events/gk20a.h>

View File

@@ -35,6 +35,7 @@
#include <nvgpu/engines.h>
#include <nvgpu/static_analysis.h>
#include <nvgpu/power_features/cg.h>
#include <nvgpu/gops_mc.h>
int nvgpu_mm_suspend(struct gk20a *g)
{

View File

@@ -34,6 +34,8 @@
#include <nvgpu/top.h>
#include <nvgpu/nvlink_minion.h>
#include <nvgpu/nvlink_link_mode_transitions.h>
#include <nvgpu/gops_mc.h>
#include "nvlink_gv100.h"
#include <nvgpu/hw/gv100/hw_nvlinkip_discovery_gv100.h>