summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pmgr/pwrdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrdev.c')
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrdev.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pwrdev.c b/drivers/gpu/nvgpu/pmgr/pwrdev.c
index 7f4ab716..da51ac4b 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrdev.c
+++ b/drivers/gpu/nvgpu/pmgr/pwrdev.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"),
@@ -36,7 +36,7 @@ static u32 _pwr_device_pmudata_instget(struct gk20a *g,
36 struct nv_pmu_pmgr_pwr_device_desc_table *ppmgrdevice = 36 struct nv_pmu_pmgr_pwr_device_desc_table *ppmgrdevice =
37 (struct nv_pmu_pmgr_pwr_device_desc_table *)pmuboardobjgrp; 37 (struct nv_pmu_pmgr_pwr_device_desc_table *)pmuboardobjgrp;
38 38
39 gk20a_dbg_info(""); 39 nvgpu_log_info(g, " ");
40 40
41 /*check whether pmuboardobjgrp has a valid boardobj in index*/ 41 /*check whether pmuboardobjgrp has a valid boardobj in index*/
42 if (((u32)BIT(idx) & 42 if (((u32)BIT(idx) &
@@ -46,7 +46,7 @@ static u32 _pwr_device_pmudata_instget(struct gk20a *g,
46 *ppboardobjpmudata = (struct nv_pmu_boardobj *) 46 *ppboardobjpmudata = (struct nv_pmu_boardobj *)
47 &ppmgrdevice->devices[idx].data.board_obj; 47 &ppmgrdevice->devices[idx].data.board_obj;
48 48
49 gk20a_dbg_info(" Done"); 49 nvgpu_log_info(g, " Done");
50 50
51 return 0; 51 return 0;
52} 52}
@@ -122,7 +122,7 @@ static struct boardobj *construct_pwr_device(struct gk20a *g,
122 pwrdev->r_shuntm_ohm[indx] = ina3221->r_shuntm_ohm[indx]; 122 pwrdev->r_shuntm_ohm[indx] = ina3221->r_shuntm_ohm[indx];
123 } 123 }
124 124
125 gk20a_dbg_info(" Done"); 125 nvgpu_log_info(g, " Done");
126 126
127 return board_obj_ptr; 127 return board_obj_ptr;
128} 128}
@@ -145,7 +145,7 @@ static u32 devinit_get_pwr_device_table(struct gk20a *g,
145 struct pwr_device_ina3221 ina3221; 145 struct pwr_device_ina3221 ina3221;
146 } pwr_device_data; 146 } pwr_device_data;
147 147
148 gk20a_dbg_info(""); 148 nvgpu_log_info(g, " ");
149 149
150 pwr_device_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, 150 pwr_device_table_ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g,
151 g->bios.perf_token, POWER_SENSORS_TABLE); 151 g->bios.perf_token, POWER_SENSORS_TABLE);
@@ -280,7 +280,7 @@ static u32 devinit_get_pwr_device_table(struct gk20a *g,
280 } 280 }
281 281
282done: 282done:
283 gk20a_dbg_info(" done status %x", status); 283 nvgpu_log_info(g, " done status %x", status);
284 return status; 284 return status;
285} 285}
286 286
@@ -310,6 +310,6 @@ u32 pmgr_device_sw_setup(struct gk20a *g)
310 goto done; 310 goto done;
311 311
312done: 312done:
313 gk20a_dbg_info(" done status %x", status); 313 nvgpu_log_info(g, " done status %x", status);
314 return status; 314 return status;
315} 315}