Skip to content

Commit 0078a6f

Browse files
suijingfenglynxeye-dev
authored andcommitted
drm/etnaviv: Fix the debug log of the etnaviv_iommu_map()
The value of the 'iova' variable is the start GPUVA that is going to be mapped, its value doesn't changed when the mapping is on going. Replace it with the 'da' variable, which is incremental and it reflects the actual address being mapped exactly. Signed-off-by: Sui Jingfeng <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent 9aad03e commit 0078a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/etnaviv/etnaviv_mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static int etnaviv_iommu_map(struct etnaviv_iommu_context *context,
8686
unsigned int da_len = sg_dma_len(sg);
8787
unsigned int bytes = min_t(unsigned int, da_len, va_len);
8888

89-
VERB("map[%d]: %08x %pap(%x)", i, iova, &pa, bytes);
89+
VERB("map[%d]: %08x %pap(%x)", i, da, &pa, bytes);
9090

9191
ret = etnaviv_context_map(context, da, pa, bytes, prot);
9292
if (ret)

0 commit comments

Comments
 (0)