mc remove non-fusa HAL used only by PMU

Compile out the MC HAL is_enabled() with the macro CONFIG_NVGPU_LS_PMU
since it is only used by the PMU unit.

JIRA NVGPU-2224

Change-Id: I242ba923bfce62674107089157a6103aee6a2f93
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2258703
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2019-12-09 08:54:21 -05:00
committed by Alex Waterman
parent e515ba7098
commit ae4f219c65
7 changed files with 19 additions and 7 deletions

View File

@@ -284,7 +284,9 @@ struct gops_mc {
void (*disable)(struct gk20a *g, u32 units);
#ifdef CONFIG_NVGPU_LS_PMU
bool (*is_enabled)(struct gk20a *g, enum nvgpu_unit unit);
#endif
bool (*is_intr1_pending)(struct gk20a *g, enum nvgpu_unit unit,
u32 mc_intr_1);