mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: uniform approach for both quiesce state exit and BUG()
- We are using exit() API to exit the process when gpu goes to quiesce state, but MISRA not allowing to use exit() API. JIRA NVGPU-7056 Signed-off-by: srajum <srajum@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2588005 (cherry picked from commit 219c172da5b6ae330121009765f7eb090b87e054) Change-Id: Id5b927693cc684931bd4aa56e66543b673d0c493 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2674411 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ee670a0afd
commit
ad74b20cca
@@ -116,7 +116,7 @@ static int nvgpu_sw_quiesce_thread(void *data)
|
||||
|
||||
nvgpu_disable_irqs(g);
|
||||
nvgpu_channel_sw_quiesce(g);
|
||||
nvgpu_bug_exit(1);
|
||||
nvgpu_bug_exit();
|
||||
|
||||
done:
|
||||
nvgpu_log_info(g, "done");
|
||||
|
||||
Reference in New Issue
Block a user