gpu: nvgpu: init: nvgpu_check_gpu_state description update

Update nvgpu_check_gpu_state function description to
reflect it's functionality.

Jira NVGPU-6182

Change-Id: I650098b04e5134cfcada37a99fbe505f3f621855
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
(cherry picked from commit c972d2925bf020270179abc0545335cbdc69113e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2488415
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Seshendra Gadagottu
2021-02-16 19:40:17 -08:00
committed by mobile promotions
parent 42033ac29e
commit d6b49345cd

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2019-2021, 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"),
@@ -282,11 +282,11 @@ struct gk20a * nvgpu_get(struct gk20a *g);
void nvgpu_put(struct gk20a *g);
/**
* @brief Check driver state and restart if the state is invalid
* @brief Check driver state and enter quiesce if the state is invalid
*
* @param g [in] The GPU
*
* If driver state is invalid, makes OS call to restart driver.
* If driver state is invalid, makes call to enter quiesce state.
*/
void nvgpu_check_gpu_state(struct gk20a *g);