diff options
author | Daniel Fu <danifu@nvidia.com> | 2018-07-04 11:56:26 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-18 17:26:12 -0400 |
commit | 96d53bff8598a44fcec3f2492c8ec630d71d5dd0 (patch) | |
tree | 3f6572646bfb21d3fb3cbf130164f94295a45a55 /drivers/gpu/nvgpu/therm/thrmchannel.h | |
parent | 77dc80699c3be6c25e3b8f9e164e9f3084d9b938 (diff) |
gpu: nvgpu: avoid redundant enable/disable PG
ELPG powergate is refcounted. We should not enable/disable it,
if it's already so. Or it will break the PG disable/enable function.
Bug 200410661
Change-Id: Ife60f373b877d1ffc441578ffa53fe0d4409eba6
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1774265
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.h')
0 files changed, 0 insertions, 0 deletions