Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp619651imm; Thu, 5 Jul 2018 06:14:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcpBYyNtLl7oyVcW/Qm1OL2gcnf7tGfcNYRIDIxy7u6WCtnTU7KfzQd+Hu1W7AXzTiJGUdE X-Received: by 2002:a65:6559:: with SMTP id a25-v6mr5457942pgw.82.1530796499228; Thu, 05 Jul 2018 06:14:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530796499; cv=none; d=google.com; s=arc-20160816; b=SQETdPZwR57HozBy3NaHmzieXwZFbT01RVzI8UqIpu21IjDdU0wGmzG0mrduE/xSOa hd5gKL5iZaVVgLv1l9eP/sJ8jmN5sXvFSo6FO5dHFFe2fv6VzXa0Vues4lNC7s0SnxL4 TLtr+SM9UwkBGF07EEhrCoMWUXhSi+4johr/J0g38v83npugxEg4w+9QeglVodWqO3NQ Ly/BDOusnWMwb4QrKK/gx8lbHGoVLbAUwJPb4QYc5VeUkH+LSxh/c5pXkXhdLkH0xmmM Ob2QIN8R6WeTxaMvnFgUz+ahdpVthe24fCo/2H4kqLzHezLTe5sE5fan0EUTL4rVJ1Yd YYsA== 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=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=NkkcRArFwvpKqiyELsA0/6v3KnScV2NVpvkX/pbWNX5FsCCZToZyBI44GQYCZzl5VS 2uKM838xewHTBfHnunVTV2hTIKmg/mZkqds/TxShGyuETy8wScK+QoRbPAOvbGBncSeh MoMUyGoFahM4k/SWj0lHHr4nhawHzPXfqM+XUAogQOl2qMklC1VuezFwP0Im7rZ3XMi/ oRSoy1DWbY8u+geXARZH1R/Rn5LRWL1pJyfSm9VlVbFmMCo039P+EOGrn7FVyl6h5UL1 8dTB1drEusqRDyvD3aDYp4YJOzJAQnojSI0Dc/acdxQ1t2xluoR3sjy0thyhFagn1gUK a2jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V1mizovZ; 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 f90-v6si6401423pfe.291.2018.07.05.06.14.44; Thu, 05 Jul 2018 06:14:59 -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=V1mizovZ; 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 S1754329AbeGENFR (ORCPT + 99 others); Thu, 5 Jul 2018 09:05:17 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:37989 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754226AbeGENFN (ORCPT ); Thu, 5 Jul 2018 09:05:13 -0400 Received: by mail-wm0-f67.google.com with SMTP id 69-v6so10664076wmf.3 for ; Thu, 05 Jul 2018 06:05:12 -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=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=V1mizovZps8cOIMo3Vkh1MqRpu38AyElbafWwbX5Dno/2YEGgXd3rE5HMXpxumutbY 61GasrGuI/RdQSdBHvXqGq+EK6dVRqi6K88Ubx+wf8OTa645+EzK4HuJoY0czEq8Djo4 YKrXpcffA0kMxMxpDO5f/c1O1SrJSIOu9E5Ds= 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=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=PjiLsJ6MFVc73chpXJc7dLchMv66ta+MLSQr1ub8Y2DV7tIc8C8uancoo0Z9K7gRHf VwplMyIRwvp2y6cH/fQslCMK/8vPCAdHDWWALwFBKUEwBRk2ALRBGn/Pl5jJb1knxw00 jt/vLjzzxZl75ZI+bSRZU2Eesdm+Uslcytpz73rq8LgMbkSm+Tg7ShOvrW5Lq5VdmphG KAd3kJvClrD5OeGA1qQT0XrYcjCw2oOafZNthM5dkhkxmLMh6YxzgrvIM0DWiIys/1UA ixenWF+Enos2QcILl1N5dWPGzrSEw/uRFjTqNQ6zYfvEY64yco4PYZIv7qWv4jKnjXWz NlyQ== X-Gm-Message-State: APt69E0E0VseT2Tz9bO2c/sq8+kGI6+1lXnGLz7quxLAhUBcY6aZOr9D 7l9OdWpvQt1bGpxU0WHXOsCGY2ECcQQ= X-Received: by 2002:a1c:dc41:: with SMTP id t62-v6mr4206882wmg.42.1530795912008; Thu, 05 Jul 2018 06:05:12 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 11-v6sm2109102wrw.67.2018.07.05.06.05.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 06:05:11 -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 , Tomasz Figa , Alexandre Courbot , Stanimir Varbanov Subject: [PATCH v5 05/27] venus: hfi: support session continue for 4xx version Date: Thu, 5 Jul 2018 16:03:39 +0300 Message-Id: <20180705130401.24315-6-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180705130401.24315-1-stanimir.varbanov@linaro.org> References: <20180705130401.24315-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 Reviewed-by: Tomasz Figa --- 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