gpu: nvgpu: add missing pmu gops in doxygen

gops for pmu_early_init is skipped in doxygen documentation by putting
it under DOXYGEN_SHOULD_SKIP_THIS. But it is needed in safety so move it
outside of the condition.

Change-Id: I7bab8a3617dd7b022a4b135b2db5893499458e75
Signed-off-by: shashank singh <shashsingh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2294117
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
shashank singh
2020-02-13 17:20:24 +05:30
committed by Alex Waterman
parent 47016c3ea4
commit fa42a07343

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -80,8 +80,6 @@ struct gops_pmu {
*/
void (*pmu_isr)(struct gk20a *g);
/** @cond DOXYGEN_SHOULD_SKIP_THIS */
/**
* @brief PMU early initialization to allocate memory for PMU unit,
* set PMU Engine h/w properties and set supporting data structs.
@@ -101,6 +99,8 @@ struct gops_pmu {
*/
int (*pmu_early_init)(struct gk20a *g);
/** @cond DOXYGEN_SHOULD_SKIP_THIS */
#ifdef CONFIG_NVGPU_LS_PMU
int (*pmu_rtos_init)(struct gk20a *g);
int (*pmu_destroy)(struct gk20a *g, struct nvgpu_pmu *pmu);