From f5b6c012cb6e620145d8eb6d5b33f0033da84dbb Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Thu, 4 Feb 2021 14:33:37 -0800 Subject: [PATCH] gpu: nvgpu: therm: update doxygen for BVEC checks Update doxygen to have boundary value check info for init_elcg_mode HAL. Jira NVGPU-6183 Change-Id: Id0ebb8076a8a65319e40129308ded6ef6466c647 Signed-off-by: Seshendra Gadagottu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2481046 (cherry picked from commit 89564f5d7f5371c35734c0eec5ad70edd71e3c17) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2483098 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/gops/therm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops/therm.h b/drivers/gpu/nvgpu/include/nvgpu/gops/therm.h index 60b5978f4..fe353bc1d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops/therm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops/therm.h @@ -75,7 +75,10 @@ struct gops_therm { * * @param g [in] The GPU driver struct. * @param mode [in] ELCG mode. + * Valid ELCG modes are: ELCG_RUN, ELCG_STOP + * and ELCG_AUTO. * @param engine [in] Engine index for control reg. + * Valid engine range: 0 to NV_HOST_NUM_ENGINES - 1 * * This HAL controls engine level clock gating (ELCG) of an engine with * following steps: