gpu: nvgpu: Rename therm public struct

Renamed therm public struct to match with the other
units.

NVGPU-4449

Change-Id: I675ce43b136139420b8cc1eecdc395d9165d9f30
Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2307090
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
rmylavarapu
2020-03-04 15:11:59 +05:30
committed by Alex Waterman
parent d0850123a8
commit dc32307c13
4 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
#include "ucode_therm_inf.h"
#include "thrm.h"
bool therm_device_idx_is_valid(struct therm_pmupstate *therm_pmu, u8 idx)
bool therm_device_idx_is_valid(struct nvgpu_pmu_therm *therm_pmu, u8 idx)
{
return boardobjgrp_idxisvalid(
&(therm_pmu->therm_deviceobjs.super.super), idx);

View File

@@ -27,7 +27,7 @@
#include <nvgpu/boardobj.h>
#include <nvgpu/boardobjgrp_e32.h>
struct therm_pmupstate;
struct nvgpu_pmu_therm;
struct therm_devices {
struct boardobjgrp_e32 super;
@@ -39,6 +39,6 @@ struct therm_device {
int therm_device_sw_setup(struct gk20a *g);
int therm_device_pmu_setup(struct gk20a *g);
bool therm_device_idx_is_valid(struct therm_pmupstate *therm_pmu, u8 idx);
bool therm_device_idx_is_valid(struct nvgpu_pmu_therm *therm_pmu, u8 idx);
#endif /* NVGPU_THERM_THRMDEV_H */

View File

@@ -27,7 +27,7 @@
#include "therm_channel.h"
#include "therm_dev.h"
struct therm_pmupstate {
struct nvgpu_pmu_therm {
struct therm_devices therm_deviceobjs;
struct therm_channels therm_channelobjs;
};

View File

@@ -302,8 +302,8 @@ struct nvgpu_pmu {
struct nvgpu_pmu_pg *pg;
struct nvgpu_pmu_perfmon *pmu_perfmon;
struct nvgpu_clk_pmupstate *clk_pmu;
struct therm_pmupstate *therm_pmu;
struct nvgpu_pmu_perf *perf_pmu;
struct nvgpu_pmu_therm *therm_pmu;
struct nvgpu_pmu_volt *volt;
void (*remove_support)(struct nvgpu_pmu *pmu);