summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-04-19 18:47:40 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-25 11:16:10 -0400
commitb10e02f53769c6b8dcc58db09ae1cec0cdca4417 (patch)
tree8d58aec66ea50248a8821a99633e59afd82c67a5 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parent5765694f2a5eb52ad8710667821e381b233a70fd (diff)
gpu: nvgpu: Program NISO sysmem flush addr
Program sysmem flush address to prevent random accesses of address 0. Change-Id: I886170395f036805f02e0bce7ecd3c8c46b921df Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1129216 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 2d137bbe..2c2df1a9 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -359,6 +359,8 @@ struct mm_gk20a {
359 bool has_physical_mode; 359 bool has_physical_mode;
360 /* false if vidmem aperture actually points to sysmem */ 360 /* false if vidmem aperture actually points to sysmem */
361 bool vidmem_is_vidmem; 361 bool vidmem_is_vidmem;
362
363 struct mem_desc sysmem_flush;
362}; 364};
363 365
364int gk20a_mm_init(struct mm_gk20a *mm); 366int gk20a_mm_init(struct mm_gk20a *mm);