summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2018-08-13 00:39:04 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-05 07:51:43 -0400
commitbcdac829f44afc1b08941c507e691866f3a9cb38 (patch)
tree12a4e0378a7ea5bed584ee9c87b16d047f943886 /drivers/gpu/nvgpu/gv100
parent0406900ca944305f9713905f4d7363fc2d9cbbea (diff)
gpu: nvgpu: move therm debugfs to linux
Move debugfs related code of therm from common driver to linux specific part of the driver. gp106_therm_debugfs_init() is updated to use nvgpu_os_linux_ops. This also affects gv100 as gp106_therm_debugfs_init is used for gv100 as well. JIRA NVGPU-603 Change-Id: Ia293d14599bc0c91fd1e917b5a430bd8f3d96e56 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1797906 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 78798196..6a4f874d 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -702,9 +702,6 @@ static const struct gpu_ops gv100_ops = {
702 .data032_r = pram_data032_r, 702 .data032_r = pram_data032_r,
703 }, 703 },
704 .therm = { 704 .therm = {
705#ifdef CONFIG_DEBUG_FS
706 .therm_debugfs_init = gp106_therm_debugfs_init,
707#endif /* CONFIG_DEBUG_FS */
708 /* PROD values match with H/W INIT values */ 705 /* PROD values match with H/W INIT values */
709 .init_elcg_mode = gv11b_therm_init_elcg_mode, 706 .init_elcg_mode = gv11b_therm_init_elcg_mode,
710 .init_blcg_mode = gm20b_therm_init_blcg_mode, 707 .init_blcg_mode = gm20b_therm_init_blcg_mode,