diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-02-08 16:39:05 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-22 11:09:06 -0500 |
commit | eb219e9f3f66a3930945260b50254ee1ee99b0cd (patch) | |
tree | eec0c1136247946f3aa57a2dac50f4aef96e9691 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |
parent | 338c99b4ecacfb3ebd7cc67a81a4c04d6193145e (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/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
269 | nvgpu_gmmu_perm_str(attrs->rw_flag), | 269 | nvgpu_gmmu_perm_str(attrs->rw_flag), |
270 | attrs->kind_v, | 270 | attrs->kind_v, |
271 | nvgpu_aperture_str(attrs->aperture), | 271 | nvgpu_aperture_str(attrs->aperture), |
272 | attrs->cacheable ? 'C' : 'v', | 272 | attrs->cacheable ? 'C' : '-', |
273 | attrs->sparse ? 'S' : '-', | 273 | attrs->sparse ? 'S' : '-', |
274 | attrs->priv ? 'P' : '-', | 274 | attrs->priv ? 'P' : '-', |
275 | attrs->coherent ? 'c' : '-', | 275 | attrs->coherent ? 'I' : '-', |
276 | attrs->valid ? 'V' : '-', | 276 | attrs->valid ? 'V' : '-', |
277 | (u32)attrs->ctag >> ctag_shift, | 277 | (u32)attrs->ctag >> ctag_shift, |
278 | pte_w[1], pte_w[0]); | 278 | pte_w[1], pte_w[0]); |