summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-03-31 05:36:55 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:08:55 -0400
commit0d908e51c806f83daa7a0d6e3bc3dcc6ef28ecd5 (patch)
treeffb1a373fef5d4646399871fcf5b7d7d6c561295 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parent4a8f0db37976036abfe4d70ff60cd0991a177a7d (diff)
gpu: nvgpu: Check bar1 bind
Add two fb flushes after bar1 bind. This should hang the thread instead of whole system in case there is a BAR1 hang. Change-Id: I2385a243711219297b889daa30c9fc81106e5825 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/390183
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 23d15c23..cdbab138 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -287,7 +287,7 @@ int gk20a_init_mm_setup_sw(struct gk20a *g);
287int gk20a_init_bar1_vm(struct mm_gk20a *mm); 287int gk20a_init_bar1_vm(struct mm_gk20a *mm);
288int gk20a_init_pmu_vm(struct mm_gk20a *mm); 288int gk20a_init_pmu_vm(struct mm_gk20a *mm);
289 289
290void gk20a_mm_fb_flush(struct gk20a *g); 290int gk20a_mm_fb_flush(struct gk20a *g);
291void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); 291void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate);
292void gk20a_mm_l2_invalidate(struct gk20a *g); 292void gk20a_mm_l2_invalidate(struct gk20a *g);
293 293