linux_dsm_epyc7002/drivers/media/platform/vsp1
Magnus Damm 2cc2137ffb v4l: vsp1: Map the DL and video buffers through the proper bus master
On Gen2 hardware the VSP1 is a bus master and accesses the display list
and video buffers through DMA directly. On Gen3 hardware, however,
memory accesses go through a separate IP core called FCP.

The VSP1 driver unconditionally maps DMA buffers through the VSP device.
While this doesn't cause any practical issue so far, DMA mappings will
be incorrect as soon as we will enable IOMMU support for the FCP on Gen3
platforms, resulting in IOMMU faults.

Fix this by mapping all buffers through the FCP device if present, and
through the VSP1 device as usual otherwise.

Suggested-by: Magnus Damm <magnus.damm@gmail.com>
[Cache the bus master device]
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: Mauro Cavalho Chehab <mchehab@s-opensource.com>
2017-06-09 12:25:37 +01:00
..
Makefile [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_bru.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_bru.h [media] v4l: vsp1: Store active selection rectangles in a pad config structure 2016-04-13 18:53:22 -03:00
vsp1_clu.c [media] vsp1: fix CodingStyle violations on multi-line comments 2016-09-19 15:18:01 -03:00
vsp1_clu.h [media] v4l: vsp1: clu: Support runtime modification of controls 2016-06-28 12:25:31 -03:00
vsp1_dl.c v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00
vsp1_dl.h v4l: vsp1: Postpone frame end handling in event of display list race 2017-05-22 16:15:14 +01:00
vsp1_drm.c v4l: vsp1: Extend VSP1 module API to allow DRM callbacks 2017-05-22 16:15:34 +01:00
vsp1_drm.h v4l: vsp1: Extend VSP1 module API to allow DRM callbacks 2017-05-22 16:15:34 +01:00
vsp1_drv.c v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00
vsp1_entity.c [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_entity.h [media] v4l: vsp1: Support histogram generators in pipeline configuration 2017-04-14 22:42:50 -03:00
vsp1_hgo.c [media] vsp1: set V4L2_CTRL_FLAG_MODIFY_LAYOUT for histogram controls 2017-04-14 22:55:54 -03:00
vsp1_hgo.h [media] v4l: vsp1: Add HGO support 2017-04-14 22:48:33 -03:00
vsp1_hgt.c [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_hgt.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_histo.c [media] v4l: vsp1: Add histogram support 2017-04-14 22:42:14 -03:00
vsp1_histo.h [media] v4l: vsp1: Add histogram support 2017-04-14 22:42:14 -03:00
vsp1_hsit.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_hsit.h [media] v4l: vsp1: Add HST and HSI support 2013-12-11 09:22:44 -02:00
vsp1_lif.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_lif.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_lut.c [media] v4l: vsp1: Replace .set_memory() with VSP1_ENTITY_PARAMS_PARTITION 2016-09-19 14:58:59 -03:00
vsp1_lut.h [media] v4l: vsp1: lut: Support runtime modification of controls 2016-06-28 12:24:37 -03:00
vsp1_pipe.c v4l: vsp1: Postpone frame end handling in event of display list race 2017-05-22 16:15:14 +01:00
vsp1_pipe.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_regs.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_rpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_rwpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_rwpf.h [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_sru.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_sru.h [media] v4l: vsp1: sru: Don't program intensity in control set handler 2016-04-13 17:42:44 -03:00
vsp1_uds.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_uds.h [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_video.c v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00
vsp1_video.h Merge branch 'topic/vsp1' into patchwork 2016-07-13 13:43:48 -03:00
vsp1_wpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1.h v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00