From patchwork Tue Apr 24 12:44:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 134080 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2190463lji; Tue, 24 Apr 2018 05:45:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+rwEWyhpYYBd2zTp1CxtjEAr5TyTflY+8djQqxDONh5dis5+bO55SqyCC57LUTO8OFeTj0 X-Received: by 10.101.100.75 with SMTP id s11mr20049851pgv.360.1524573932674; Tue, 24 Apr 2018 05:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524573932; cv=none; d=google.com; s=arc-20160816; b=k1CXAnFwFx9+SykZyH+r9qBkZbaCtwa4S4/3hUMxrq+0AM1DYYj0i3J4L27Ow//hIA KOTw4NCbjrcDiDJwsHUcEuyyPHIbojWBSIdMTkHtGpCWeh5iP7rxUh/Pj/MrQIodBwdV j7wbKFWNE7NIQFceNpzlFTzZSLiTkibNBrW5+GfSKKiONW9KtMwQQIE/dQnrrvUzAJmR zPR5clOxG7UfHDdXh490zfiCgXql2bEWFulg7W/SBRcCtC+Rx87ca8PrQgeBnRbeFN4K gsayQQcSJIlalnzvW4JPVy2MrJ9zr4pcgkN0Et+s3wMXRGQw3lQZL7/AVWc4+rjSap5h RkLQ== 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:arc-authentication-results; bh=1Wl88e8hLVwkRwSqVzoF/pW4BWPgDsxkJpBzUcyKn74=; b=buVcvCNexFlO5J50DuLnBoba/Vv5QazqmaIWLUrj56l8ITSOSORFAWHmdCUFYFuXhA 3GOue43tgf1eDPD9JIzZMApZdH7V9gmeOqTCzTu4iCfL9eKi2MeAuTo/WWoB9tt2e4d3 t6wRXfrqy16/a69KH3gY6aEsmp6SC0yw8WAbtjBVpSufrgy8ZgQ2WntkCjOElmKCiAh7 vdUwchGpDB5MkZldPHaCLr+hT8/W8y6jK93bx38rlUMsi1qKU+q3HsVvccfZ9RV7jdBX srcul0lUAfGyqp5DR/lh9vqey0z1pu9ko3DxguJw7bRoc5rNAyEmAn9JNqR0M12mzySY RYtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xcc0Cj9l; 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 c18si13459818pfe.36.2018.04.24.05.45.32; Tue, 24 Apr 2018 05:45:32 -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=Xcc0Cj9l; 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 S933012AbeDXMp0 (ORCPT + 29 others); Tue, 24 Apr 2018 08:45:26 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36557 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757799AbeDXMpN (ORCPT ); Tue, 24 Apr 2018 08:45:13 -0400 Received: by mail-wr0-f193.google.com with SMTP id u18-v6so22544103wrg.3 for ; Tue, 24 Apr 2018 05:45:13 -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=1Wl88e8hLVwkRwSqVzoF/pW4BWPgDsxkJpBzUcyKn74=; b=Xcc0Cj9lcKkzxiIK4ppagDJTRfue5443wec50nCBdw1vXObPadKcuViYYWy65NDd3Y NKUFv6kCwaz1xw6fXpNqNaEgeWeTPiJiGYSr26lJNIPh1hjXIBPg2qfX83QS3pW+CMZf 6dDHmVDLt1gx/QG5TQJubllf5J6CnwWWVJ6Oc= 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=1Wl88e8hLVwkRwSqVzoF/pW4BWPgDsxkJpBzUcyKn74=; b=KUvoQW8V/xrQczwoe+3S2VQ63PP/eRIhwdUfi4F1oiMhnxNLv5ElJa8JjgQFvs0l2K 8KxfAejQueUz7xfxdd0pHIIeO+1YilIMXtz+1swkxC2eVjUvxfyfnk7rEBlLhyJptXok M6CtCj3SHnjbadRiFiNwXhg03UxAggPFCadwdKwuLxgQxmWEx4szDFQFirrleX+qipgN PqO9HOgScmoF9Ad65fhdbFyesf+vdDbtIaRwFMl1qmMYHZ9qwgydrn34I+A9ozYJXD53 1+63hYaNx+Zp6SdCyg11aOtss5nVmrlgXhL2SzgCZgRNaal7KABvRLIZ/611HxVSJNyM sm0w== X-Gm-Message-State: ALQs6tCB5TiAJ1HODzvj3ecDecDieb1YO4wotb7cMOUQ3YuhoLWZDSVT wYLa6cV8qy5fcPmX0MfwBi+o1w== X-Received: by 2002:adf:b8cf:: with SMTP id c15-v6mr21171211wrg.122.1524573912676; Tue, 24 Apr 2018 05:45:12 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id n49-v6sm22666013wrn.50.2018.04.24.05.45.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 05:45:12 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Stanimir Varbanov Subject: [PATCH 05/28] venus: hfi: support session continue for 4xx version Date: Tue, 24 Apr 2018 15:44:13 +0300 Message-Id: <20180424124436.26955-6-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180424124436.26955-1-stanimir.varbanov@linaro.org> References: <20180424124436.26955-1-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes possible to handle session_continue for 4xx as well. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 diff --git a/drivers/media/platform/qcom/venus/hfi.c b/drivers/media/platform/qcom/venus/hfi.c index bca894a00c07..cbc6fad05e47 100644 --- a/drivers/media/platform/qcom/venus/hfi.c +++ b/drivers/media/platform/qcom/venus/hfi.c @@ -312,7 +312,7 @@ int hfi_session_continue(struct venus_inst *inst) { struct venus_core *core = inst->core; - if (core->res->hfi_version != HFI_VERSION_3XX) + if (core->res->hfi_version == HFI_VERSION_1XX) return 0; return core->ops->session_continue(inst);