summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/Kconfig
diff options
context:
space:
mode:
authorHugues Fruchet <hugues.fruchet@st.com>2017-02-02 12:59:50 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-08 10:03:49 -0200
commit91c83f395fbe7c89eca46ad2d5bde49f4f8de2c4 (patch)
treebbaf771cc11a93457f5492bc6eb57fa4d9d13f81 /drivers/media/platform/Kconfig
parentc502e583506ec94cee780c080fff7b4e9ef6ef61 (diff)
downloadop-kernel-dev-91c83f395fbe7c89eca46ad2d5bde49f4f8de2c4.zip
op-kernel-dev-91c83f395fbe7c89eca46ad2d5bde49f4f8de2c4.tar.gz
[media] st-delta: rpmsg ipc support
IPC (Inter Process Communication) support for communication with DELTA coprocessor firmware using rpmsg kernel framework. Based on 4 services open/set_stream/decode/close and their associated rpmsg messages. The messages structures are duplicated on both host and firmware side and are packed (use only of 32 bits size fields in messages structures to ensure packing). Each service is synchronous; service returns only when firmware acknowledges the associated command message. Due to significant parameters size exchanged from host to copro, parameters are not inserted in rpmsg messages. Instead, parameters are stored in physical memory shared between host and coprocessor. Memory is non-cacheable, so no special operation is required to ensure memory coherency on host and on coprocessor side. Multi-instance support and re-entrance are ensured using host_hdl and copro_hdl in message header exchanged between both host and coprocessor. This avoids to manage tables on both sides to get back the running context of each instance. Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/Kconfig')
-rw-r--r--drivers/media/platform/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 863c61a..f84f8c7 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -337,6 +337,7 @@ config VIDEO_STI_DELTA_DRIVER
default n
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
+ select RPMSG
endif # VIDEO_STI_DELTA
OpenPOWER on IntegriCloud