From patchwork Tue May 15 07:58:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 135831 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp668176lji; Tue, 15 May 2018 00:59:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp4DfTK2LJJkwaEwvcq1kHzze0O3Hjn8B2CTNLtVOFXup39s+82U03XAY8aJfJXM0nInDrF X-Received: by 2002:a17:902:6bca:: with SMTP id m10-v6mr13360533plt.6.1526371183420; Tue, 15 May 2018 00:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526371183; cv=none; d=google.com; s=arc-20160816; b=VS6duIbzHUmPRobPZWYjqvqkFG2BBVlA/Zxs0jNDEwaI5cLCJy4+74F6dBAuyTnM9O 2sApBH1kztlLabY3ix6uF82cRxB4/cXGNL1UDKej5NPqjLWTsdO8tDEiLLVX4+9xAoQg VDz0oxcEw1VmUIhtm/KIzGdgRdGizf0YzrEYLwa6e6ZmYZZ84ZXMBl8iJ8grXuFYr5uH UGeNA0eJRis+ewL5Vx0MAk+hHVJXp9dyb1yu4WTSh3DnZA6CN2kO+JHO90ZFFDqFSMJg GcVf6lp1jlNIKcrs3K1aXw0vGqzcxA8Y5GX6W7mLTpWfGGg0Fnh8s+CxkREWZoHuZiEw m9KQ== 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=n7kFMrn7fzklAT2d7VRAuN+7BkAIwdF9ylqLZXDKEApvX9dcaDu8vHzH4gZHvo6g2C F7pkz3qpqttbX3khR1UkqfILf02r0sb6drtxsUin4gO14aFjJ/rxgBMiNPKEbEsKXOZG /fJglf9RUVqD+3BryGIR2lDgkR5uDoOt4aIuuRBU3jcubQe/QRRpRPeNNp1qc6k1AqjC hj6xX8B3LgL/idNTrOJvNwqTI5V7LZs/Vb1/Maj7Op4hBZBOQ9BUoMmU52e4yFyfHFdF lTVjYN6uWhm+pN371WQWlAbKD8id6z2rglaRjwzwaPYXQMq6fwstgXx7KuE2kuKDWa/R d2qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kWf7enzN; 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 v12-v6si6045050pgs.538.2018.05.15.00.59.43; Tue, 15 May 2018 00:59:43 -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=kWf7enzN; 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 S1752536AbeEOH7i (ORCPT + 29 others); Tue, 15 May 2018 03:59:38 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:52872 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbeEOH7d (ORCPT ); Tue, 15 May 2018 03:59:33 -0400 Received: by mail-wm0-f65.google.com with SMTP id w194-v6so17604247wmf.2 for ; Tue, 15 May 2018 00:59:33 -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=kWf7enzN07XvXMw6gIDGewrYehNrHu8fDOPXrUrJrm2ILtgoUf5pV/CHZE71FOwMYZ jkR3k8bJy5hvUFlN9GS2dyICUYu2YEFF5lbmflywe4EXLwYj5VeDOYXYM0i8w62KX88y 6UTc4d6ExQmW489meo/ShDICvZ6HliqIemkRs= 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=OJEsnGxK5HP7Fj5QcFoZVMqV+NKwIOonn+7ezsXer5prTHjW40p66cDhKoV5TAfF4b M3u1NsrMno7lphWT/wp1pA38oRxHuyGItBiQdKitSEIFa0sxIpRg4p2xFhqrPKG1fqXq ntl2+DPuUdxcxzsXI1wuDt/G/4FsDU+MsNqhO03USRpGWkVfutz/6nv+rsUOryKg78to X3PjRUNW1+BvXwMv33wPg1J6NEkCFfIfnLI+kjba01eO8xoEjZ3hG/5ymASP03/jVezr WEUbuKDgrwFYWXwZ5UBB7On+GqNJnsKG6HBzZKB9LsFcucV56/XR5aZdxg94aMlq+qxc byMg== X-Gm-Message-State: ALKqPwcoElVSnmOTGVDuFB/YbFRdCWtyoJCEdCGf9ARf3bxTYCxtJOsQ M3+UaMVkEH48tC/sDVTxbm+QT5W0e7c= X-Received: by 2002:a1c:6d90:: with SMTP id b16-v6mr6827926wmi.138.1526371172568; Tue, 15 May 2018 00:59:32 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 4-v6sm10918510wmg.40.2018.05.15.00.59.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 May 2018 00:59:32 -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 v2 05/29] venus: hfi: support session continue for 4xx version Date: Tue, 15 May 2018 10:58:35 +0300 Message-Id: <20180515075859.17217-6-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180515075859.17217-1-stanimir.varbanov@linaro.org> References: <20180515075859.17217-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);