From bcdac829f44afc1b08941c507e691866f3a9cb38 Mon Sep 17 00:00:00 2001 From: Nitin Kumbhar Date: Mon, 13 Aug 2018 10:09:04 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1797906 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index af2d4c00..24c4191d 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -605,9 +605,6 @@ static const struct gpu_ops gp106_ops = { .data032_r = pram_data032_r, }, .therm = { -#ifdef CONFIG_DEBUG_FS - .therm_debugfs_init = gp106_therm_debugfs_init, -#endif /* CONFIG_DEBUG_FS */ .init_elcg_mode = gm20b_therm_init_elcg_mode, .init_blcg_mode = gm20b_therm_init_blcg_mode, .elcg_init_idle_filters = gp106_elcg_init_idle_filters, -- cgit v1.2.2