From e4908a64bee1eed2417173342d25244f4871c8a6 Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Sun, 17 Jul 2022 17:00:37 -0700 Subject: [PATCH] rpmsg: glink: smem: Enable the glink zero copy Enable the zero copy feature for the smem transport. This informs the glink core layer that the transport can support zero copy. Change-Id: I2066c18c984971ef96637d2cb695fdbcb957d41c Signed-off-by: Chris Lew --- drivers/rpmsg/qcom_glink_smem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c index e7a982f7c3e8..ae367ef51227 100644 --- a/drivers/rpmsg/qcom_glink_smem.c +++ b/drivers/rpmsg/qcom_glink_smem.c @@ -292,7 +292,7 @@ struct qcom_glink *qcom_glink_smem_register(struct device *parent, *tx_pipe->head = 0; glink = qcom_glink_native_probe(dev, - GLINK_FEATURE_INTENT_REUSE, + GLINK_FEATURE_INTENT_REUSE | GLINK_FEATURE_ZERO_COPY, &rx_pipe->native, &tx_pipe->native, false); if (IS_ERR(glink)) {