summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-05-10 11:05:24 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-05 02:05:18 -0400
commit673dd971600b26131c0afdb221e13c080da022fd (patch)
tree7c8416ac2ef61891812773d55c8c8dc61da824aa /drivers/gpu/nvgpu/therm
parent7668ccb2a2e4a8c13d82b427c65be79c725afe08 (diff)
gpu: nvgpu: moved & renamed "struct pmu_gk20a"
- Renamed "struct pmu_gk20a" to "struct nvgpu_pmu" then moved to file "pmu.h" under folder "drivers/gpu/nvgpu/include/nvgpu/" - Included header file "pmu.h" to dependent file & removed "pmu_gk20a.h" include if its usage is not present. - Replaced "struct pmu_gk20a" with "struct nvgpu_pmu" in dependent source & header files. JIRA NVGPU-56 Change-Id: Ia3c606616831027093d5c216959c6a40d7c2632e Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1479209 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm')
-rw-r--r--drivers/gpu/nvgpu/therm/thrmchannel.c3
-rw-r--r--drivers/gpu/nvgpu/therm/thrmdev.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmchannel.c b/drivers/gpu/nvgpu/therm/thrmchannel.c
index 556bad86..da2fbc9e 100644
--- a/drivers/gpu/nvgpu/therm/thrmchannel.c
+++ b/drivers/gpu/nvgpu/therm/thrmchannel.c
@@ -12,14 +12,13 @@
12 */ 12 */
13 13
14#include <nvgpu/bios.h> 14#include <nvgpu/bios.h>
15#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
15 16
16#include "gk20a/gk20a.h" 17#include "gk20a/gk20a.h"
17#include "thrmchannel.h" 18#include "thrmchannel.h"
18#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
20#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
21#include "gm206/bios_gm206.h" 21#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h"
23 22
24static u32 _therm_channel_pmudatainit_device(struct gk20a *g, 23static u32 _therm_channel_pmudatainit_device(struct gk20a *g,
25 struct boardobj *board_obj_ptr, 24 struct boardobj *board_obj_ptr,
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.c b/drivers/gpu/nvgpu/therm/thrmdev.c
index 4772b628..782939f0 100644
--- a/drivers/gpu/nvgpu/therm/thrmdev.c
+++ b/drivers/gpu/nvgpu/therm/thrmdev.c
@@ -12,14 +12,13 @@
12 */ 12 */
13 13
14#include <nvgpu/bios.h> 14#include <nvgpu/bios.h>
15#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
15 16
16#include "gk20a/gk20a.h" 17#include "gk20a/gk20a.h"
17#include "thrmdev.h" 18#include "thrmdev.h"
18#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
20#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
21#include "gm206/bios_gm206.h" 21#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h"
23#include "ctrl/ctrltherm.h" 22#include "ctrl/ctrltherm.h"
24 23
25static struct boardobj *construct_therm_device(struct gk20a *g, 24static struct boardobj *construct_therm_device(struct gk20a *g,