summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/gmmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/gmmu.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/gmmu.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c
index dcb53c2a..1f3519aa 100644
--- a/drivers/gpu/nvgpu/common/mm/gmmu.c
+++ b/drivers/gpu/nvgpu/common/mm/gmmu.c
@@ -666,7 +666,7 @@ static int __nvgpu_gmmu_update_page_table(struct vm_gk20a *vm,
666 "vm=%s " 666 "vm=%s "
667 "%-5s GPU virt %#-12llx +%#-9llx phys %#-12llx " 667 "%-5s GPU virt %#-12llx +%#-9llx phys %#-12llx "
668 "phys offset: %#-4llx; pgsz: %3dkb perm=%-2s | " 668 "phys offset: %#-4llx; pgsz: %3dkb perm=%-2s | "
669 "kind=%#02x APT=%-6s %c%c%c", 669 "kind=%#02x APT=%-6s %c%c%c%c%c",
670 vm->name, 670 vm->name,
671 sgt ? "MAP" : "UNMAP", 671 sgt ? "MAP" : "UNMAP",
672 virt_addr, 672 virt_addr,
@@ -677,9 +677,11 @@ static int __nvgpu_gmmu_update_page_table(struct vm_gk20a *vm,
677 nvgpu_gmmu_perm_str(attrs->rw_flag), 677 nvgpu_gmmu_perm_str(attrs->rw_flag),
678 attrs->kind_v, 678 attrs->kind_v,
679 nvgpu_aperture_str(attrs->aperture), 679 nvgpu_aperture_str(attrs->aperture),
680 attrs->cacheable ? 'C' : 'V', /* C = cached, V = volatile. */ 680 attrs->cacheable ? 'C' : 'c', /* C = cached, V = volatile. */
681 attrs->sparse ? 'S' : '-', 681 attrs->sparse ? 'S' : '-',
682 attrs->priv ? 'P' : '-'); 682 attrs->priv ? 'P' : '-',
683 attrs->coherent ? 'c' : '-',
684 attrs->valid ? 'V' : '-');
683 685
684 /* 686 /*
685 * Handle VIDMEM progamming. Currently uses a different scatter list 687 * Handle VIDMEM progamming. Currently uses a different scatter list