summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu/pmu_ipc.c')
-rw-r--r--drivers/gpu/nvgpu/common/pmu/pmu_ipc.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
index 2811a4b0..77acbafc 100644
--- a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
+++ b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -993,6 +993,15 @@ static void pmu_rpc_handler(struct gk20a *g, struct pmu_msg *msg,
993 } 993 }
994 994
995 switch (msg->hdr.unit_id) { 995 switch (msg->hdr.unit_id) {
996 case PMU_UNIT_ACR:
997 switch (rpc.function) {
998 case NV_PMU_RPC_ID_ACR_INIT_WPR_REGION:
999 nvgpu_pmu_dbg(g,
1000 "reply NV_PMU_RPC_ID_ACR_INIT_WPR_REGION");
1001 g->pmu_lsf_pmu_wpr_init_done = 1;
1002 break;
1003 }
1004 break;
996 case PMU_UNIT_PERFMON_T18X: 1005 case PMU_UNIT_PERFMON_T18X:
997 case PMU_UNIT_PERFMON: 1006 case PMU_UNIT_PERFMON:
998 switch (rpc.function) { 1007 switch (rpc.function) {