From patchwork Wed Jan 9 08:46:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 155058 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp458243jaa; Wed, 9 Jan 2019 00:46:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN6JAiEXKrB6N/W0E3Z5Jz4YIUM+VOTVBfv7UMK+Fz36MVSAoPEdQSeE8UG4lcQmrIJQ4V1O X-Received: by 2002:a63:a30a:: with SMTP id s10mr4280007pge.234.1547023610484; Wed, 09 Jan 2019 00:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547023610; cv=none; d=google.com; s=arc-20160816; b=SiAmyS4kfN1pqhMvj4CnpMd7zNPvvJnIU6KMEoJIUGXTPVJ2f7c77MAUhAh1itNUph UNZ/1zPjpz16xX0tJpNIj22K+s8bnPqwISxVVxxDbMtF7jOaFDtJm/bcZFtvsgnZNKK5 lNuEjPlw+ab73ZdcuwCBMnHohkdl1rIVWAKxIxBAvHpVdm1sh3Rdj4P737O014mvrJpj axUvbZinwQyvhpWj4qW6Rq9v4om7VO8f2c7+sKCaelA388GhoiQqp438LFiUYMZOPkul K2lcaa85NDtg3rDkAWj/OiFNeWxVx/xi9NfTQRJSp6qFeOVjpXOm0VDwK3/n30SLr9aG WXjQ== 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; bh=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=QI2SOf2ExQ9WFR856cHOpJD86zIpzbhdZStSz5f1zHXOfyRrU+588wzQ90oQmAAlA0 PpCxuQrikDBQ8qgkqzONk2DSmsZI7lcVFW0ZT9KnwYrrsMKw9Kzy+EY9odqamO/VS5+9 rbj795cmpzHbPtGSDGVmKrmgQTv6gXrpVeLtcbtpjvcYxSP67sztblZzFyIsM1j1JgHt AGTOUhc7m8NLCocy8CEqA3xYCxibWqiGEndYCw1pRTDQdoqfVgSUBHKCz10Lbo6LQZ88 IWaBEWHaRk3iYm7RaQvWBI5HVCN2t1nC3ueICuvtfEDyHXR/NMCJEePoYr8zdUPVGioR h/Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KzLn6sB5; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 go15si22245162plb.219.2019.01.09.00.46.50; Wed, 09 Jan 2019 00:46:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=KzLn6sB5; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730082AbfAIIqs (ORCPT + 15 others); Wed, 9 Jan 2019 03:46:48 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36287 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730055AbfAIIqr (ORCPT ); Wed, 9 Jan 2019 03:46:47 -0500 Received: by mail-wr1-f68.google.com with SMTP id u4so6773770wrp.3 for ; Wed, 09 Jan 2019 00:46:46 -0800 (PST) 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=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=KzLn6sB5gXyDiESLuXVHb8RSBZdS3Z+JGMfZ7rjtrCXazereVFyE6KzxRKqp1ReyF0 bOOkU6dJSOmE0O5YjnDybR816ROyzy4/FPr9ildnJSUuCVJllCDVQuk0r36XlptvTelG Ql9ffvZBNu3zkyIIxajgs4XqFK+JHE16rdbq8= 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=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=MrazUAI+9Qi2Zei1JimyIWZFgNDi4/HvC9Fwj5Oyf8rP/rfWPs3+r7oj96vAwSTcHf MoQf0oWsnqcvWilgqyBlJi3S2NZI1qcmdNTub94i4Q1RrSiTzuRVHfw9+i0H7yiZLWuS dFyZc+1lDremRLQUCGdisFcODsm6jZK5cI5ExdKaex0CCC8llC3IgnP4nB5ZPrijb/2Y pdUTSvqMmzgINgI/2fW8DFvbX/ZXPkK/q+D1g4q55lgf/Vdod+f7jkhw49ZyVEi9Ol+3 XIRngaix082scV5i9QdEPVztCHU+PfsAJM4GEoDuozioLkqhGC7MPFI/cCbGkqbcMC9r ZmiA== X-Gm-Message-State: AJcUukcYzFoJ2j2rV0/XHhxxUUaC4SbQumgCcwPTnSb//hSPEbaAXSAb mCrDQYgDeMgkKajGY74LuORCog== X-Received: by 2002:adf:c452:: with SMTP id a18mr4262717wrg.145.1547023605976; Wed, 09 Jan 2019 00:46:45 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id n82sm12776455wma.42.2019.01.09.00.46.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jan 2019 00:46:45 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam , Stanimir Varbanov Subject: [PATCH 4/4] venus: helpers: drop setting of timestap invalid flag Date: Wed, 9 Jan 2019 10:46:16 +0200 Message-Id: <20190109084616.17162-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190109084616.17162-1-stanimir.varbanov@linaro.org> References: <20190109084616.17162-1-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The zero timestap is really a valid so not sure why I discarded it. Fix that mistake by drop the code which checks for zero timestamp. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/helpers.c | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/drivers/media/platform/qcom/venus/helpers.c b/drivers/media/platform/qcom/venus/helpers.c index e436385bc5ab..5cad601d4c57 100644 --- a/drivers/media/platform/qcom/venus/helpers.c +++ b/drivers/media/platform/qcom/venus/helpers.c @@ -439,9 +439,6 @@ session_process_buf(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) fdata.flags = 0; fdata.clnt_data = vbuf->vb2_buf.index; - if (!fdata.timestamp) - fdata.flags |= HFI_BUFFERFLAG_TIMESTAMPINVALID; - if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { fdata.buffer_type = HFI_BUFFER_INPUT; fdata.filled_len = vb2_get_plane_payload(vb, 0);