|
@@ -172,7 +172,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
|
|
|
-@@ -1086,9 +1101,9 @@ static int create_component(struct vchiq
|
|
|
+@@ -1087,9 +1102,9 @@ static int create_component(struct vchiq
|
|
|
component->outputs = rmsg->u.component_create_reply.output_num;
|
|
|
component->clocks = rmsg->u.component_create_reply.clock_num;
|
|
|
|
|
@@ -185,7 +185,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
release_msg:
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
-@@ -1257,10 +1272,9 @@ static int port_action_port(struct vchiq
|
|
|
+@@ -1258,10 +1273,9 @@ static int port_action_port(struct vchiq
|
|
|
|
|
|
ret = -rmsg->u.port_action_reply.status;
|
|
|
|
|
@@ -199,7 +199,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
release_msg:
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
-@@ -1304,11 +1318,11 @@ static int port_action_handle(struct vch
|
|
|
+@@ -1305,11 +1319,11 @@ static int port_action_handle(struct vch
|
|
|
|
|
|
ret = -rmsg->u.port_action_reply.status;
|
|
|
|
|
@@ -216,7 +216,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
release_msg:
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
-@@ -1347,9 +1361,9 @@ static int port_parameter_set(struct vch
|
|
|
+@@ -1348,9 +1362,9 @@ static int port_parameter_set(struct vch
|
|
|
|
|
|
ret = -rmsg->u.port_parameter_set_reply.status;
|
|
|
|
|
@@ -229,7 +229,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
release_msg:
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
-@@ -1407,8 +1421,9 @@ static int port_parameter_get(struct vch
|
|
|
+@@ -1408,8 +1422,9 @@ static int port_parameter_get(struct vch
|
|
|
/* Always report the size of the returned parameter to the caller */
|
|
|
*value_size = rmsg->u.port_parameter_get_reply.size;
|
|
|
|
|
@@ -241,7 +241,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
|
|
|
release_msg:
|
|
|
vchiq_release_message(instance->vchiq_instance, instance->service_handle, rmsg_handle);
|
|
|
-@@ -1665,7 +1680,7 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
+@@ -1666,7 +1681,7 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
if (!dst) {
|
|
|
/* do not make new connection */
|
|
|
ret = 0;
|
|
@@ -250,7 +250,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
goto release_unlock;
|
|
|
}
|
|
|
|
|
|
-@@ -1683,14 +1698,14 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
+@@ -1684,14 +1699,14 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
/* set new format */
|
|
|
ret = port_info_set(instance, dst);
|
|
|
if (ret) {
|
|
@@ -267,7 +267,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
goto release_unlock;
|
|
|
}
|
|
|
|
|
|
-@@ -1699,9 +1714,9 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
+@@ -1700,9 +1715,9 @@ int vchiq_mmal_port_connect_tunnel(struc
|
|
|
MMAL_MSG_PORT_ACTION_TYPE_CONNECT,
|
|
|
dst->component->handle, dst->handle);
|
|
|
if (ret < 0) {
|
|
@@ -280,7 +280,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
goto release_unlock;
|
|
|
}
|
|
|
src->connected = dst;
|
|
|
-@@ -1726,7 +1741,8 @@ int vchiq_mmal_submit_buffer(struct vchi
|
|
|
+@@ -1727,7 +1742,8 @@ int vchiq_mmal_submit_buffer(struct vchi
|
|
|
* videobuf2 won't let us have the dmabuf there.
|
|
|
*/
|
|
|
if (port->zero_copy && buffer->dma_buf && !buffer->vcsm_handle) {
|
|
@@ -290,7 +290,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
ret = vc_sm_cma_import_dmabuf(buffer->dma_buf,
|
|
|
&buffer->vcsm_handle);
|
|
|
if (ret) {
|
|
|
-@@ -1742,8 +1758,8 @@ int vchiq_mmal_submit_buffer(struct vchi
|
|
|
+@@ -1743,8 +1759,8 @@ int vchiq_mmal_submit_buffer(struct vchi
|
|
|
vc_sm_cma_free(buffer->vcsm_handle);
|
|
|
return ret;
|
|
|
}
|
|
@@ -301,7 +301,7 @@ Signed-off-by: Dave Stevenson <[email protected]>
|
|
|
}
|
|
|
|
|
|
ret = buffer_from_host(instance, port, buffer);
|
|
|
-@@ -1782,8 +1798,8 @@ int mmal_vchi_buffer_cleanup(struct mmal
|
|
|
+@@ -1783,8 +1799,8 @@ int mmal_vchi_buffer_cleanup(struct mmal
|
|
|
if (buf->vcsm_handle) {
|
|
|
int ret;
|
|
|
|