linux/drivers/media
Tasos Sahanidis 4e1cb753c0 media: saa7134: use sg_dma_len when building pgtable
The new AMD IOMMU DMA implementation concatenates sglist entries under
certain conditions, and because saa7134 accessed the length member
directly, it did not support this scenario.

This fixes IO_PAGE_FAULTs and choppy DMA audio by using the
sg_dma_len macro.

Fixes: be62dbf554 ("iommu/amd: Convert AMD iommu driver to the dma-iommu api")
Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-11 11:59:44 +01:00
..
cec media: cec-notifier: also search for HDMI devices on I2C 2021-03-11 11:59:44 +01:00
common media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
dvb-core media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
dvb-frontends media: mxl692: MaxLinear 692 ATSC demod/tuner driver 2021-02-05 23:37:59 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: saa7134: use sg_dma_len when building pgtable 2021-03-11 11:59:44 +01:00
platform media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
radio media: use getter/setter functions 2021-03-11 11:59:42 +01:00
rc media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
spi media: use getter/setter functions 2021-03-11 11:59:42 +01:00
test-drivers media: vivid: fix assignment of dev->fbuf_out_flags 2021-03-11 11:59:44 +01:00
tuners media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
usb media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
v4l2-core media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00