]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: gk20a: Do not defer ELPG init
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 18 Feb 2014 08:58:55 +0000 (10:58 +0200)
committerBharat Nihalani <bnihalani@nvidia.com>
Tue, 18 Feb 2014 13:03:04 +0000 (05:03 -0800)
commit4100add7d80ff68669cec4f8f47b26e232dc7da5
tree6a205e599d9339da275da26ee8c788e7e43aa6b9
parenta0f2478a9408f4c976e7bbf07c7877ecc5baa91b
video: tegra: host: gk20a: Do not defer ELPG init

Currently the second phase of PMU initialisation runs asynchronously
with other code. This optimises the boot-up time, however, it may
cause unexpected race in PMU code as some functions are called while
the ELPG is still being initialised.

This patch modifies the ELPG initialisation to happen synchronously
as part of power on sequence.

Bug 1456985
Bug 1460116
Bug 1458353

Change-Id: Ic979b3e054a17c0bc6979da2cf03d98f8d416c26
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/368702
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/host/gk20a/gk20a.c