Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp310916imu; Thu, 8 Nov 2018 02:16:54 -0800 (PST) X-Google-Smtp-Source: AJdET5dCbhUrMSEnNO4lTjc22Wi2qX+Vb9pXMEo80HsXK2XdoiVI9IahsqVLbVDjlzIK3wy6Y9qk X-Received: by 2002:a62:4b4b:: with SMTP id y72-v6mr968809pfa.67.1541672214149; Thu, 08 Nov 2018 02:16:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541672214; cv=none; d=google.com; s=arc-20160816; b=IAiYx0NoWFD3IdzcX83ObfSA3oEvYvxOKL5saI1HXbFXGyQ7LGA1U/4KUPDZqZ462g PA9auxqNipY3+oDcg9aJUmu69RnmRYuCjSpTafyP3XsG4EXSGfnowlx8EXXMcimZjCu7 Qmv4Y72QzdUuGZGb2xOiRV92t5ibuaeUYoXIT4tUG22RVDV/7KTMf4KC8VZBEPA2qwel 0Gp4AvH/3j9T409GDpA+JyW02WGozmvtL0n2gYPebOac+QjIPW3mfppat9AKIf8ZIwJB Z/YxWSAmoUewE3/3yfkil8CkpZ7vJvAHladiJmFb10DnQGOcTXiOE6iO43bP/LFNCQD5 7mhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KbZR/OgRKk4Y5aiDl1atny8TZ4Foc4B4RxROi6cj6VI=; b=M5IPCuRtdJMXW517mcI8obIM5z0dSuhIR0jci25sBW9cMvxuKHGV57d+oFHIe6O9Tw SCn7K19IunrGF58tnmQofDk1TSLVoVMSa9h8qtHWJevwHCmTVw6Qj1V9U0rCcEVxCcls kG3M8DY0vd526CYqZ73Ck50mlfSqryMqXbsTZ5gDDNCZhKX4yk4w22ll0N7lMPuflMAH PxVMrIv59zX4oj8yuzbTbp+COYGpHUkIT6QaPgfrw6lctCig/MCm7kk0z8SpDPXndtQ0 ZvuS2Pg1wrBB9q/acpRTDYH7GXulJjIJZ082FaW3qYVxn8sb0//Asy7hE5O07S3JdQ3t 4BAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cWczkb88; 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 v141-v6si4073123pfc.193.2018.11.08.02.16.38; Thu, 08 Nov 2018 02:16:54 -0800 (PST) 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=cWczkb88; 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 S1726963AbeKHTvA (ORCPT + 99 others); Thu, 8 Nov 2018 14:51:00 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44300 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726584AbeKHTvA (ORCPT ); Thu, 8 Nov 2018 14:51:00 -0500 Received: by mail-wr1-f68.google.com with SMTP id j17-v6so15463450wrq.11 for ; Thu, 08 Nov 2018 02:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KbZR/OgRKk4Y5aiDl1atny8TZ4Foc4B4RxROi6cj6VI=; b=cWczkb88OddiVEjIUkgnM3uT6cSiGjq3GnAbuAfMIMhwdXPSK3rnGqOH8QwWiaqVx4 kXxmGds4WeYWmjZlPpu64oLyPEDqjqcNVEf5tIIJCevvBQbdyhRi8VbWg9pcGKcuI+Og 5fdCJOMv/TT8Wvzjdt4K+42zM10vMnb2BZSc4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KbZR/OgRKk4Y5aiDl1atny8TZ4Foc4B4RxROi6cj6VI=; b=Cvxifuy0bRSEM2QFgZxMsajMYiNMSl+4Ftr0jpIOHXqdlM0OZzg8S1q1jvEH2sfE9a 6ioRASH/Q486TaQ+5PZOshFoiPI+8tlDjcn6Kk5ifSd6ZVSOGueMXFHnskSXUIMBtAar YD19qDksNguXzqtZoxofvpU4rdghjlAw1fOHYWlNmvigSrLA2dAQGvb1xI2srFh10hAY JhdfkOSx/3E41FaYBlUan8BnXruVcC/1oDsK2E6pakDw2uq0+61epQOwj5XF2Eneq2BY MqdDTpMJuk0kc+K+MAa524s+euHgj18niXSBPRbRcbGldjqHTPiflLEff9278McbD56j NM4Q== X-Gm-Message-State: AGRZ1gL3qLb9E1/rM0JkExvIrEI8V8HueKZC+gIAcXXf/aJOGCkZyMuw 3AuJsW0/6W3L4AEtDAeTYRURTw== X-Received: by 2002:a5d:680c:: with SMTP id w12-v6mr3697768wru.248.1541672173580; Thu, 08 Nov 2018 02:16:13 -0800 (PST) Received: from [192.168.27.209] ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id r198-v6sm1437102wmg.0.2018.11.08.02.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 02:16:12 -0800 (PST) Subject: Re: [PATCH v1 5/5] media: venus: update number of bytes used field properly for EOS frames To: Srinu Gorle , hverkuil@xs4all.nl, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: acourbot@chromium.org, vgarodia@codeaurora.org References: <1538222432-25894-1-git-send-email-sgorle@codeaurora.org> <1538222432-25894-6-git-send-email-sgorle@codeaurora.org> From: Stanimir Varbanov Message-ID: Date: Thu, 8 Nov 2018 12:16:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1538222432-25894-6-git-send-email-sgorle@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 9/29/18 3:00 PM, Srinu Gorle wrote: > - 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(-) NACK, that was already discussed see: https://patchwork.kernel.org/patch/10630411/ > > 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 { > -- regards, Stan