diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-08-10 19:14:21 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-21 17:54:20 -0400 |
commit | 9f5a464d289f22302c81409b08f5615da89a4502 (patch) | |
tree | 490d15c8ff1856f33cce5a34eb009b00fbc05fc5 /drivers | |
parent | 14cf2edac71a57a277dc671d02c9a237026aa482 (diff) |
gpu: nvgpu: Use BIT64() for NVGPU_L3_ALLOC_BIT
This bit is in the upper half a 64bit field (bit 36). As
such the BIT64() macro must now be used.
Change-Id: Id91ee982ca91be4b6a4f61ded2cf1bc98b3519d1
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1797198
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-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 39c79bba..b8272a92 100644 --- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.c | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #include <nvgpu/hw/gv11b/hw_gmmu_gv11b.h> | 40 | #include <nvgpu/hw/gv11b/hw_gmmu_gv11b.h> |
41 | 41 | ||
42 | #define NVGPU_L3_ALLOC_BIT BIT(36) | 42 | #define NVGPU_L3_ALLOC_BIT BIT64(36) |
43 | 43 | ||
44 | bool gv11b_mm_is_bar1_supported(struct gk20a *g) | 44 | bool gv11b_mm_is_bar1_supported(struct gk20a *g) |
45 | { | 45 | { |