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/gm20b/mm_gm20b.c | |
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/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index cf7ae46b..3d75a631 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -120,6 +120,7 @@ void gm20b_init_mm(struct gpu_ops *gops) | |||
120 | gops->mm.fb_flush = gk20a_mm_fb_flush; | 120 | gops->mm.fb_flush = gk20a_mm_fb_flush; |
121 | gops->mm.l2_invalidate = gk20a_mm_l2_invalidate; | 121 | gops->mm.l2_invalidate = gk20a_mm_l2_invalidate; |
122 | gops->mm.l2_flush = gk20a_mm_l2_flush; | 122 | gops->mm.l2_flush = gk20a_mm_l2_flush; |
123 | gops->mm.cbc_clean = gk20a_mm_cbc_clean; | ||
123 | gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate; | 124 | gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate; |
124 | gops->mm.set_big_page_size = gm20b_mm_set_big_page_size; | 125 | gops->mm.set_big_page_size = gm20b_mm_set_big_page_size; |
125 | gops->mm.get_big_page_sizes = gm20b_mm_get_big_page_sizes; | 126 | gops->mm.get_big_page_sizes = gm20b_mm_get_big_page_sizes; |