summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/acr_gp106.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-08-11 12:38:54 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:19 -0500
commit315c8714e950ade879221af04a7be3ed90813801 (patch)
tree064837efb809f30626f70a19bbd59b0877b7b180 /drivers/gpu/nvgpu/gp106/acr_gp106.c
parentc7258e57e757fc4d983ef7de0b92aa9e0e26d235 (diff)
gpu: nvgpu: use bootstrap base for WPR
Use bootstrap allocator's base as base address for WPR buffers Jira DNVGPU-84 Change-Id: Ifaeef9f3aa562f9171dd073000c158b513567ede Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1201348 (cherry picked from commit 72f8e727e6f27f867043d024e3d07218359d5faf) Reviewed-on: http://git-master/r/1210960 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/acr_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/acr_gp106.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.c b/drivers/gpu/nvgpu/gp106/acr_gp106.c
index c43b0165..96a2c1fd 100644
--- a/drivers/gpu/nvgpu/gp106/acr_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/acr_gp106.c
@@ -38,7 +38,7 @@ typedef int (*get_ucode_details)(struct gk20a *g,
38 38
39/* Both size and address of WPR need to be 128K-aligned */ 39/* Both size and address of WPR need to be 128K-aligned */
40#define WPR_ALIGNMENT 0x20000 40#define WPR_ALIGNMENT 0x20000
41#define GP106_DGPU_NONWPR 0x18000000 41#define GP106_DGPU_NONWPR NVGPU_VIDMEM_BOOTSTRAP_ALLOCATOR_BASE
42#define GP106_DGPU_WPR (GP106_DGPU_NONWPR + 0x400000) 42#define GP106_DGPU_WPR (GP106_DGPU_NONWPR + 0x400000)
43#define DGPU_WPR_SIZE 0x100000 43#define DGPU_WPR_SIZE 0x100000
44 44