diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-03-28 16:39:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-04 02:24:31 -0400 |
commit | a108d3f0368c72f2d553cac1470531677b5a7b88 (patch) | |
tree | 24e252a07dfc4951c60e321e8e44e74a4df7e84f /drivers/gpu/nvgpu/gk20a | |
parent | af65ec26976719547212ae29abc10548cf40b7ac (diff) |
gpu: nvgpu: Use u64 for log mask
BIT() is defined as returning a 64-bit value. We use it to create the
log mask values, but the functions that accept log mask take only
u32 as parameter.
Use u64 as log mask parameter for the logging functions to match the
sizes.
Change-Id: I6f0803a7d04ee6a2ee725b5defc4cc14b5b7acf5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1683818
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b5ebb9ba..d61423d1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1233,7 +1233,7 @@ struct gk20a { | |||
1233 | bool suspended; | 1233 | bool suspended; |
1234 | bool sw_ready; | 1234 | bool sw_ready; |
1235 | 1235 | ||
1236 | u32 log_mask; | 1236 | u64 log_mask; |
1237 | u32 log_trace; | 1237 | u32 log_trace; |
1238 | 1238 | ||
1239 | struct nvgpu_gpu_params params; | 1239 | struct nvgpu_gpu_params params; |