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