diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-05-10 11:05:24 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-05 02:05:18 -0400 |
commit | 673dd971600b26131c0afdb221e13c080da022fd (patch) | |
tree | 7c8416ac2ef61891812773d55c8c8dc61da824aa /drivers/gpu/nvgpu/lpwr/rppg.c | |
parent | 7668ccb2a2e4a8c13d82b427c65be79c725afe08 (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/lpwr/rppg.c')
-rw-r--r-- | drivers/gpu/nvgpu/lpwr/rppg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/lpwr/rppg.c b/drivers/gpu/nvgpu/lpwr/rppg.c index 59948f35..553457f7 100644 --- a/drivers/gpu/nvgpu/lpwr/rppg.c +++ b/drivers/gpu/nvgpu/lpwr/rppg.c | |||
@@ -11,9 +11,9 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <nvgpu/pmu.h> | ||
15 | |||
14 | #include "gk20a/gk20a.h" | 16 | #include "gk20a/gk20a.h" |
15 | #include "gk20a/pmu_gk20a.h" | ||
16 | #include "gp106/pmu_gp106.h" | ||
17 | #include "gm206/bios_gm206.h" | 17 | #include "gm206/bios_gm206.h" |
18 | #include "pstate/pstate.h" | 18 | #include "pstate/pstate.h" |
19 | 19 | ||
@@ -29,13 +29,13 @@ static void pmu_handle_rppg_init_msg(struct gk20a *g, struct pmu_msg *msg, | |||
29 | case NV_PMU_RPPG_MSG_ID_INIT_CTRL_ACK: | 29 | case NV_PMU_RPPG_MSG_ID_INIT_CTRL_ACK: |
30 | ctrlId = msg->msg.pg.rppg_msg.init_ctrl_ack.ctrl_id; | 30 | ctrlId = msg->msg.pg.rppg_msg.init_ctrl_ack.ctrl_id; |
31 | *success = 1; | 31 | *success = 1; |
32 | gp106_dbg_pmu("RPPG is acknowledged from PMU %x", | 32 | nvgpu_pmu_dbg(g, "RPPG is acknowledged from PMU %x", |
33 | msg->msg.pg.msg_type); | 33 | msg->msg.pg.msg_type); |
34 | break; | 34 | break; |
35 | } | 35 | } |
36 | } | 36 | } |
37 | 37 | ||
38 | gp106_dbg_pmu("RPPG is acknowledged from PMU %x", | 38 | nvgpu_pmu_dbg(g, "RPPG is acknowledged from PMU %x", |
39 | msg->msg.pg.msg_type); | 39 | msg->msg.pg.msg_type); |
40 | } | 40 | } |
41 | 41 | ||