Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp304366imu; Fri, 25 Jan 2019 02:37:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN68o/ploEsWQwUIcYtQZH2BRadyUgRa969sHLPbZ/cMjCaijzG8NmyVbHJMEY79nQU3a0PJ X-Received: by 2002:a63:6103:: with SMTP id v3mr9221456pgb.75.1548412656655; Fri, 25 Jan 2019 02:37:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548412656; cv=none; d=google.com; s=arc-20160816; b=qd7WMQ0Hk7lfzGmdgNksY9smNlkzyJcfy/7MLhZ/bdqT3dtkR4AY9Kz8PnHWOzqsFu 4FTedgw8pNw3MeVy0W6JO087o2DkbFOyBA5WZhsljUrdirABk4ADyiMEp61rysTXCwC2 2BobmnNrk4Q0XuAY/zB6+v0wi923GApafVFTHpft9nFGpCkcK8NZ7D8tmFOj7L5iPQRe YlLtGI7WzWsw6t5iJcJVgsQXCnM3wwMMUKnJ1ZkBhiIFAoZl20kAiTTDOkp176OY1Dg3 1ZuhPp1V3u7bFXFeAHrAKN4EfsKBGRmqeczdBIQ49sw6i3lTF56fOG7vFq+tb+RqSPL6 G2Ig== 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=ealOnVHVYH/YbyAmfaqodTCJ/ZpZvOckJdBQrb+F6rc=; b=rItcvKXtV8g2vbm52/TUYroZm3n8yhLzeu5co3/V1NmAnuOXOd4ShmH5qJ0uJKUaaO C82hLAyX8El+A86kjJEARq4y4jM1TgdMsk6Gy3Jj68439ii54i+9EdHLYKCdm9VKxJa2 W9auBE7P5vtF9EU6GMeJAD3JLtDt8cBVCHCj03hBeE0KPOAHhKSRiQR65IsmMuYeYjqe J/4NyTfkPqiJmQgZIsaPl7t9tdDBY5M3+uQFAO2KdR0YQF3mMD5FuXxV30EcLUul9oH5 X5hUPke8DWVvkV2KNdvDFonxW/EsioJhoVV/pnbvSLzBLbRBjIkcLQy4h/t+r6VteD8c JAFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GUWlGWAg; 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 o12si25733426plg.250.2019.01.25.02.37.20; Fri, 25 Jan 2019 02:37:36 -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=GUWlGWAg; 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 S1727558AbfAYKfy (ORCPT + 99 others); Fri, 25 Jan 2019 05:35:54 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44670 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfAYKfy (ORCPT ); Fri, 25 Jan 2019 05:35:54 -0500 Received: by mail-wr1-f68.google.com with SMTP id z5so9692377wrt.11 for ; Fri, 25 Jan 2019 02:35:53 -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=ealOnVHVYH/YbyAmfaqodTCJ/ZpZvOckJdBQrb+F6rc=; b=GUWlGWAgn+BlULBg7c8+qTcJX03xpf+jxJEZOUcTioFUD6uUTKJDxcY4lVkDG2Ir95 NM10k8PRNy++j2IAAiLXiwQnThm57T+s61yrZ2ScxpYsVaZTAJoGIaQ8b/ohUvsPyrHg nbuDzqKclboK8S4fOZ7XH1N5lFDFa+rLIi5mY= 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=ealOnVHVYH/YbyAmfaqodTCJ/ZpZvOckJdBQrb+F6rc=; b=qxcUy+ICOKxIEl16Jdpvdn2k1q7PDy6C16HO6fYfqZpwFlVD117yJiWspvfiJEdhoT Xb1+AlKaCgS/rBahLO9Au+/uK0sXDP8H5CTeewJ5c+NPWu0udFflYDfl6Q/s8tKHhXT9 RNY47qZoR6FWp1O0Wt9vdNjoKeKnmk2Y4Lmrn2TA7xExu/5Lk/9tNC+yP7QIcBaH/yga cL4JAu9PlWsONQYuEjwdS3vcBX/C3wcA7JeNNkqLdFjSErqi4gzo03uYlHX/FrZDJnC8 A4kRfzPszIGaFvWE06w97SjTrZyN5uadORk32RdPt/9tR2q3jg7KVrkCcS8d/5gvuWYb WS4Q== X-Gm-Message-State: AJcUukfg0h7fcWiAXE5XMXPVTB2PMmTHGurSvQpDg0dK/UwaNWbCgGc4 OO80DZOC2Y9JB1KXabfk19X+JA== X-Received: by 2002:adf:f28d:: with SMTP id k13mr11373650wro.78.1548412552686; Fri, 25 Jan 2019 02:35:52 -0800 (PST) Received: from [192.168.27.209] ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id y1sm81447532wme.1.2019.01.25.02.35.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 02:35:52 -0800 (PST) Subject: Re: [PATCH 00/10] Venus stateful Codec API To: Alexandre Courbot , Stanimir Varbanov Cc: Linux Media Mailing List , Mauro Carvalho Chehab , Hans Verkuil , LKML , linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Malathi Gottam References: <20190117162008.25217-1-stanimir.varbanov@linaro.org> <10deb3d1-2b10-43fe-bc77-4465f561c90a@linaro.org> From: Stanimir Varbanov Message-ID: <80b97fd8-bd3a-df74-c611-5da11bd7adc6@linaro.org> Date: Fri, 25 Jan 2019 12:35:51 +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: 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 Alex, On 1/25/19 7:34 AM, Alexandre Courbot wrote: > On Thu, Jan 24, 2019 at 7:13 PM Stanimir Varbanov > wrote: >> >> Hi Alex, >> >> Thank you for review and valuable comments! >> >> On 1/24/19 10:43 AM, Alexandre Courbot wrote: >>> Hi Stanimir, >>> >>> On Fri, Jan 18, 2019 at 1:20 AM Stanimir Varbanov >>> wrote: >>>> >>>> Hello, >>>> >>>> This aims to make Venus decoder compliant with stateful Codec API [1]. >>>> The patches 1-9 are preparation for the cherry on the cake patch 10 >>>> which implements the decoder state machine similar to the one in the >>>> stateful codec API documentation. >>> >>> Thanks *a lot* for this series! I am still stress-testing it against >>> the Chromium decoder tests, but so far it has been rock-solid. I have >>> a few inline comments on some patches ; I will also want to review the >>> state machine more thoroughly after refreshing my mind on Tomasz doc, >>> but this looks pretty promising already. >> >> I'm expecting problems with ResetAfterFirstConfigInfo. I don't know why >> but this test case is very dirty. I'd appreciate any help to decipher >> what is the sequence of v4l2 calls made by this unittest case. > > I did not see any issue with ResetAfterFirstConfigInfo, however > ResourceExhaustion seems to hang once in a while. But I could already > see this behavior with the older patchset. Is it hangs badly? > > In any case I plan to thoroughly review the state machine. I agree it > is a bit complex to grasp. yes the state machine isn't simple and I blamed Tomasz many times for that :) -- regards, Stan