]> Git Repo - linux.git/commit
Revert "[media] V4L: videobuf, don't use dma addr as physical"
authorLinus Torvalds <[email protected]>
Tue, 19 Apr 2011 17:54:44 +0000 (10:54 -0700)
committerLinus Torvalds <[email protected]>
Tue, 19 Apr 2011 17:54:44 +0000 (10:54 -0700)
commit71460af58f8565110160283849db4d6bf7e1efa1
tree79e639b40228bfb9dba1ae424a7fea0ca74a1b98
parentf28c6179e5d8793bbeaceaef15fbbedcb2745f3b
Revert "[media] V4L: videobuf, don't use dma addr as physical"

This reverts commit 35d9f510b67b10338161aba6229d4f55b4000f5b.

Quoth Jiri Slaby:
 "It fixes mmap when IOMMU is used on x86 only, but breaks architectures
  like ARM or PPC where virt_to_phys(dma_alloc_coherent) doesn't work.
  We need there dma_mmap_coherent or similar (the trickery what
  snd_pcm_default_mmap does but in some saner way).  But this cannot be
  done at this phase."

Requested-by: Jiri Slaby <[email protected]>
Cc: Russell King - ARM Linux <[email protected]>
Cc: Janusz Krzysztofik <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/media/video/videobuf-dma-contig.c
This page took 0.053424 seconds and 4 git commands to generate.