diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2018-08-13 00:39:04 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-05 07:51:43 -0400 |
commit | bcdac829f44afc1b08941c507e691866f3a9cb38 (patch) | |
tree | 12a4e0378a7ea5bed584ee9c87b16d047f943886 /drivers/gpu/nvgpu/common/therm/therm_gp106.h | |
parent | 0406900ca944305f9713905f4d7363fc2d9cbbea (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/common/therm/therm_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/therm/therm_gp106.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/therm/therm_gp106.h b/drivers/gpu/nvgpu/common/therm/therm_gp106.h index a92c2e0f..e29c993f 100644 --- a/drivers/gpu/nvgpu/common/therm/therm_gp106.h +++ b/drivers/gpu/nvgpu/common/therm/therm_gp106.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * general thermal control structures & definitions | 2 | * general thermal control structures & definitions |
3 | * | 3 | * |
4 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -31,9 +31,6 @@ struct gk20a; | |||
31 | 31 | ||
32 | void gp106_get_internal_sensor_limits(s32 *max_24_8, s32 *min_24_8); | 32 | void gp106_get_internal_sensor_limits(s32 *max_24_8, s32 *min_24_8); |
33 | int gp106_get_internal_sensor_curr_temp(struct gk20a *g, u32 *temp_f24_8); | 33 | int gp106_get_internal_sensor_curr_temp(struct gk20a *g, u32 *temp_f24_8); |
34 | #ifdef CONFIG_DEBUG_FS | ||
35 | void gp106_therm_debugfs_init(struct gk20a *g); | ||
36 | #endif | ||
37 | int gp106_elcg_init_idle_filters(struct gk20a *g); | 34 | int gp106_elcg_init_idle_filters(struct gk20a *g); |
38 | u32 gp106_configure_therm_alert(struct gk20a *g, s32 curr_warn_temp); | 35 | u32 gp106_configure_therm_alert(struct gk20a *g, s32 curr_warn_temp); |
39 | 36 | ||