summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDeepak Goyal <dgoyal@nvidia.com>2017-05-12 08:09:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-15 16:14:47 -0400
commitdf03ec9e3064b027fe5459675f445fb591ef96ee (patch)
tree7fda0885e4596294e1536bc2ca1e412e55502c99 /drivers/gpu
parentb7af57e41b3b0b6e84bba07fbe371a77ee4eecb6 (diff)
gpu: nvgpu: pmu: Re-use elpg stats function.
Assign gp106_pmu_elpg_statistics() for pmu elpg stats in gv11b. Bug 200305607 Change-Id: I18b2b4b7a527d692894e190871db0909bec5aebc Signed-off-by: Deepak Goyal <dgoyal@nvidia.com> Reviewed-on: http://git-master/r/1480844 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/gv11b/pmu_gv11b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
index 4784ee4a..50ddb07b 100644
--- a/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/pmu_gv11b.c
@@ -158,4 +158,5 @@ void gv11b_init_pmu_ops(struct gpu_ops *gops)
158 gops->pmu.pmu_get_queue_head_size = pwr_pmu_queue_head__size_1_v; 158 gops->pmu.pmu_get_queue_head_size = pwr_pmu_queue_head__size_1_v;
159 gops->pmu.pmu_get_queue_tail = pwr_pmu_queue_tail_r; 159 gops->pmu.pmu_get_queue_tail = pwr_pmu_queue_tail_r;
160 gops->pmu.pmu_get_queue_tail_size = pwr_pmu_queue_tail__size_1_v; 160 gops->pmu.pmu_get_queue_tail_size = pwr_pmu_queue_tail__size_1_v;
161 gops->pmu.pmu_elpg_statistics = gp106_pmu_elpg_statistics;
161} 162}