diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-07-31 03:39:06 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-02 13:46:31 -0400 |
commit | ea381959d973f013a2a2b2ae6fe694f1f569683c (patch) | |
tree | 555d074815bf4a6ba7612d733e842620cb271d1c | |
parent | 7c2b4d70ec98f9da123744ffddb413a606cbbd2b (diff) |
gpu: nvgpu: fix L3 alloc bit
Last minute rebase of commit afa31cdd8cc6bb04faeed30b2cc30f5e6be888b5 on
top of reworked memory infrastucture introduced a bug where we actually
need to set BIT(36) in physical address but we ended up ORing the
address by "36"
Fix this by by adding correct value BIT(36) instead of 36
Jira GPUT19X-10
Bug 200279508
Change-Id: Ib587849c75f57dda5ad802b8389b7563b8b690ed
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1529511
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/mm_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/mm_gv11b.c b/drivers/gpu/nvgpu/gv11b/mm_gv11b.c index 9430f576..9be8352a 100644 --- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <nvgpu/hw/gv11b/hw_gmmu_gv11b.h> | 32 | #include <nvgpu/hw/gv11b/hw_gmmu_gv11b.h> |
33 | #include <nvgpu/hw/gv11b/hw_bus_gv11b.h> | 33 | #include <nvgpu/hw/gv11b/hw_bus_gv11b.h> |
34 | 34 | ||
35 | #define NVGPU_L3_ALLOC_BIT 36 | 35 | #define NVGPU_L3_ALLOC_BIT BIT(36) |
36 | 36 | ||
37 | static bool gv11b_mm_is_bar1_supported(struct gk20a *g) | 37 | static bool gv11b_mm_is_bar1_supported(struct gk20a *g) |
38 | { | 38 | { |