]> git.ipfire.org Git - thirdparty/linux.git/commit
media: staging/ipu7: add IPU7 DMA APIs and MMU mapping
authorBingbu Cao <bingbu.cao@intel.com>
Thu, 29 May 2025 04:13:18 +0000 (12:13 +0800)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 3 Jul 2025 13:44:21 +0000 (15:44 +0200)
commit71d81c25683a7cace187cdeeb232b51bb72a0d04
treec9b5e54eb3486fa13b6f0d30febdf4f6f88c70df
parentb7fe4c0019b12d60ece3e99eeb0ccfd5a1d103e5
media: staging/ipu7: add IPU7 DMA APIs and MMU mapping

The Intel IPU7 has internal microprocessor which runs the firmware
The microprocessor accesses system DRAM by its internal 32-bit virtual
address space. Driver should setup the MMU table and expose the DMA
APIs for memory buffer mapping.

This patch adds the IPU MMU and a DMA mapping implementation to setup
the internal MMU hardware.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/staging/media/ipu7/ipu7-dma.c [new file with mode: 0644]
drivers/staging/media/ipu7/ipu7-dma.h [new file with mode: 0644]
drivers/staging/media/ipu7/ipu7-mmu.c [new file with mode: 0644]
drivers/staging/media/ipu7/ipu7-mmu.h [new file with mode: 0644]