projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69be1f4
)
drm/msm: Print the correct virtual addresses in map/unmap funcs
author
Archit Taneja
<architt@codeaurora.org>
Mon, 18 Apr 2016 06:56:21 +0000
(12:26 +0530)
committer
Rob Clark
<robdclark@gmail.com>
Sat, 16 Jul 2016 14:08:44 +0000
(10:08 -0400)
The msm_iommu_map/unmap funcs have debug prints to show the list of
VA:PA mappings. Use the correct variable to print the VAs.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/msm/msm_iommu.c
b/drivers/gpu/drm/msm/msm_iommu.c
index 3bc8fd327eed16240bc04c1a2addb9d6ac832889..3a294d0da3a00e8222afe8134b1fe894fb1aa3d2 100644
(file)
--- a/
drivers/gpu/drm/msm/msm_iommu.c
+++ b/
drivers/gpu/drm/msm/msm_iommu.c
@@
-62,7
+62,7
@@
static int msm_iommu_map(struct msm_mmu *mmu, uint32_t iova,
dma_addr_t pa = sg_phys(sg) - sg->offset;
size_t bytes = sg->length + sg->offset;
- VERB("map[%d]: %08x %08lx(%zx)", i,
iov
a, (unsigned long)pa, bytes);
+ VERB("map[%d]: %08x %08lx(%zx)", i,
d
a, (unsigned long)pa, bytes);
ret = iommu_map(domain, da, pa, bytes, prot);
if (ret)
@@
-101,7
+101,7
@@
static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova,
if (unmapped < bytes)
return unmapped;
- VERB("unmap[%d]: %08x(%zx)", i,
iov
a, bytes);
+ VERB("unmap[%d]: %08x(%zx)", i,
d
a, bytes);
BUG_ON(!PAGE_ALIGNED(bytes));