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/common | |
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/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
628 | nvgpu_gmmu_perm_str(attrs->rw_flag), | 628 | nvgpu_gmmu_perm_str(attrs->rw_flag), |
629 | attrs->kind_v, | 629 | attrs->kind_v, |
630 | nvgpu_aperture_str(attrs->aperture), | 630 | nvgpu_aperture_str(attrs->aperture), |
631 | attrs->cacheable ? 'C' : 'c', /* C = cached, V = volatile. */ | 631 | attrs->cacheable ? 'C' : '-', |
632 | attrs->sparse ? 'S' : '-', | 632 | attrs->sparse ? 'S' : '-', |
633 | attrs->priv ? 'P' : '-', | 633 | attrs->priv ? 'P' : '-', |
634 | attrs->coherent ? 'c' : '-', | 634 | attrs->coherent ? 'I' : '-', |
635 | attrs->valid ? 'V' : '-'); | 635 | attrs->valid ? 'V' : '-'); |
636 | 636 | ||
637 | err = __nvgpu_gmmu_do_update_page_table(vm, | 637 | err = __nvgpu_gmmu_do_update_page_table(vm, |