Commit 6f4d92a1 authored by Edward O'Callaghan's avatar Edward O'Callaghan Committed by Oded Gabbay

drm/amdkfd: Unify multiple calls to pr_debug() into one

Signed-off-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 1d602430
...@@ -142,13 +142,15 @@ int kfd_doorbell_mmap(struct kfd_process *process, struct vm_area_struct *vma) ...@@ -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); vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
pr_debug("mapping doorbell page:\n"); pr_debug("kfd: mapping doorbell page in %s\n"
pr_debug(" target user address == 0x%08llX\n", " target user address == 0x%08llX\n"
(unsigned long long) vma->vm_start); " physical address == 0x%08llX\n"
pr_debug(" physical address == 0x%08llX\n", address); " vm_flags == 0x%04lX\n"
pr_debug(" vm_flags == 0x%04lX\n", vma->vm_flags); " size == 0x%04lX\n",
pr_debug(" size == 0x%04lX\n", __func__,
doorbell_process_allocation()); (unsigned long long) vma->vm_start, address, vma->vm_flags,
doorbell_process_allocation());
return io_remap_pfn_range(vma, return io_remap_pfn_range(vma,
vma->vm_start, vma->vm_start,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment