summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmdev.c')
-rw-r--r--drivers/gpu/nvgpu/therm/thrmdev.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.c b/drivers/gpu/nvgpu/therm/thrmdev.c
index 1aff119c..7371ba25 100644
--- a/drivers/gpu/nvgpu/therm/thrmdev.c
+++ b/drivers/gpu/nvgpu/therm/thrmdev.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"),
@@ -41,7 +41,7 @@ static struct boardobj *construct_therm_device(struct gk20a *g,
41 if (status) 41 if (status)
42 return NULL; 42 return NULL;
43 43
44 gk20a_dbg_info(" Done"); 44 nvgpu_log_info(g, " Done");
45 45
46 return board_obj_ptr; 46 return board_obj_ptr;
47} 47}
@@ -55,7 +55,7 @@ static u32 _therm_device_pmudata_instget(struct gk20a *g,
55 (struct nv_pmu_therm_therm_device_boardobj_grp_set *) 55 (struct nv_pmu_therm_therm_device_boardobj_grp_set *)
56 pmuboardobjgrp; 56 pmuboardobjgrp;
57 57
58 gk20a_dbg_info(""); 58 nvgpu_log_info(g, " ");
59 59
60 /*check whether pmuboardobjgrp has a valid boardobj in index*/ 60 /*check whether pmuboardobjgrp has a valid boardobj in index*/
61 if (((u32)BIT(idx) & 61 if (((u32)BIT(idx) &
@@ -65,7 +65,7 @@ static u32 _therm_device_pmudata_instget(struct gk20a *g,
65 *ppboardobjpmudata = (struct nv_pmu_boardobj *) 65 *ppboardobjpmudata = (struct nv_pmu_boardobj *)
66 &pgrp_set->objects[idx].data; 66 &pgrp_set->objects[idx].data;
67 67
68 gk20a_dbg_info(" Done"); 68 nvgpu_log_info(g, " Done");
69 69
70 return 0; 70 return 0;
71} 71}
@@ -87,7 +87,7 @@ static u32 devinit_get_therm_device_table(struct gk20a *g,
87 struct therm_device therm_device; 87 struct therm_device therm_device;
88 } therm_device_data; 88 } therm_device_data;
89 89
90 gk20a_dbg_info(""); 90 nvgpu_log_info(g, " ");
91 91
92 therm_device_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, 92 therm_device_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g,
93 g->bios.perf_token, THERMAL_DEVICE_TABLE); 93 g->bios.perf_token, THERMAL_DEVICE_TABLE);
@@ -153,7 +153,7 @@ static u32 devinit_get_therm_device_table(struct gk20a *g,
153 } 153 }
154 154
155done: 155done:
156 gk20a_dbg_info(" done status %x", status); 156 nvgpu_log_info(g, " done status %x", status);
157 return status; 157 return status;
158} 158}
159 159
@@ -195,6 +195,6 @@ u32 therm_device_sw_setup(struct gk20a *g)
195 } 195 }
196 196
197done: 197done:
198 gk20a_dbg_info(" done status %x", status); 198 nvgpu_log_info(g, " done status %x", status);
199 return status; 199 return status;
200} 200}