diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/cde_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/cde_gp10b.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/cde_gp10b.c b/drivers/gpu/nvgpu/common/linux/cde_gp10b.c index 483a3ee7..5c0e79a7 100644 --- a/drivers/gpu/nvgpu/common/linux/cde_gp10b.c +++ b/drivers/gpu/nvgpu/common/linux/cde_gp10b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GP10B CDE | 2 | * GP10B CDE |
3 | * | 3 | * |
4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -117,7 +117,7 @@ int gp10b_populate_scatter_buffer(struct gk20a *g, | |||
117 | u64 surf_pa = sg_phys(sg); | 117 | u64 surf_pa = sg_phys(sg); |
118 | unsigned int n = (int)(sg->length >> page_size_log2); | 118 | unsigned int n = (int)(sg->length >> page_size_log2); |
119 | 119 | ||
120 | gk20a_dbg(gpu_dbg_cde, "surfPA=0x%llx + %d pages", surf_pa, n); | 120 | nvgpu_log(g, gpu_dbg_cde, "surfPA=0x%llx + %d pages", surf_pa, n); |
121 | 121 | ||
122 | for (j=0; j < n && pages_left > 0; j++, surf_pa += page_size) { | 122 | for (j=0; j < n && pages_left > 0; j++, surf_pa += page_size) { |
123 | u32 addr = (((u32)(surf_pa>>7)) & getSliceMaskGP10B) >> page_size_shift; | 123 | u32 addr = (((u32)(surf_pa>>7)) & getSliceMaskGP10B) >> page_size_shift; |
@@ -143,9 +143,9 @@ int gp10b_populate_scatter_buffer(struct gk20a *g, | |||
143 | scatter_buffer[page >> 3] = d; | 143 | scatter_buffer[page >> 3] = d; |
144 | 144 | ||
145 | if (nvgpu_log_mask_enabled(g, gpu_dbg_cde)) { | 145 | if (nvgpu_log_mask_enabled(g, gpu_dbg_cde)) { |
146 | gk20a_dbg(gpu_dbg_cde, "scatterBuffer content:"); | 146 | nvgpu_log(g, gpu_dbg_cde, "scatterBuffer content:"); |
147 | for (i = 0; i < page >> 3; i++) { | 147 | for (i = 0; i < page >> 3; i++) { |
148 | gk20a_dbg(gpu_dbg_cde, " %x", scatter_buffer[i]); | 148 | nvgpu_log(g, gpu_dbg_cde, " %x", scatter_buffer[i]); |
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||