summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmchannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.c')
-rw-r--r--drivers/gpu/nvgpu/therm/thrmchannel.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmchannel.c b/drivers/gpu/nvgpu/therm/thrmchannel.c
index f8be8430..de3de62a 100644
--- a/drivers/gpu/nvgpu/therm/thrmchannel.c
+++ b/drivers/gpu/nvgpu/therm/thrmchannel.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -90,7 +90,7 @@ static struct boardobj *construct_channel_device(struct gk20a *g,
90 pchannel_device->therm_dev_idx = therm_device->therm_dev_idx; 90 pchannel_device->therm_dev_idx = therm_device->therm_dev_idx;
91 pchannel_device->therm_dev_prov_idx = therm_device->therm_dev_prov_idx; 91 pchannel_device->therm_dev_prov_idx = therm_device->therm_dev_prov_idx;
92 92
93 gk20a_dbg_info(" Done"); 93 nvgpu_log_info(g, " Done");
94 94
95 return board_obj_ptr; 95 return board_obj_ptr;
96} 96}
@@ -104,7 +104,7 @@ static u32 _therm_channel_pmudata_instget(struct gk20a *g,
104 (struct nv_pmu_therm_therm_channel_boardobj_grp_set *) 104 (struct nv_pmu_therm_therm_channel_boardobj_grp_set *)
105 pmuboardobjgrp; 105 pmuboardobjgrp;
106 106
107 gk20a_dbg_info(""); 107 nvgpu_log_info(g, " ");
108 108
109 /*check whether pmuboardobjgrp has a valid boardobj in index*/ 109 /*check whether pmuboardobjgrp has a valid boardobj in index*/
110 if (((u32)BIT(idx) & 110 if (((u32)BIT(idx) &
@@ -114,7 +114,7 @@ static u32 _therm_channel_pmudata_instget(struct gk20a *g,
114 *ppboardobjpmudata = (struct nv_pmu_boardobj *) 114 *ppboardobjpmudata = (struct nv_pmu_boardobj *)
115 &pgrp_set->objects[idx].data.board_obj; 115 &pgrp_set->objects[idx].data.board_obj;
116 116
117 gk20a_dbg_info(" Done"); 117 nvgpu_log_info(g, " Done");
118 118
119 return 0; 119 return 0;
120} 120}
@@ -137,7 +137,7 @@ static u32 devinit_get_therm_channel_table(struct gk20a *g,
137 struct therm_channel_device device; 137 struct therm_channel_device device;
138 } therm_channel_data; 138 } therm_channel_data;
139 139
140 gk20a_dbg_info(""); 140 nvgpu_log_info(g, " ");
141 141
142 therm_channel_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, 142 therm_channel_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g,
143 g->bios.perf_token, THERMAL_CHANNEL_TABLE); 143 g->bios.perf_token, THERMAL_CHANNEL_TABLE);
@@ -206,7 +206,7 @@ static u32 devinit_get_therm_channel_table(struct gk20a *g,
206 } 206 }
207 207
208done: 208done:
209 gk20a_dbg_info(" done status %x", status); 209 nvgpu_log_info(g, " done status %x", status);
210 return status; 210 return status;
211} 211}
212 212
@@ -248,6 +248,6 @@ u32 therm_channel_sw_setup(struct gk20a *g)
248 } 248 }
249 249
250done: 250done:
251 gk20a_dbg_info(" done status %x", status); 251 nvgpu_log_info(g, " done status %x", status);
252 return status; 252 return status;
253} 253}