video: tegra: host: Wait ZBC save completion
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 7 Nov 2013 09:59:58 +0000 (11:59 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 8 Nov 2013 12:56:29 +0000 (04:56 -0800)
commit13b45535956aed7f5e47e66db7295350b155dd49
treef62be8e25c3b2b2c8de763b1c2463f64cc899676
parente5e08fd4c5726839aa81e7e4484cdfc9d21b3862
video: tegra: host: Wait ZBC save completion

This far we have performed ZBC save without waiting it to complete
(properly). We have simply called pmu_idle() after save which does
not guarantee save operation to be completed.

This patch adds necessary code to check that the save is completed
before proceeding.

Change-Id: Ia25bbcc58b21c2c76cc130884ef66022498f9aae
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/327647
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/pmu_gk20a.c
drivers/video/tegra/host/gk20a/pmu_gk20a.h