linux/drivers/media/pci/saa7134
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
..
Kconfig
Makefile
saa7134-alsa.c media: pci: fix common ALSA DMA-mapping related codes 2020-09-26 10:34:44 +02:00
saa7134-cards.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
saa7134-core.c media: saa7134: use sg_dma_len when building pgtable 2021-03-11 11:59:44 +01:00
saa7134-dvb.c
saa7134-empress.c media: media/pci: Fix memleak in empress_init 2021-01-12 18:21:54 +01:00
saa7134-go7007.c
saa7134-i2c.c
saa7134-input.c
saa7134-reg.h
saa7134-ts.c
saa7134-tvaudio.c media: saa7134: Fix fall-through warnings for Clang 2021-01-27 12:56:50 +01:00
saa7134-vbi.c
saa7134-video.c media: saa7134: improve f->fmt.win.clips NULL check 2020-11-17 07:13:27 +01:00
saa7134.h media: saa7134-alsa.c: number of pages should be unsigned long 2020-09-03 11:13:46 +02:00