gpu: nvgpu: add doxygen for nvgpu_fifo_sw_quiesce

Add documentation for nvgpu_fifo_sw_quiesce.

Jira NVGPU-2428

Change-Id: I44f5bd5fad258c3c31622f53364aa276bfe6235b
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2200648
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-09-18 08:39:12 -04:00
committed by Alex Waterman
parent e8545d66af
commit 3f998c74f5

View File

@@ -475,7 +475,23 @@ const char *nvgpu_fifo_decode_pbdma_ch_eng_status(u32 index);
* FIFO interrupts.
*/
int nvgpu_fifo_suspend(struct gk20a *g);
#ifndef CONFIG_NVGPU_RECOVERY
/**
* @brief Emergency quiescing of FIFO.
*
* @param g[in] The GPU driver struct.
*
* Gracefully put FIFO into a non-functioning state to ensure that no corrupted
* work is completed because of the fault. This is because the freedom
* from interference may not always be shown between the faulted and
* the non-faulted TSG contexts.
* - Disable all runlists
* - Preempt all runlists
* - Quiesce all channels
*
* @see nvgpu_channel_sw_quiesce
*/
void nvgpu_fifo_sw_quiesce(struct gk20a *g);
#endif