summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-02-08 16:39:05 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-22 11:09:06 -0500
commiteb219e9f3f66a3930945260b50254ee1ee99b0cd (patch)
treeeec0c1136247946f3aa57a2dac50f4aef96e9691 /drivers/gpu/nvgpu/gp10b/mm_gp10b.c
parent338c99b4ecacfb3ebd7cc67a81a4c04d6193145e (diff)
gpu: nvgpu: Cleanup map attributes debugging
Make the map attributes printed by map debug code are more easily readable and consistent. Change-Id: I9737131a2ea44c6a080dff0095929760888b83ae Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1654518 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@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 a9308b6e..0439dda9 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -307,10 +307,10 @@ static void update_gmmu_pte_locked(struct vm_gk20a *vm,
307 nvgpu_gmmu_perm_str(attrs->rw_flag), 307 nvgpu_gmmu_perm_str(attrs->rw_flag),
308 attrs->kind_v, 308 attrs->kind_v,
309 nvgpu_aperture_str(attrs->aperture), 309 nvgpu_aperture_str(attrs->aperture),
310 attrs->cacheable ? 'C' : 'v', 310 attrs->cacheable ? 'C' : '-',
311 attrs->sparse ? 'S' : '-', 311 attrs->sparse ? 'S' : '-',
312 attrs->priv ? 'P' : '-', 312 attrs->priv ? 'P' : '-',
313 attrs->coherent ? 'c' : '-', 313 attrs->coherent ? 'I' : '-',
314 attrs->valid ? 'V' : '-', 314 attrs->valid ? 'V' : '-',
315 (u32)attrs->ctag / g->ops.fb.compression_page_size(g), 315 (u32)attrs->ctag / g->ops.fb.compression_page_size(g),
316 pte_w[1], pte_w[0]); 316 pte_w[1], pte_w[0]);