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: 10359611 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81F30601D3 for ; Tue, 24 Apr 2018 12:54:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7419528D00 for ; Tue, 24 Apr 2018 12:54:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6647F28DB4; Tue, 24 Apr 2018 12:54:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C7A728D00 for ; Tue, 24 Apr 2018 12:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757818AbeDXMyt (ORCPT ); Tue, 24 Apr 2018 08:54:49 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43948 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757801AbeDXMpN (ORCPT ); Tue, 24 Apr 2018 08:45:13 -0400 Received: by mail-wr0-f196.google.com with SMTP id v15-v6so31693121wrm.10 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=bX0yzYgP7njBpPra7fZ6frtQAfEoJvx3h6pKdvkZJJKW4MzwRUImKvA44gcmHVDjSM +p/z097oO4izv7YAuhc0HJW9ump5Pje9J2LuEGVdXdmscbsw3hVtYA971KL3G+r0f8Tw ldAVNicei9nNcUcWmXlyR7iXLVihb1eF5wRZvgn4vYLZLFej8h6kEuUUggJxxr4R23+1 L4JocjKZ/+ktRF1UcoHU79VAA2/rMmFvYtHv37f5jZUjqaUOcKuBYuhLDOU/Lqw0Bipn qBsUbfmVf0ekWI+c0TC+Yz9UEIhOPjv5zzH7b5CJJPqKsanWys6jjdfrtakCWC/THwqJ +8eA== X-Gm-Message-State: ALQs6tA9+1M/mW9GY3wQDxrJMd0/HSmB4ztLUJIjn+2kxuMusqvyus2h 2URpCiX22HUhjvxd8pg9Tpzmew== X-Google-Smtp-Source: AIpwx4+dn68kWzPFyYIENNR3VbPOQj/AOM8rC1Kopu3s/52WVEUOsdlBpDL97zOFu1ckWv/EvpCQfQ== 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);