Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752727AbdLEMSF (ORCPT ); Tue, 5 Dec 2017 07:18:05 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:45692 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752648AbdLEMSC (ORCPT ); Tue, 5 Dec 2017 07:18:02 -0500 X-Google-Smtp-Source: AGs4zMbUjBs9ZGhvHyJ0h6UhU3udmt8TDAcl7Ps1w42leEhqW7boggJ6RsaBgieJtIkKINO1xRHqeg== Subject: Re: [PATCH v4 3/5] staging: Introduce NVIDIA Tegra video decoder driver To: Hans Verkuil , Thierry Reding , Jonathan Hunter , Greg Kroah-Hartman , Rob Herring , Mauro Carvalho Chehab , Stephen Warren , Vladimir Zapolskiy Cc: Dan Carpenter , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1a3798f337c0097e67d70226ae3ba665fd9156c2.1508448293.git.digetx@gmail.com> From: Dmitry Osipenko Message-ID: <3ac6a087-def2-014f-673d-1be9d5094635@gmail.com> Date: Tue, 5 Dec 2017 15:17:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 26 Hi Hans, On 04.12.2017 17:04, Hans Verkuil wrote: > Hi Dmitry, > > As you already mention in the TODO, this should become a v4l2 codec driver. > > Good existing examples are the coda, qcom/venus and mtk-vcodec drivers. > > One thing that is not clear from this code is if the tegra hardware is a > stateful or stateless codec, i.e. does it keep track of the decoder state > in the hardware, or does the application have to keep track of the state and > provide the state information together with the video data? > > I ask because at the moment only stateful codecs are supported. Work is ongoing > to support stateless codecs, but we don't support that for now. > It is stateless. Is there anything ready to try out? If yes, could you please give a reference to that work? > Anyway, I'm OK with merging this in staging. Although I think it should go > to staging/media since we want to keep track of it. > Awesome, I'll move driver to staging/media in V5. Thanks!