]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Module suspend informs EDP
authorArto Merilainen <amerilainen@nvidia.com>
Mon, 27 Jan 2014 13:35:02 +0000 (15:35 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 29 Jan 2014 11:35:13 +0000 (03:35 -0800)
commit26a801dc5fd89df910c0b03c094c5d17d1e9866f
tree0f3f6191465841d3a44680172162b97d2b4f469a
parentbf09d3dfdbb185850d023179f352d34d3f852178
video: tegra: host: Module suspend informs EDP

GPU scaling informs the current GPU load to EDP each time we change
the GPU frequency. Usually the load vanishes and hence this approach
has proven to work well. However, occassionally the GPU load is high
on the last time we estimate the frequency (before suspending) and this
leads EDP to think that GPU is busy even though it is already turned
off.

This patch adds a path to inform EDP about zero load when we are
suspending the GPU EDP device.

Change-Id: Idfe72ad6afbf2aa01cc30408b7f0890c76a89f62
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/360431
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/nvhost_acm.c