gpu: nvgpu: gk20a: dont disable pmu in pmu_destroy

bug 1688374

disabling pmu will break RAM suspend on chips implementing
split rails. pmu will be powered down along with rest of
the GPU anyway. pmu_destroy is not be used outside of
rail gating or gpu suspend

Change-Id: I9e89859b7c701f731276ae1d1063d9ccd88d4334
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/805940
(cherry picked from commit 8ded353878ff7df73e55b702041008ddc3cbf069)
Reviewed-on: http://git-master/r/808248
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Vijayakumar
2015-09-28 16:43:13 +05:30
committed by Terje Bergstrom
parent ed0737ab60
commit c94c2035d6

View File

@@ -4179,7 +4179,6 @@ int gk20a_pmu_destroy(struct gk20a *g)
g->pg_gating_cnt += gating_cnt; g->pg_gating_cnt += gating_cnt;
mutex_lock(&pmu->isr_mutex); mutex_lock(&pmu->isr_mutex);
pmu_enable(pmu, false);
pmu->isr_enabled = false; pmu->isr_enabled = false;
mutex_unlock(&pmu->isr_mutex); mutex_unlock(&pmu->isr_mutex);