diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-05-17 02:20:06 +0300 |
---|---|---|
committer | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2017-06-09 12:25:38 +0100 |
commit | f5d0f9d6bf581287cd3ddeff6f11136eb8a2cfda (patch) | |
tree | 361ec0039b495bb263865311a14a16fdbe4bbbcc /drivers/vfio | |
parent | 2cc2137ffbd191d4258cf49347578b510aa1085c (diff) | |
download | talos-obmc-linux-f5d0f9d6bf581287cd3ddeff6f11136eb8a2cfda.tar.gz talos-obmc-linux-f5d0f9d6bf581287cd3ddeff6f11136eb8a2cfda.zip |
v4l: vsp1: Add API to map and unmap DRM buffers through the VSP
The display buffers must be mapped for DMA through the device that
performs memory access. Expose an API to map and unmap memory through
the VSP device to be used by the DU.
As all the buffers allocated by the DU driver are coherent, we can skip
cache handling when mapping and unmapping them. This will need to be
revisited when support for non-coherent buffers will be added to the DU
driver.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
[Kieran: Remove unused header]
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: Mauro Cavalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions