gpu: nvgpu: compile out unused call from gops_gr

wait_initialized is already under CONFIG_NVGPU_HAL_NON_FUSA
checking, add the checking in gops_gr.h to avoid the
function to show in doxygen comment

Jira NVGPU-4888

Change-Id: If80e7505959e7087140151224986837e79a47e6f
Signed-off-by: vinodg <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2280205
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
vinodg
2020-01-16 16:38:30 -08:00
committed by Alex Waterman
parent b4029e9bfa
commit aaba7ab960

View File

@@ -538,18 +538,6 @@ struct gops_gr_init {
u32 gpc, u32 tpc,
struct nvgpu_gr_config *gr_config);
/**
* @brief Wait for GR engine to be initialized.
*
* @param g [in] Pointer to GPU driver struct.
*
* Calling this function ensures that GR engine initialization
* is complete. This HAL maps to #nvgpu_gr_wait_initialized.
*
* @see nvgpu_gr_wait_initialized
*/
void (*wait_initialized)(struct gk20a *g);
/**
* @brief Control access to GR FIFO.
*
@@ -728,6 +716,19 @@ struct gops_gr_init {
u32 (*get_ctx_pagepool_size)(struct gk20a *g);
u32 (*get_ctx_betacb_size)(struct gk20a *g);
#endif /* CONFIG_NVGPU_GRAPHICS */
#ifdef CONFIG_NVGPU_HAL_NON_FUSA
/**
* @brief Wait for GR engine to be initialized.
*
* @param g [in] Pointer to GPU driver struct.
*
* Calling this function ensures that GR engine initialization
* is complete. This HAL maps to #nvgpu_gr_wait_initialized.
*
* @see nvgpu_gr_wait_initialized
*/
void (*wait_initialized)(struct gk20a *g);
#endif
/** @endcond */
};