]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
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)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 29 Jan 2014 11:29:12 +0000 (03:29 -0800)
commitbf09d3dfdbb185850d023179f352d34d3f852178
tree187f379a79a29b9f1f8a23a030d9c655dee4a512
parent3556348ec6331ddad13bae18701184fa36a6d1ea
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>
drivers/video/tegra/host/gk20a/gk20a.c
drivers/video/tegra/host/gk20a/gk20a.h