summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-09-10 10:18:14 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-25 16:57:52 -0400
commitb96a6506d0095ef7271b9fadaba2e0dc6ca33484 (patch)
treed0046293da8b6afc316da9ad16955efb056ff932 /drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
parent7e1dbd8303f40292cd406671a835764b16153e99 (diff)
gpu: nvgpu: rename PMU perf unit to pmu_perf
Move all files under perf/* to pmu_perf/* since pmu_perf is logically appropriate name for PMU's perf unit Rename perf.c to pmu_perf.c Also rename the HAL from gops.perf to gops.pmu_perf Jira NVGPU-1102 Change-Id: I79e73b8b102ddf6b49783c2f38d861cd43b0b4c6 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1819301 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu/pmu_ipc.c')
-rw-r--r--drivers/gpu/nvgpu/common/pmu/pmu_ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
index 6f1ca88a..f116df13 100644
--- a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
+++ b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
@@ -607,8 +607,8 @@ static int pmu_handle_event(struct nvgpu_pmu *pmu, struct pmu_msg *msg)
607 err = nvgpu_pmu_handle_perfmon_event(pmu, &msg->msg.perfmon); 607 err = nvgpu_pmu_handle_perfmon_event(pmu, &msg->msg.perfmon);
608 break; 608 break;
609 case PMU_UNIT_PERF: 609 case PMU_UNIT_PERF:
610 if (g->ops.perf.handle_pmu_perf_event != NULL) { 610 if (g->ops.pmu_perf.handle_pmu_perf_event != NULL) {
611 err = g->ops.perf.handle_pmu_perf_event(g, 611 err = g->ops.pmu_perf.handle_pmu_perf_event(g,
612 (void *)&msg->msg.perf); 612 (void *)&msg->msg.perf);
613 } else { 613 } else {
614 WARN_ON(true); 614 WARN_ON(true);