diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-10-25 13:06:07 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-09 18:05:12 -0500 |
commit | a4731b328268e1d75429942f769252e3e0d41328 (patch) | |
tree | 5ee3587a0edd609ee6da15a084a0132536f86281 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 54810444d24bd8ca820f88eadbfd227b5fe8c492 (diff) |
gpu: nvgpu: Use end of vidmem as bootstrap region
Instead of hard coding bootstrap region, it should always be set to
the last 256MB of vidmem.
Bug 200244445
Change-Id: I91779d1bf861f4f23a0b646f70b1febbbc4581b5
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1242409
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-on: http://git-master/r/1267124
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 36ba6248..e1ee8c2e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -51,8 +51,6 @@ enum gk20a_aperture { | |||
51 | APERTURE_VIDMEM | 51 | APERTURE_VIDMEM |
52 | }; | 52 | }; |
53 | 53 | ||
54 | #define NVGPU_VIDMEM_BOOTSTRAP_ALLOCATOR_BASE 0x18000000 | ||
55 | |||
56 | static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture) | 54 | static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture) |
57 | { | 55 | { |
58 | switch (aperture) { | 56 | switch (aperture) { |