gpu: nvgpu: Enable ELPG when disabled due to reset
authorMahantesh Kumbar <mkumbar@nvidia.com>
Wed, 9 Mar 2016 07:00:51 +0000 (12:00 +0530)
committerManish Tuteja <mtuteja@nvidia.com>
Wed, 16 Mar 2016 06:06:01 +0000 (23:06 -0700)
commit5bde85f3fdbbea716fed1e7cb72ead7f14cdeb3e
tree3e2be17b0f8666980bd3b8f2a4a0c25d97bd6b33
parentf4f07e721602d33116d38b5dcabdcd71955ce10d
gpu: nvgpu: Enable ELPG when disabled due to reset

Enable ELPG back whenever ELPG disable is done due to reset or recovery.
Otherwise elpg_refcnt mismatch doesn\222t engage ELPG correctly

Bug 200156347
Bug 1716764

Change-Id: I16dd47ebc647e631c1ace59099a36c92d4c3abb0
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1027020
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: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
drivers/gpu/nvgpu/gk20a/gr_gk20a.h