From patchwork Thu Jul 5 13:03:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 141141 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1927751ljj; Thu, 5 Jul 2018 06:13:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe3Rxs9f4Z3bJ19ek4QifIVLQUfhzegEAiRD3odNdjG+Wo6olpiC18QUuV4jwOIk7m4CEEz X-Received: by 2002:a65:6614:: with SMTP id w20-v6mr5499762pgv.93.1530796414805; Thu, 05 Jul 2018 06:13:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530796414; cv=none; d=google.com; s=arc-20160816; b=U1kKw/gQMw/EICLipcfJPvo9Z8JJQR/b1pnGxMeRkGyrErJINImA/3Ae+M5B1SDIxU eBFzYoqjE3AulY0UuTqA19f+tBZOVVtq5e8hGeQTU3MoxKnKTZXauwI1ViqLVBfLPJKf LA5bCtDP6lqw2dxCHjOvSyclLzlZhLsmkbwiPdWa6ZgBWV1KpaCuZHsJm9RFZe7ju8Hy jNIo43vx/PvhNF99dAORHoOQwtXESXwFUkDmm5m7HK/L754D7+uQUs7ELWmsKp8VaNFk 0cTnGdxQjdapJZ3Z17ADiwnXwQi0I+CeR8RVIsP31g+qzKbfs3doq/dVQoh28KZxFhU8 jh6A== 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 x18-v6si5890894pfh.84.2018.07.05.06.13.34; Thu, 05 Jul 2018 06:13:34 -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 S1754341AbeGENFR (ORCPT + 31 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(-) -- 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);