mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: mm: don't print lp vma if unified va
If a VM has a unified user virtual address space, then only a single debug print is needed for displaying the user aperture base address/size. If however, the VM doesn't have a unified virtual address space, then 2 debug prints are needed to display the base address/size of the small and large page apertures. Change-Id: I909bef249cfe7cd5a7e1545102aa87bab01d8df2 Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2023282 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
323dedc88d
commit
a9c2a2defd
@@ -374,8 +374,10 @@ int nvgpu_vm_do_init(struct mm_gk20a *mm,
|
||||
|
||||
nvgpu_log_info(g, "user_vma [0x%llx,0x%llx)",
|
||||
user_vma_start, user_vma_limit);
|
||||
nvgpu_log_info(g, "user_lp_vma [0x%llx,0x%llx)",
|
||||
user_lp_vma_start, user_lp_vma_limit);
|
||||
if (!unified_va) {
|
||||
nvgpu_log_info(g, "user_lp_vma [0x%llx,0x%llx)",
|
||||
user_lp_vma_start, user_lp_vma_limit);
|
||||
}
|
||||
nvgpu_log_info(g, "kernel_vma [0x%llx,0x%llx)",
|
||||
kernel_vma_start, kernel_vma_limit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user