From patchwork Fri Jun 28 12:59:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 168085 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3670226ilk; Fri, 28 Jun 2019 06:00:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJw7ECyHqPwlLEebuNid/JZVTgtZSTInVBx0bAysjLpKasqf73+8sgsOKSM0B98gWk9MOm X-Received: by 2002:a63:4d4a:: with SMTP id n10mr8984644pgl.396.1561726841010; Fri, 28 Jun 2019 06:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561726841; cv=none; d=google.com; s=arc-20160816; b=SJnaScNyCsazAk6e7vaBkaj8kRLX+j1R6EMBxxKttZhskySQ2r0PW7ZqZvELLyH/gf geMaWcQ+so7LS2NUTVtFGjBOi82PZTN8O9Ns8A5EEqF43Xk7PxqTi9roCwf0n9CVYVMH fDyykJxN40k5fs7+ah1nmJt08p63NdZ0lRuNo3VAjOWXx9sVl/CZV016pVz0UapBEHel FiKoOhDeAs0gcKy6iSoD1Y0/m5G1tKbFrk77NscSA6g0mXHjx/zPrA8NxZzYu25cMuQO 2YSjJrX8SUcL3s7TsWldNIlC6r6jBg38/6n3NAxKvtZuiBn8C12lUJgW6a0XhbaYvv24 wWBA== 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=VYK6CuTcwUpXBzrv+57CELDw4v8ANQ9M8j2TEI8QevU=; b=jg7y5NfKHjdqosSlWo3wDkvgk3WzCCd99ihhH7ISV29Qqy2pGQO8lb7rW6BDUN3C6h maU1qmDqnxub8JjMCMo3p7QZzEVkyQk9OKfRGHjg10532eR8RPApbtauU6ImM+ikT4K4 BZNVij7IVj09LPyt6G4XCBxHd0SvMFWm9d9aQtdq9OfZ9tCSAAXZxw3/Bf41RQuhu0qF L0sYXFjrJdTh/TRJeT6JB8R50k/SDBFKt05cZHGpr6nuwInjfrohFkZBgoms13mSfYx0 nmzvL3cT6ZjVPXJZqeGYQ5TSK6R/S+dCLh+MrMw3xjpUVFzRjkRHrfJb6S5hTd+VdnDG iMeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIaKx5bz; 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 t22si1963534pgk.507.2019.06.28.06.00.40; Fri, 28 Jun 2019 06:00:40 -0700 (PDT) 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=OIaKx5bz; 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 S1727246AbfF1NAj (ORCPT + 30 others); Fri, 28 Jun 2019 09:00:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40655 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbfF1NAd (ORCPT ); Fri, 28 Jun 2019 09:00:33 -0400 Received: by mail-wr1-f67.google.com with SMTP id p11so6203270wre.7 for ; Fri, 28 Jun 2019 06:00:31 -0700 (PDT) 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=VYK6CuTcwUpXBzrv+57CELDw4v8ANQ9M8j2TEI8QevU=; b=OIaKx5bzcFJ9iQHFSo+vkoZWC/Js1VgIC5YdEtJwkq7wImjmgHDI3Uzb744irl1vpQ lSddEYDCwDSh34+o4ro84ykmsc9xLCAayQqTNUgOTO6rqSUotym41jym5H/msjWYLD3l kJHcPqhpcmB23hEAcomtgsmv89peFjdasBXG9H3Ajmt1aENoGFFc/V1RnUzHCoNTR9fD zBO62HZL75a3W5rtJ785/KdQG9CPnx03rCAAk525/vZK4LHr+b/HBGU+7E4EQS6GZ8R9 LjE0IN3KSd4yjsSa1QhUIwN74CjyczAOVlT/xu/Pih7CgJTXqMyMKTQkZw5htQgLQLLY QuWQ== 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=VYK6CuTcwUpXBzrv+57CELDw4v8ANQ9M8j2TEI8QevU=; b=kJMko/7ljclTFjrgkM4uo6sT0gw4bDgNEOGQJ9AWYsUzFjIqLuvwX7fpXMocDnTTRm 0x2ukEI3313WB0sTffV0Vzdvn3ex6VtRhBqBDGTulSEaboyki6McV5/BMgfmmi8r1TLF y0L3qk8FlFlWw6VfmQStHfPy13u1QYPMlLXgE8dbEf1k6LdMIEzg15O4+O3SOYdWzVVH oz564UUON4aXIlZnjWCUSBNhaChz6dRW9ODkC3XmLH7m/N1DG+loGhTsRuH8Co825Fg4 yF35FO06qdvod6QVCXov+ahu6NlsB1MOWCCawG2oeDX0dAx2hkrz2STOFkTRBgehe9x8 YGyQ== X-Gm-Message-State: APjAAAUStooefUkXvFaq3CvD0IImGOSWSHOebDPieLWmUqTLj4OChi1t fR8K12e5/aJE/iU8RDug8XrF1Q== X-Received: by 2002:adf:ee03:: with SMTP id y3mr3958702wrn.128.1561726831149; Fri, 28 Jun 2019 06:00:31 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id w20sm3717174wra.96.2019.06.28.06.00.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 28 Jun 2019 06:00:30 -0700 (PDT) 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 , Stanimir Varbanov Subject: [PATCH v2 04/11] venus: hfi: export few HFI functions Date: Fri, 28 Jun 2019 15:59:55 +0300 Message-Id: <20190628130002.24293-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190628130002.24293-1-stanimir.varbanov@linaro.org> References: <20190628130002.24293-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(+) -- 2.17.1 diff --git a/drivers/media/platform/qcom/venus/hfi.c b/drivers/media/platform/qcom/venus/hfi.c index 7c5bf5cb32de..82eb889ab541 100644 --- a/drivers/media/platform/qcom/venus/hfi.c +++ b/drivers/media/platform/qcom/venus/hfi.c @@ -276,6 +276,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) { @@ -299,6 +300,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) { @@ -328,6 +330,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) { @@ -374,6 +377,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) {