diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrpolicy.c')
-rw-r--r-- | drivers/gpu/nvgpu/pmgr/pwrpolicy.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pwrpolicy.c b/drivers/gpu/nvgpu/pmgr/pwrpolicy.c index 2942268f..0d617f6a 100644 --- a/drivers/gpu/nvgpu/pmgr/pwrpolicy.c +++ b/drivers/gpu/nvgpu/pmgr/pwrpolicy.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"), |
@@ -270,7 +270,7 @@ static struct boardobj *construct_pwr_policy(struct gk20a *g, | |||
270 | pwrpolicyhwthreshold = (struct pwr_policy_hw_threshold*)board_obj_ptr; | 270 | pwrpolicyhwthreshold = (struct pwr_policy_hw_threshold*)board_obj_ptr; |
271 | pwrpolicy = (struct pwr_policy *)board_obj_ptr; | 271 | pwrpolicy = (struct pwr_policy *)board_obj_ptr; |
272 | 272 | ||
273 | gk20a_dbg_fn("min=%u rated=%u max=%u", | 273 | nvgpu_log_fn(g, "min=%u rated=%u max=%u", |
274 | pwrpolicyparams->limit_min, | 274 | pwrpolicyparams->limit_min, |
275 | pwrpolicyparams->limit_rated, | 275 | pwrpolicyparams->limit_rated, |
276 | pwrpolicyparams->limit_max); | 276 | pwrpolicyparams->limit_max); |
@@ -358,7 +358,7 @@ static struct boardobj *construct_pwr_policy(struct gk20a *g, | |||
358 | pwrpolicyswthreshold->event_id = swthreshold->event_id; | 358 | pwrpolicyswthreshold->event_id = swthreshold->event_id; |
359 | } | 359 | } |
360 | 360 | ||
361 | gk20a_dbg_info(" Done"); | 361 | nvgpu_log_info(g, " Done"); |
362 | 362 | ||
363 | return board_obj_ptr; | 363 | return board_obj_ptr; |
364 | } | 364 | } |
@@ -527,7 +527,7 @@ static u32 devinit_get_pwr_policy_table(struct gk20a *g, | |||
527 | u32 hw_threshold_policy_index = 0; | 527 | u32 hw_threshold_policy_index = 0; |
528 | union pwr_policy_data_union pwr_policy_data; | 528 | union pwr_policy_data_union pwr_policy_data; |
529 | 529 | ||
530 | gk20a_dbg_info(""); | 530 | nvgpu_log_info(g, " "); |
531 | 531 | ||
532 | ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, | 532 | ptr = (u8 *)nvgpu_bios_get_perf_table_ptrs(g, |
533 | g->bios.perf_token, POWER_CAPPING_TABLE); | 533 | g->bios.perf_token, POWER_CAPPING_TABLE); |
@@ -702,7 +702,7 @@ static u32 devinit_get_pwr_policy_table(struct gk20a *g, | |||
702 | } | 702 | } |
703 | 703 | ||
704 | done: | 704 | done: |
705 | gk20a_dbg_info(" done status %x", status); | 705 | nvgpu_log_info(g, " done status %x", status); |
706 | return status; | 706 | return status; |
707 | } | 707 | } |
708 | 708 | ||
@@ -773,6 +773,6 @@ u32 pmgr_policy_sw_setup(struct gk20a *g) | |||
773 | g->pmgr_pmu.pmgr_policyobjs.client_work_item.b_pending = false; | 773 | g->pmgr_pmu.pmgr_policyobjs.client_work_item.b_pending = false; |
774 | 774 | ||
775 | done: | 775 | done: |
776 | gk20a_dbg_info(" done status %x", status); | 776 | nvgpu_log_info(g, " done status %x", status); |
777 | return status; | 777 | return status; |
778 | } | 778 | } |