gpu: nvgpu: Add boost once GPU is initialized

Workaround for GPU hang if boost turns GPU on before it is
initialized.

Bug 1435870

Change-Id: I07d0617049612344ca7c494da8cb8d75789984e5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/453375
This commit is contained in:
Terje Bergstrom
2014-08-06 10:41:07 +03:00
committed by Dan Willemsen
parent 2489960344
commit 7f991657c1
2 changed files with 13 additions and 5 deletions

View File

@@ -259,6 +259,9 @@ struct gk20a {
void __iomem *bar1_saved;
bool power_on;
#ifdef CONFIG_INPUT_CFBOOST
bool boost_added;
#endif
struct rw_semaphore busy_lock;