summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-10 13:36:45 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-14 04:00:20 -0400
commitbe122117d0bdc51e50a890268d35604c69545a43 (patch)
tree9b5a7b8973c68edd01a12b5c8fe40b434219bee1 /drivers/gpu/nvgpu/gp10b/mm_gp10b.c
parent0e81ecf0210ac1770855664753e7afa2280fd3fb (diff)
gpu: nvgpu: shorten PTE debug print
If the debug message printed to the Linux kernel is too long then the end of the message gets truncated. This causes loss of valuable PTE information. Change-Id: I05e890819ec176c6aa909b04352e8a40f1936ecf Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537077 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index 729ccc39..9aa72e64 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -285,13 +285,13 @@ static void update_gmmu_pte_locked(struct vm_gk20a *vm,
285 285
286 pte_dbg(g, attrs, 286 pte_dbg(g, attrs,
287 "vm=%s " 287 "vm=%s "
288 "PTE: i=%-4u size=%-2u offs=%-4u | " 288 "PTE: i=%-4u size=%-2u | "
289 "GPU %#-12llx phys %#-12llx " 289 "GPU %#-12llx phys %#-12llx "
290 "pgsz: %3dkb perm=%-2s kind=%#02x APT=%-6s %c%c%c%c%c " 290 "pgsz: %3dkb perm=%-2s kind=%#02x APT=%-6s %c%c%c%c%c "
291 "ctag=0x%08x " 291 "ctag=0x%08x "
292 "[0x%08x, 0x%08x]", 292 "[0x%08x, 0x%08x]",
293 vm->name, 293 vm->name,
294 pd_idx, l->entry_size, pd_offset, 294 pd_idx, l->entry_size,
295 virt_addr, phys_addr, 295 virt_addr, phys_addr,
296 page_size >> 10, 296 page_size >> 10,
297 nvgpu_gmmu_perm_str(attrs->rw_flag), 297 nvgpu_gmmu_perm_str(attrs->rw_flag),