mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Refactor Therm unit
-Created ucode_therm_inf.h header to include all interface struct and macros from pmuif folder -Removed thrmpmu.c/.h files and moved all those functions into thrm.c file -Renamed functions into public/private format NVGPU-4449 Change-Id: I8015679351648e94b2d8dd22548c727294b4ddcb Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2286333 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
9a16bc3fd4
commit
aa20b36597
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011-2019, NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2011-2020, NVIDIA Corporation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -1528,7 +1528,7 @@ static int nvgpu_gpu_get_temperature(struct gk20a *g,
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = nvgpu_therm_channel_get_curr_temp(g, &temp_f24_8);
|
||||
err = nvgpu_pmu_therm_channel_get_curr_temp(g, &temp_f24_8);
|
||||
if (err) {
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user