Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1829469imm; Sat, 29 Sep 2018 05:01:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV60typH9V6TshqztQcHMd9RvqVTDZ7iDIFBimLMVRkHbwFo5o0s4nDtk9I72ZPR6qllCCVNJ X-Received: by 2002:a17:902:28a4:: with SMTP id f33-v6mr2899015plb.297.1538222496028; Sat, 29 Sep 2018 05:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538222496; cv=none; d=google.com; s=arc-20160816; b=eUFaHQpgnBlUBxIiDcmQODFhtTSs35QYo9w4m+KBFRoORxbV5cr3woGfsyAjQZS6xw ibZU7z4yPCgB2WUF5Xowh95PZdrQODvGDJrzaaF+A0Z7FZI8+wzwhCKWEXJPx95ZsPaZ me5NNS1/YGYdw2BY2mvZYofxmTQtc8QkS28xZF5rTKU9LMe24VJZyUu8HwSeFsk/53ww tb6Trhs+GwIRiH+yDpfCzs3ciWfM1Yv4A66Ox9Izm9P+oqDeBai7wQKtSQcUHQAUJLGf 8pJkOT5NJlXAIth/tNtfl3sMII1mOmaWKN6tuQW6xJ1IsbwGIF1imXmqqKzWDjGsgMyg vsDw== 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:dmarc-filter:dkim-signature:dkim-signature; bh=b638C5zyMaToBDtJDLRpgFlhsRonhWrR2hE3JiZz7Vg=; b=0UZgtZHSDFLS/l+hQeH8Q6DRiUD8gI2GXb66ZiVj77OMU8i61Oi19qzbPeutAzjc1X KzD5/bJvgek9pZTFK1xJqHflo5N2+72LmSW8fSs9tJ1RZVwEL2e6bJHOgBXyHqcvTvEz fRwrkQjTzQqLlQPNX+RzKtGyo57j+JqSH4BHOFvu0LdP0EsxLLyCpq006uUcoMH07QLy P+uGJrVr5jo660NiVdhXsJOVarxM/3NcxNum3u2gNcD5Gzob94WuLEK0jCzgWRXNYg+v UXH3WLaarzLDwQkZfNVcymqRvbHL0jGn8T70qNh+xN98ZX7JSBz/dVv1gEaXRKhiJ3jd dMpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CBz7PkcR; dkim=pass header.i=@codeaurora.org header.s=default header.b=SJ6GeSdR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3-v6si7308350plp.199.2018.09.29.05.01.21; Sat, 29 Sep 2018 05:01:36 -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=@codeaurora.org header.s=default header.b=CBz7PkcR; dkim=pass header.i=@codeaurora.org header.s=default header.b=SJ6GeSdR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728321AbeI2S3T (ORCPT + 99 others); Sat, 29 Sep 2018 14:29:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53432 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727979AbeI2S3S (ORCPT ); Sat, 29 Sep 2018 14:29:18 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C4357609A8; Sat, 29 Sep 2018 12:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538222465; bh=iXCfK9aOM52GK3s6zuZjO0C42P/1OJbKV7Q83ZSNahk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CBz7PkcRocL/Bc/vmT2/gZ/mE2aH43btYSncPLQZE1Nr6iKjsnHH6aEoDjfRzQGDP /Sq02qzWSVLTSTgGNw/n7xukS8a4jS+pii0HjxXxUisfW2ANMYzkVMzYQmOYOMtmys PcVpHbZDJAvcGO6avDUDGG2x6CVkBvYqzxdCnu9E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from sgorle-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sgorle@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A3C7460C61; Sat, 29 Sep 2018 12:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538222464; bh=iXCfK9aOM52GK3s6zuZjO0C42P/1OJbKV7Q83ZSNahk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SJ6GeSdR5/tlTQPc/lmxQFWOnPAatdU6rvoccZJErsIYcwURqC3Hs3q5muD+2l7XD p5mcjQY3PEkVOWu2UNm7KXPZFZ7usc4caihMVJ051rXRJxYirnDDCttp9rZNQPVsw6 8Sfsig6DX1QlW/g+SnS92gffqBZMgLWHqPeF6X/8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A3C7460C61 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sgorle@codeaurora.org From: Srinu Gorle To: stanimir.varbanov@linaro.org, hverkuil@xs4all.nl, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, sgorle@codeaurora.org Cc: acourbot@chromium.org, vgarodia@codeaurora.org Subject: [PATCH v1 5/5] media: venus: update number of bytes used field properly for EOS frames Date: Sat, 29 Sep 2018 17:30:32 +0530 Message-Id: <1538222432-25894-6-git-send-email-sgorle@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1538222432-25894-1-git-send-email-sgorle@codeaurora.org> References: <1538222432-25894-1-git-send-email-sgorle@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - In video decoder session, update number of bytes used for yuv buffers appropriately for EOS buffers. Signed-off-by: Srinu Gorle --- drivers/media/platform/qcom/venus/vdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c index 311f209..a48eed1 100644 --- a/drivers/media/platform/qcom/venus/vdec.c +++ b/drivers/media/platform/qcom/venus/vdec.c @@ -978,7 +978,7 @@ static void vdec_buf_done(struct venus_inst *inst, unsigned int buf_type, if (vbuf->flags & V4L2_BUF_FLAG_LAST) { const struct v4l2_event ev = { .type = V4L2_EVENT_EOS }; - + vb->planes[0].bytesused = bytesused; v4l2_event_queue_fh(&inst->fh, &ev); } } else { -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project