From patchwork Thu Jan 17 16:20:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 155845 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2159201jaa; Thu, 17 Jan 2019 08:21:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Sze8+dGUPcUNd03c3UiYXKnA0doGg5MM18X/68tj7C9mtx3NQiYEXXe9hFu5B0yn8w4wN X-Received: by 2002:a63:e516:: with SMTP id r22mr14219717pgh.256.1547742095596; Thu, 17 Jan 2019 08:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742095; cv=none; d=google.com; s=arc-20160816; b=gRzTks3wujQm+imp/1G5We4ssUJsYhou8R31J1HrIZkx/NvfUvIeTs0hfTa6Y8j0Wl e4B9s8rA7cT4f+VIR95zu0IWn1Jdn4QlMi20Oaz6/94uSVKCBpN/6HLey7DV715hQCbz jJxGGrfkxmuUI9F5E5F+mSyONAD3+OjdX8ub8V2/O3HtoDjqNnlrw6HforS38BBP01p/ KklPt34Idp18EaaEhEZXzmFR70WNpUzJT2yJudL/d5bJxPwAesEe8DNINFm1uyU4qyLa CI5MVBdry3k+YME9MUHMqHVoPtcuRaecGfbl+mgt4OAPPq0ptn7lNWCcb0u2VcK+GTu8 GwQQ== 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=cMTdEq5CzG5sYo3GMmEXw5USZ03WOpH02PfwlAFu3Vf9tNOqSu+6XfSjWFBAX0ZUJ/ txKNOk79Z8dD7MNG4G9F4Y+MdXz4j5WxAJRaDH2VRBUA3NxU5Xb0TKXaKioHLOVUUIGC 2qFC8icubCg+aJ5j0cJ+E2uxyQO5MHrncZhp3PZOsAaKVp48spfD23TyfcmNmt3LPEuR IeMgyDPhWZwjdKHFaTccnnAwHOcNvn7lh8p1rdF96t1TSijPI+3Ra1evaJTAX/kYYKAt DPvj+EgGNMjDCFd4I5rxEY6aUMg/0ALd6lW5h9r9UXEROrTmXkMvW9DRM14iEyVZg98r PbCg== 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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 w27si1598547pge.182.2019.01.17.08.21.35; Thu, 17 Jan 2019 08:21:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729095AbfAQQVI (ORCPT + 15 others); Thu, 17 Jan 2019 11:21:08 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35021 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729068AbfAQQVI (ORCPT ); Thu, 17 Jan 2019 11:21:08 -0500 Received: by mail-wm1-f65.google.com with SMTP id t200so1713312wmt.0 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=NXaejEPQXZnpwgFxi12WCvCG/PJDLt+btyObDUZCFBoC3RJFF/8YP7uBWQ4l1EW/8z PIk1rUbOrEPBpSiQ/Y8DQHWPp+RTVny7mPPjREKY+DJkgY8lTKjk8DoVk+7LNU0uI+LA Blz1CyMtqZLfagZm7n3o+WuQivl7yCoT8hsainxguzW2PX6/ssIbOVfy8DoB1v3x4qVs y2BICkYCzCWDM3ixvDwK4FWnuOqkAppRJHA/nBc89cKY2Jdsg/vJhroGAX+Ufb5AVO6T mJyFBVFYldlrVL7LKFL+ReOyCx4xpQc0jX1QYio69uNqni5ojpDhlFoCieYJSKUwgXCG EmTA== X-Gm-Message-State: AJcUukceDMnqxG6uepCNExS5jBNDG5/fWhqVs5EYf06DDwgbWuvDDBeQ Vfx+YqwGqzJSdgDHEirKp6Lw6Q== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(+) -- 2.17.1 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) {