summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-11-06 11:32:36 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-11-10 13:33:39 -0500
commit84523485399e29abeb4e89c064b4591985aeea91 (patch)
tree04b339fc93a5f155e53b2bc72df3ec66f22eaa1d /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parentcccd038f8d753c045d3592fc2730f750766df78b (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.h1
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
284int gk20a_mm_fb_flush(struct gk20a *g); 284int gk20a_mm_fb_flush(struct gk20a *g);
285void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); 285void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate);
286void gk20a_mm_cbc_clean(struct gk20a *g);
286void gk20a_mm_l2_invalidate(struct gk20a *g); 287void gk20a_mm_l2_invalidate(struct gk20a *g);
287 288
288struct mm_gk20a { 289struct mm_gk20a {