proxy: add support for sgx register ioctl
authorTyler Luu <tluu@ti.com>
Tue, 22 May 2012 19:11:02 +0000 (14:11 -0500)
committerTyler Luu <tluu@ti.com>
Thu, 24 May 2012 22:53:03 +0000 (17:53 -0500)
commit6403235ea8009468624d20fb2b4b4ea4b9156f40
treef962ac8682b1637d26a97576f2d4bcbd0069b0a7
parent5db7c4afb1ac4eb05f3cba6600f750cf2979c0df
proxy: add support for sgx register ioctl

rpmsg_omx requires clients to register gralloc (sgx) buffers
using seperate ioctl (OMX_IOCPVRREGISTER). Handles received
from regsiter need to be released using OMX_IOCIONUNREGISTER
when done.

the exploit of passing ion handles is no longer supported directly
to rpmsg is no longer supported. rpmsg mappings will fail if handles
are not first registered.

Change-Id: I8d2bad7a9a6a7c34a96bef494d4327e988c78e8b
Signed-off-by: Tyler Luu <tluu@ti.com>
domx/omx_proxy_common/src/omx_proxy_common.c
omx_proxy_component/omx_h264_enc/src/omx_proxy_h264enc.c
omx_proxy_component/omx_mpeg4_enc/src/omx_proxy_mpeg4enc.c