]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdkfd: Unify multiple calls to pr_debug() into one
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Sat, 17 Sep 2016 05:01:44 +0000 (15:01 +1000)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 19 Sep 2016 17:58:35 +0000 (20:58 +0300)
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c

index e621eba63126a09dc65f33ee59dd6bf47785e06d..ad494b875311fcdacc0994afd76ad8be8761513b 100644 (file)
@@ -142,13 +142,15 @@ int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma)
 
        vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 
-       pr_debug("mapping doorbell page:\n");
-       pr_debug("     target user address == 0x%08llX\n",
-                       (unsigned long long) vma->vm_start);
-       pr_debug("     physical address    == 0x%08llX\n", address);
-       pr_debug("     vm_flags            == 0x%04lX\n", vma->vm_flags);
-       pr_debug("     size                == 0x%04lX\n",
-                        doorbell_process_allocation());
+       pr_debug("kfd: mapping doorbell page in %s\n"
+                "     target user address == 0x%08llX\n"
+                "     physical address    == 0x%08llX\n"
+                "     vm_flags            == 0x%04lX\n"
+                "     size                == 0x%04lX\n",
+                __func__,
+                (unsigned long long) vma->vm_start, address, vma->vm_flags,
+                doorbell_process_allocation());
+
 
        return io_remap_pfn_range(vma,
                                vma->vm_start,