mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
Alex Waterman
parent
621b55f74c
commit
2edf3db10a
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user