diff options
author | Vijayakumar <vsubbu@nvidia.com> | 2016-05-18 03:26:38 -0400 |
---|---|---|
committer | Bibek Basu <bbasu@nvidia.com> | 2016-05-23 02:54:45 -0400 |
commit | dc6aa0663f6341cb722f2e187d81ecf47e361eff (patch) | |
tree | 7e57ac18ab12cbbd2fd8b7ec36c7c63bae3fa954 /drivers/gpu/nvgpu/pci.c | |
parent | 64f2e3ee9be32aab8bc7f3d373e4b89d60d3fe53 (diff) |
gpu: nvgpu: gk20a: fix elpg sysfs control
bug 200200943
When we enable ELPG through sysfs there is a possibility of
refcounting twice as enable ELPG function is done in
scheduled work during rail gating exit and also called from sysfs
write. Just updating elpg enable/disable flag is good enough
as ELPG code uses it during rail gating exit
Change-Id: Ibb267d4ce30b9848abcde29882b90d884ef213bb
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/1149587
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pci.c')
0 files changed, 0 insertions, 0 deletions