mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
0406900ca9
commit
bcdac829f4
@@ -42,6 +42,10 @@ struct nvgpu_os_linux_ops {
|
||||
struct {
|
||||
int (*init_debugfs)(struct gk20a *g);
|
||||
} clk;
|
||||
|
||||
struct {
|
||||
int (*init_debugfs)(struct gk20a *g);
|
||||
} therm;
|
||||
};
|
||||
|
||||
struct nvgpu_os_linux {
|
||||
|
||||
Reference in New Issue
Block a user