OpenCloudOS-Kernel/drivers/gpu/ipu-v3
Steve Longerbeam ac4708fab1 gpu: ipu-v3: Add FSU channel linking support
Adds functions to link and unlink source channels to sink
channels in the FSU:

int ipu_fsu_link(struct ipu_soc *ipu, int src_ch, int sink_ch);
int ipu_fsu_unlink(struct ipu_soc *ipu, int src_ch, int sink_ch);

The channels numbers are usually IDMAC channels, but they can also be
channels that do not transfer data to or from memory. The following
convenience functions can be used in place of ipu_fsu_link/unlink()
when both source and sink channels are IDMAC channels:

int ipu_idmac_link(struct ipuv3_channel *src, struct ipuv3_channel *sink);
int ipu_idmac_unlink(struct ipuv3_channel *src, struct ipuv3_channel *sink);

So far the following links are supported:

IPUV3_CHANNEL_IC_PRP_ENC_MEM -> IPUV3_CHANNEL_MEM_ROT_ENC
PUV3_CHANNEL_IC_PRP_VF_MEM   -> IPUV3_CHANNEL_MEM_ROT_VF
IPUV3_CHANNEL_IC_PP_MEM      -> IPUV3_CHANNEL_MEM_ROT_PP
IPUV3_CHANNEL_CSI_DIRECT     -> IPUV3_CHANNEL_CSI_VDI_PREV

More links can be added to the fsu_link_info[] array.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2016-08-29 16:30:23 +02:00
..
Kconfig gpu: ipu-v3: Kconfig: Remove SOC_IMX6SL from IMX_IPUV3_CORE Kconfig 2014-09-24 23:50:25 +02:00
Makefile gpu: ipu-v3: Add Video Deinterlacer unit 2016-08-29 16:30:11 +02:00
ipu-common.c gpu: ipu-v3: Add FSU channel linking support 2016-08-29 16:30:23 +02:00
ipu-cpmem.c gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize() 2016-08-08 11:44:20 +02:00
ipu-csi.c gpu: ipu-v3: Fix CSI data format for 16-bit media bus formats 2016-08-08 11:44:20 +02:00
ipu-dc.c gpu: ipu-v3: ipu-dc: don't bug out on invalid bus_format 2016-07-12 18:26:05 +02:00
ipu-di.c drm/imx: atomic phase 1: Use transitional atomic CRTC and plane helpers 2016-07-12 18:23:47 +02:00
ipu-dmfc.c gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel 2016-08-29 12:45:05 +02:00
ipu-dp.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-06-12 11:32:30 -07:00
ipu-ic.c gpu: ipu-v3: Fix IRT usage 2016-08-08 11:44:20 +02:00
ipu-prv.h gpu: ipu-v3: Add FSU channel linking support 2016-08-29 16:30:23 +02:00
ipu-smfc.c IPUv3 fixes for v3.18 2014-10-07 14:31:14 +10:00
ipu-vdi.c gpu: ipu-v3: Add Video Deinterlacer unit 2016-08-29 16:30:11 +02:00