Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp78801imu; Thu, 24 Jan 2019 21:35:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4iNusGsGqVumdmbcDbr1QdR1W9LEaKKccTr9/8a4Acrh6QWEz7duz5siKCqc5343/XsBUg X-Received: by 2002:a63:4456:: with SMTP id t22mr8922725pgk.0.1548394547267; Thu, 24 Jan 2019 21:35:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548394547; cv=none; d=google.com; s=arc-20160816; b=wy4F11aEKozJAGEOYHX9Kq4yxrhmBVvd0ARCZXP5DtpT/AL0n77zGFeUrdrYQVJVux 92H0CSTkcqEyPJ3NOzZiB3kkGdn0oVONCsWTFdnzONLyTLKJpgtTPX3XAzP9bIWy2cBh e/rt3djCPh346/ipSho72j0pqK2nswckMYwYZFEjtHamGOabphWMOFVW1FgCaZBoy76a G5XyYUXWVGcTEm5kC9XYuMl/uJNM1xxFUqEYnX+P6siVbsAjbnYSYIwT2H28rV3yXcA0 m7LSspiWNHqZp9nBFEn0mDgz42n84yz61nTWaL0ghT8+pYHvYIOLDNnKtvWzJn3xii8B 4Nyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gRXxT5dd8d8+j8LdW5JZWV4AmLZH7T1kf1JeldOAZic=; b=O2firp3R8n0pvbZMyRq42AOHInM1yMzJ5hwrkOmpsLiq/tewz+myAzJ33vkQbuBY5n Bjxq7+X5SIhOPAlWiRipxRr9g7cdAEYWHr6KiAEiiSEhSjHlZjMSmhyNnw2921FnufKG SzLU3ibhyKllLEN0X6YLJTMiithsaVQz2NvtZUn/6sI9LZxhufU0prjdfJCWHjveMsqO y++ry23Neq5NmRMUuHIaUK4BAvObtXVtcJRriPBA2SoOqzacHI0JbBBc0WDOuYFNOVAd 1vQz8ZIm9CylWjZoKW8n3hWHOTus6cvMsdFQmJbMRiHxTDcl0HbkVmV2U8jsaQzOVAlP 1pDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ELPqKfMd; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h31si23847251pgl.482.2019.01.24.21.35.30; Thu, 24 Jan 2019 21:35:47 -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=@chromium.org header.s=google header.b=ELPqKfMd; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726344AbfAYFeq (ORCPT + 99 others); Fri, 25 Jan 2019 00:34:46 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:46003 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726257AbfAYFep (ORCPT ); Fri, 25 Jan 2019 00:34:45 -0500 Received: by mail-oi1-f196.google.com with SMTP id y1so6834659oie.12 for ; Thu, 24 Jan 2019 21:34:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gRXxT5dd8d8+j8LdW5JZWV4AmLZH7T1kf1JeldOAZic=; b=ELPqKfMdoZpJNs4Cp/6kotqNPv9jCHqvoTrGouz4wDUX8l1hlNFZ7jFumds7fqU1pu /tQ68/lKi3QF7vnRYWUYdvniAHMOCqxwVSwvIqQBXxF00LWaGt+1lEnA9TcwlqeGglyU 3g6p81DmGTvelvKrg9p0z1NRlTJgYrh6XlSek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gRXxT5dd8d8+j8LdW5JZWV4AmLZH7T1kf1JeldOAZic=; b=fxqmAPhEvnJk2BrkkvB7eLMDk7LDtzdVSdkvcRbhG68YiwGOH73gsAYURCbSPRxU9q 2kCCjhr0Auh7Q+WsPYpzCASPl68nMAj8j+NKbyzVClgSc0w4I5fiRMXmPT/WFEYeUv6y gnos2INbV2IAQ7f9xoCx7GWg3O62VOHsPCNvcLOJ1LNby5QwLzuDWjDHiW8I3JGAu7lp GQz2FKHG/XBdQoXNjAOeAn3jLoJdYsndj8hQodDVpJ26j5ZA3K8X0jSDre52BsI4OT1L 2M8mlsRuQbZjeO/GBLFwuodqYUsmY4N3MmWKsT4ZMAVAVGXKwAU5SICxGDnkc2EgDHRe 2YvA== X-Gm-Message-State: AJcUukfUAIN/yVMR0gckKtPKmpiizL6UkN9nEN2e+FionswBzxDsfDip mEGmb1lqmMDFATrQYdMJPv3c1R/bYxsDVw== X-Received: by 2002:aca:b882:: with SMTP id i124mr444242oif.127.1548394484542; Thu, 24 Jan 2019 21:34:44 -0800 (PST) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com. [209.85.210.53]) by smtp.gmail.com with ESMTPSA id q199sm906707oic.39.2019.01.24.21.34.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jan 2019 21:34:44 -0800 (PST) Received: by mail-ot1-f53.google.com with SMTP id 32so7458661ota.12 for ; Thu, 24 Jan 2019 21:34:43 -0800 (PST) X-Received: by 2002:a9d:5549:: with SMTP id h9mr6214316oti.83.1548394483048; Thu, 24 Jan 2019 21:34:43 -0800 (PST) MIME-Version: 1.0 References: <20190117162008.25217-1-stanimir.varbanov@linaro.org> <10deb3d1-2b10-43fe-bc77-4465f561c90a@linaro.org> In-Reply-To: <10deb3d1-2b10-43fe-bc77-4465f561c90a@linaro.org> From: Alexandre Courbot Date: Fri, 25 Jan 2019 14:34:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/10] Venus stateful Codec API To: 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. In any case I plan to thoroughly review the state machine. I agree it is a bit complex to grasp.