summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/pramin.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/pramin.c')
-rw-r--r--drivers/gpu/nvgpu/common/pramin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/common/pramin.c b/drivers/gpu/nvgpu/common/pramin.c
index 98565140..ed961965 100644
--- a/drivers/gpu/nvgpu/common/pramin.c
+++ b/drivers/gpu/nvgpu/common/pramin.c
@@ -28,13 +28,6 @@
28#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
29 29
30/* 30/*
31 * Flip this to force all gk20a_mem* accesses via PRAMIN from the start of the
32 * boot, even for buffers that would work via cpu_va. In runtime, the flag is
33 * in debugfs, called "force_pramin".
34 */
35#define GK20A_FORCE_PRAMIN_DEFAULT false
36
37/*
38 * The PRAMIN range is 1 MB, must change base addr if a buffer crosses that. 31 * The PRAMIN range is 1 MB, must change base addr if a buffer crosses that.
39 * This same loop is used for read/write/memset. Offset and size in bytes. 32 * This same loop is used for read/write/memset. Offset and size in bytes.
40 * One call to "loop" is done per range, with "arg" supplied. 33 * One call to "loop" is done per range, with "arg" supplied.
@@ -96,5 +89,4 @@ void nvgpu_init_pramin(struct mm_gk20a *mm)
96{ 89{
97 mm->pramin_window = 0; 90 mm->pramin_window = 0;
98 nvgpu_spinlock_init(&mm->pramin_window_lock); 91 nvgpu_spinlock_init(&mm->pramin_window_lock);
99 mm->force_pramin = GK20A_FORCE_PRAMIN_DEFAULT;
100} 92}