summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2015-04-16 06:46:47 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:05 -0500
commitc5425c5a1b3795e9a7d0887eccd025509186bcd1 (patch)
tree332c121b0355c137f4cf544427113ff7e1defaa7 /drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
parentac0cd782ab539d3a89ac2cc50955f80b8be456d1 (diff)
gpu: nvgpu: gp10b:inherit gm20b acr init wpr func
-method gm20b_pmu_init_acr() used for gp10b acr init wpr region Bug 200085428 Change-Id: I897aa42b0a8ef7478d4b3f64fe1834532d35b303 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/732213 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Tested-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/pmu_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/pmu_gp10b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
index 3db0d4c3..4ba0f997 100644
--- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP10B PMU 2 * GP10B PMU
3 * 3 *
4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
5* 5*
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -155,7 +155,7 @@ void gp10b_init_pmu_ops(struct gpu_ops *gops)
155{ 155{
156 if (gops->privsecurity) { 156 if (gops->privsecurity) {
157 gm20b_init_secure_pmu(gops); 157 gm20b_init_secure_pmu(gops);
158 gops->pmu.init_wpr_region = NULL; 158 gops->pmu.init_wpr_region = gm20b_pmu_init_acr;
159 } else { 159 } else {
160 gk20a_init_pmu_ops(gops); 160 gk20a_init_pmu_ops(gops);
161 gops->pmu.init_wpr_region = NULL; 161 gops->pmu.init_wpr_region = NULL;