Received: by 10.192.165.148 with SMTP id m20csp4614046imm; Tue, 24 Apr 2018 05:49:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Jizeeym4SoURszdEXjhgWCQ4o/jt8ZQycSUFw5piUhWqXsAhphBP2gHUdYDQFLffK3rim X-Received: by 10.99.159.25 with SMTP id g25mr19667652pge.288.1524574195886; Tue, 24 Apr 2018 05:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524574195; cv=none; d=google.com; s=arc-20160816; b=xJ6F3+Kh/KFaGb1kJ6CXv/Pd1eP5EAfAFdM10duzRSB5ZCa9ZbZOItQ0YGCsOZNKqd urX0G1sWMmn2jXoNTdCi3oo5t3jigPCRMX5Avo/pJ/FHPiWYNcSZ67kmM/corsDuygjk /WMRF1OAfOxcgD0fkfFIlpbj6NpKKmxMpg3gZPKbf+Ox0RaM8P7d5q2HHxeItPk1OEu9 eyoCuxiHP36AOiK/sAAQo/sIriwHBgo/AYCORtYHYKVqTQiHIbfP436GJYpphVFa3nRt dAnbRdi2H1t+eSoubk3ZeM+6B/+MKqAxlc+9lZd3PIUNSgRuYmK88M1kgyBABiCcAS8Y YxLg== 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 b2-v6si14351859pla.365.2018.04.24.05.49.41; Tue, 24 Apr 2018 05:49:55 -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 S933000AbeDXMp0 (ORCPT + 99 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(-) 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); -- 2.14.1