gpu: nvgpu: Call ELPG enable/disable on condition
authorMahantesh Kumbar <mkumbar@nvidia.com>
Wed, 9 Mar 2016 07:13:55 +0000 (12:13 +0530)
committerManish Tuteja <mtuteja@nvidia.com>
Wed, 16 Mar 2016 06:06:24 +0000 (23:06 -0700)
commitf45ae9497494ba18fca6238a5adebafb69a6738c
treef9a6538ccbba5f5b10d115685631f0481cce94b7
parent5bde85f3fdbbea716fed1e7cb72ead7f14cdeb3e
gpu: nvgpu: Call ELPG enable/disable on condition

Call ELPG enable/disable if ELPG support enabled else ignore

Bug 200156347
Bug 1716764

Change-Id: I0bf4bacb23c087600b0632f806b12e94ebe090a5
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1027030
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Tested-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/gr_gk20a.h