From eb219e9f3f66a3930945260b50254ee1ee99b0cd Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 8 Feb 2018 13:39:05 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1654518 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 35c4d688..b27d1109 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c @@ -269,10 +269,10 @@ static void update_gmmu_pte_locked(struct vm_gk20a *vm, nvgpu_gmmu_perm_str(attrs->rw_flag), attrs->kind_v, nvgpu_aperture_str(attrs->aperture), - attrs->cacheable ? 'C' : 'v', + attrs->cacheable ? 'C' : '-', attrs->sparse ? 'S' : '-', attrs->priv ? 'P' : '-', - attrs->coherent ? 'c' : '-', + attrs->coherent ? 'I' : '-', attrs->valid ? 'V' : '-', (u32)attrs->ctag >> ctag_shift, pte_w[1], pte_w[0]); -- cgit v1.2.2