diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-08-06 03:41:07 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:47 -0400 |
commit | 7f991657c102e819e90faedf74b081cc246c892e (patch) | |
tree | f0943c1ebfa3fb946671753a73d11a26027c4f0b /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 2489960344b02fb8ca8f725a481ead527bb0da49 (diff) |
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
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index a03d5765..a82ad254 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -259,6 +259,9 @@ struct gk20a { | |||
259 | void __iomem *bar1_saved; | 259 | void __iomem *bar1_saved; |
260 | 260 | ||
261 | bool power_on; | 261 | bool power_on; |
262 | #ifdef CONFIG_INPUT_CFBOOST | ||
263 | bool boost_added; | ||
264 | #endif | ||
262 | 265 | ||
263 | struct rw_semaphore busy_lock; | 266 | struct rw_semaphore busy_lock; |
264 | 267 | ||