From be122117d0bdc51e50a890268d35604c69545a43 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 10 Aug 2017 10:36:45 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1537077 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp10b/mm_gp10b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gp10b') 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, pte_dbg(g, attrs, "vm=%s " - "PTE: i=%-4u size=%-2u offs=%-4u | " + "PTE: i=%-4u size=%-2u | " "GPU %#-12llx phys %#-12llx " "pgsz: %3dkb perm=%-2s kind=%#02x APT=%-6s %c%c%c%c%c " "ctag=0x%08x " "[0x%08x, 0x%08x]", vm->name, - pd_idx, l->entry_size, pd_offset, + pd_idx, l->entry_size, virt_addr, phys_addr, page_size >> 10, nvgpu_gmmu_perm_str(attrs->rw_flag), -- cgit v1.2.2