Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2102182imu; Thu, 17 Jan 2019 08:25:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Uf3DIj8Wv7+HJNRZm+2x0Qhzdqvk0nMXN6Xzzgl6X3FLhqi7SWnA8mylKA9TDiPQNFafy X-Received: by 2002:a17:902:24a2:: with SMTP id w31mr15285606pla.216.1547742306766; Thu, 17 Jan 2019 08:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742306; cv=none; d=google.com; s=arc-20160816; b=MyUk3jAW3KWrs9If15GMuATzn9zgLc2SGnipE1fEQHXllzDCjDEGMJu9fXlCVF1Elt MrUjLHLWQ9cHX91BoZWUQ5pN57VW87GSoxUgMtHMBpTQX4xcMgrpFkDsa7NbCqj8LFu9 5l9c9rJZnfB25xfxNwScRkjggch/6TVAK/g6y6aKUfcApuzTWNh5zkz/nAoAmj9H8UYL c9iQJUP+cIUrf7Ys813/5Y0sBlxtbWHnTYt78TCot+E5Qsl2Sj6k4wVSO+pyUFt1DAUH zwn0rUqN3wGUXlLhIK5t31qGquh3IjlJMkMx4H5CUVnXl3GDo4k8inVwC2Y13NGvi6W4 jTyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=p9SShCCE56zaFl3EA7SWgswRXOkmYSJfgEKA8EbEbto=; b=HwZdMteE19j8mTiRTGQKxabCl9OwVB2DHA0Db83gwUv6M0xA4vRk4C49TbWulrSvtL JSsN01uADPqG3n+xNYSiNxOVu/S1uvtgAvw5J6IDiIouuR+B6qxZHq83xRlhnkm/4Wgj oZu0cBpSNlAVhxUbtrzTkD2KeJQJJfIe74K/xcpeA2Tla0zW7Q48Hi8DB3G8Wl9uAOCo S91W84x/omLq7KTacIkbkRigaXEQsvIwiwcjdQHpD6FWy9W5hC+96z/KuMmG78wZsibX JtizhtdM1HYvFFrJxMJZT7Pe4uvgynku/mficq0q7S5hffQktGDMlMNdyomvfJE7O6Sx 64ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gb1xWu6l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si2029832plo.259.2019.01.17.08.24.51; Thu, 17 Jan 2019 08:25:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gb1xWu6l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729304AbfAQQVr (ORCPT + 99 others); Thu, 17 Jan 2019 11:21:47 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52318 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729066AbfAQQVI (ORCPT ); Thu, 17 Jan 2019 11:21:08 -0500 Received: by mail-wm1-f66.google.com with SMTP id m1so1694030wml.2 for ; Thu, 17 Jan 2019 08:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p9SShCCE56zaFl3EA7SWgswRXOkmYSJfgEKA8EbEbto=; b=gb1xWu6lUVHgGdfEFXpVfd+bzgNpcmapkF0kR/BtDDosirkCS38A6rKagnxFPSa1Cm SbeHBfJG5r7jhdYIBOu3iCPTJYBl82NoJt+oOMOEB1kCDBF9Uaq4euAlt7jEagDf94/1 L1I3/XeeTVG+WlgsyfK9YPryHzkGrpaH9/Kyc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=p9SShCCE56zaFl3EA7SWgswRXOkmYSJfgEKA8EbEbto=; b=piWnAi0MbZrYiU8n3f4B/HN/3VIUuyfJBE0Vh5CPWJN24pzo/q2isiK3vmT1PLOo0C 6muUlP0Gm+zIViGBMFzdR3zGx6GKGPBr3C9RrpZwsRYmJPanVv6M2Hhqx4UaA2MPTLO5 p5TFMu7XrT4FURe+qBOjY0TSsgwdAG/dWUHaByHb7oOzNpwyVGdYvPfoKH0kU9vWh3pk FDNDe0kcHF2V93cXO6su725mN/8++KFLA6SqprUgmDfm/OHxgU8BCybzjx2xk148akDZ EYdoHlKLoRe6C9zz6Rsb3ZchU8Q2CxyGRlF6vSCBcoRr7U9oPVcKXjWH1ztJ35q+c6jI 3RrQ== X-Gm-Message-State: AJcUukfJ89vrbnKdAzU3pU9MSJBD2rgRcVvz8XIW88BljYWMtZ/0gwzs 9GWgyBOkEYd/EwrjMJOvcZ18oQ== X-Received: by 2002:a1c:864f:: with SMTP id i76mr12143347wmd.83.1547742066369; Thu, 17 Jan 2019 08:21:06 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id v133sm31124734wmf.19.2019.01.17.08.21.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 08:21:05 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam , Stanimir Varbanov Subject: [PATCH 05/10] venus: hfi: export few HFI functions Date: Thu, 17 Jan 2019 18:20:03 +0200 Message-Id: <20190117162008.25217-6-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190117162008.25217-1-stanimir.varbanov@linaro.org> References: <20190117162008.25217-1-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export few HFI functions to use them from decoder to implement more granular control needed for stateful Codec API compliance. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/qcom/venus/hfi.c b/drivers/media/platform/qcom/venus/hfi.c index 0b3c4a2328e4..eaa82af9ec09 100644 --- a/drivers/media/platform/qcom/venus/hfi.c +++ b/drivers/media/platform/qcom/venus/hfi.c @@ -285,6 +285,7 @@ int hfi_session_start(struct venus_inst *inst) return 0; } +EXPORT_SYMBOL_GPL(hfi_session_start); int hfi_session_stop(struct venus_inst *inst) { @@ -308,6 +309,7 @@ int hfi_session_stop(struct venus_inst *inst) return 0; } +EXPORT_SYMBOL_GPL(hfi_session_stop); int hfi_session_continue(struct venus_inst *inst) { @@ -337,6 +339,7 @@ int hfi_session_abort(struct venus_inst *inst) return 0; } +EXPORT_SYMBOL_GPL(hfi_session_abort); int hfi_session_load_res(struct venus_inst *inst) { @@ -383,6 +386,7 @@ int hfi_session_unload_res(struct venus_inst *inst) return 0; } +EXPORT_SYMBOL_GPL(hfi_session_unload_res); int hfi_session_flush(struct venus_inst *inst, u32 type) { -- 2.17.1