From b96a6506d0095ef7271b9fadaba2e0dc6ca33484 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 10 Sep 2018 19:48:14 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1819301 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/pmu/pmu_ipc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/common/pmu/pmu_ipc.c') 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) err = nvgpu_pmu_handle_perfmon_event(pmu, &msg->msg.perfmon); break; case PMU_UNIT_PERF: - if (g->ops.perf.handle_pmu_perf_event != NULL) { - err = g->ops.perf.handle_pmu_perf_event(g, + if (g->ops.pmu_perf.handle_pmu_perf_event != NULL) { + err = g->ops.pmu_perf.handle_pmu_perf_event(g, (void *)&msg->msg.perf); } else { WARN_ON(true); -- cgit v1.2.2