Revert "video: tegra: host: gk20a: Do not suspend if active"
authorArto Merilainen <amerilainen@nvidia.com>
Mon, 25 Nov 2013 14:10:54 +0000 (16:10 +0200)
committerWinnie Hsu <whsu@nvidia.com>
Wed, 12 Feb 2014 05:08:44 +0000 (21:08 -0800)
commit8813c87e805e4be663dfd1af2b34318ce336ece9
treed98f25fb301ae7a3f76b344090b891adc3e859a4
parent8dc89a2dd08d42a1d791fc02239bddf5e6c1a337
Revert "video: tegra: host: gk20a: Do not suspend if active"

This reverts commit 63078e87a62b265111622e58e66d9e67a2e1519b. The
original patch was added to protect kernel from applications that
injected jobs just after pm had suspended the device. This lead
the bookkeeping to get mixed as some callbacks were not called
correctly before the device was suspended.

We have now revisited the suspend sequences and identified that
we actually used to use some callbacks in a wrong way and the
original patch was simply a workaround to hide the issue. Now
that the issues are fixed, we can safely remove the hack.

Bug 1426717

Change-Id: I42d884bc21baad1a37001c354ef1a80e2eba140c
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/358575
(cherry picked from commit 12d0c2928fb62b4ba649dcd88b6fa0b057f1182c)
Reviewed-on: http://git-master/r/335100
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/364149
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jeetesh Burman <jburman@nvidia.com>
Tested-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/video/tegra/host/gk20a/gk20a.c
drivers/video/tegra/host/gk20a/gk20a.h