]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ipu6: use the IPU6 DMA mapping APIs to do mapping
authorBingbu Cao <bingbu.cao@intel.com>
Wed, 16 Oct 2024 07:53:02 +0000 (15:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:04:14 +0000 (20:04 +0100)
commitd38610a978d68cbc381bbbafb7e6945de24fb188
treeb280968246b327b40f240ce4d7572c510cff8abc
parent4904a01e47373755c4ff51f3fd493db5392d3356
media: ipu6: use the IPU6 DMA mapping APIs to do mapping

commit 1d4a000289979cc7f2887c8407b1bfe2a0918354 upstream.

dma_ops is removed from the IPU6 auxiliary device, ISYS driver
should use the IPU6 DMA mapping APIs directly instead of depending
on the device callbacks.

ISYS driver switch from the videobuf2 DMA contig memory allocator to
scatter/gather memory allocator.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
[Sakari Ailus: Rebased on recent videobuf2 wait changes.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/pci/intel/ipu6/Kconfig
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c
drivers/media/pci/intel/ipu6/ipu6-isys-queue.h
drivers/media/pci/intel/ipu6/ipu6-isys.c