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/common/mm/gmmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/common/mm') diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index 5a61ac51..ffac324c 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c @@ -628,10 +628,10 @@ static int __nvgpu_gmmu_update_page_table(struct vm_gk20a *vm, nvgpu_gmmu_perm_str(attrs->rw_flag), attrs->kind_v, nvgpu_aperture_str(attrs->aperture), - attrs->cacheable ? 'C' : 'c', /* C = cached, V = volatile. */ + attrs->cacheable ? 'C' : '-', attrs->sparse ? 'S' : '-', attrs->priv ? 'P' : '-', - attrs->coherent ? 'c' : '-', + attrs->coherent ? 'I' : '-', attrs->valid ? 'V' : '-'); err = __nvgpu_gmmu_do_update_page_table(vm, -- cgit v1.2.2