diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-11-06 11:32:36 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-11-10 13:33:39 -0500 |
commit | 84523485399e29abeb4e89c064b4591985aeea91 (patch) | |
tree | 04b339fc93a5f155e53b2bc72df3ec66f22eaa1d /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | cccd038f8d753c045d3592fc2730f750766df78b (diff) |
gpu: nvgpu: Do not use G_ELPG_FLUSH
G_ELPG_FLUSH is protected in some chips. Use L2 flush operations
instead.
Bug 1698618
Change-Id: I984a8ace8bcd0ad2d4a4e2d63af75a342bdeb75a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/828656
(cherry picked from commit ba9075fa43975112a221d37d246f0b8f5af40fab)
Reviewed-on: http://git-master/r/829415
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index e44ee631..9e373d8e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -283,6 +283,7 @@ int gk20a_init_mm_setup_hw(struct gk20a *g); | |||
283 | 283 | ||
284 | int gk20a_mm_fb_flush(struct gk20a *g); | 284 | int gk20a_mm_fb_flush(struct gk20a *g); |
285 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); | 285 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); |
286 | void gk20a_mm_cbc_clean(struct gk20a *g); | ||
286 | void gk20a_mm_l2_invalidate(struct gk20a *g); | 287 | void gk20a_mm_l2_invalidate(struct gk20a *g); |
287 | 288 | ||
288 | struct mm_gk20a { | 289 | struct mm_gk20a { |