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
@@ -960,7 +960,9 @@ static const struct gpu_ops gm20b_ops = {
|
||||
.mc = {
|
||||
.intr_mask = gm20b_mc_intr_mask,
|
||||
.intr_enable = gm20b_mc_intr_enable,
|
||||
#ifdef CONFIG_NVGPU_LS_PMU
|
||||
.intr_pmu_unit_config = gm20b_mc_intr_pmu_unit_config,
|
||||
#endif
|
||||
.isr_stall = gm20b_mc_isr_stall,
|
||||
.intr_stall = gm20b_mc_intr_stall,
|
||||
.intr_stall_pause = gm20b_mc_intr_stall_pause,
|
||||
|
||||
@@ -1056,7 +1056,9 @@ static const struct gpu_ops gp10b_ops = {
|
||||
.mc = {
|
||||
.intr_mask = mc_gp10b_intr_mask,
|
||||
.intr_enable = mc_gp10b_intr_enable,
|
||||
#ifdef CONFIG_NVGPU_LS_PMU
|
||||
.intr_pmu_unit_config = mc_gp10b_intr_pmu_unit_config,
|
||||
#endif
|
||||
.isr_stall = mc_gp10b_isr_stall,
|
||||
.intr_stall = mc_gp10b_intr_stall,
|
||||
.intr_stall_pause = mc_gp10b_intr_stall_pause,
|
||||
|
||||
@@ -1259,7 +1259,9 @@ static const struct gpu_ops gv11b_ops = {
|
||||
.mc = {
|
||||
.intr_mask = mc_gp10b_intr_mask,
|
||||
.intr_enable = mc_gv11b_intr_enable,
|
||||
#ifdef CONFIG_NVGPU_LS_PMU
|
||||
.intr_pmu_unit_config = mc_gp10b_intr_pmu_unit_config,
|
||||
#endif
|
||||
.isr_stall = mc_gp10b_isr_stall,
|
||||
.intr_stall = mc_gp10b_intr_stall,
|
||||
.intr_stall_pause = mc_gp10b_intr_stall_pause,
|
||||
|
||||
@@ -1276,7 +1276,9 @@ static const struct gpu_ops tu104_ops = {
|
||||
.mc = {
|
||||
.intr_enable = intr_tu104_enable,
|
||||
.intr_mask = intr_tu104_mask,
|
||||
#ifdef CONFIG_NVGPU_LS_PMU
|
||||
.intr_pmu_unit_config = mc_gp10b_intr_pmu_unit_config,
|
||||
#endif
|
||||
.isr_stall = mc_gp10b_isr_stall,
|
||||
.intr_stall = intr_tu104_stall,
|
||||
.intr_stall_pause = intr_tu104_stall_pause,
|
||||
|
||||
Reference in New Issue
Block a user