Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4297980pxb; Mon, 4 Oct 2021 23:16:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI+50XULYd/KR4KrT/n60cn/ZuH8Iq4qngKiMmg70X0nV967/hbW3TWeCRc0wTv7zXCpDD X-Received: by 2002:a17:902:70cb:b0:13e:91f3:641a with SMTP id l11-20020a17090270cb00b0013e91f3641amr3608713plt.13.1633414616698; Mon, 04 Oct 2021 23:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633414616; cv=none; d=google.com; s=arc-20160816; b=mHSLQkPFYGbSZQ2ngxdGKoDd2E6GUNsIExc38ivmq6VWgQ6i9UBlojxGjzNcW9Ubk7 AR/noPZb0cftM5pPLJ8CFPxFTWcQBUGHLbGXR9qBIoncpJeJQh3/iJK8KTiMPEx//4Mu DQdSVyCsvjTwR5wZsXA/uhabKblc9s4jgaVpodjnkiQsbzou590TlQootRDRlp3eEIuF tMAGJgSPu/D1feMu3jWA3FWhj9TYpfn9nZL3lIpKSoyRsa/QWn9FArELr5iTMHRi1r4y sOQJ3yp1NvSXf6LmTkAo8kYJt1SE76pAH6DSS2ZmUn2ZRh6wYyKlNUEYXPAPovDqRJQy Alhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=j0gdpa7QFj6JEtxCL0CAkQhhWBN7lylbx+e4M1Vsb7o=; b=Uj/l/orNudxhSatkslrL/nEP6K/FiEJzml+eTH439MxQihXRf/KuIRdv6iRLsBI+D8 KTDdTeuBwKkt363IADtHPgP3VyHR6Egypr8Zs7BcJHuMMfJfsORxs7G7KUnhXFSPuNnX ooyAmZ5ai5myj/55uy+cTjntxglpKQdPVwKpN+azwws405CZ16K8TdCVCuzPZaT4pOlg 2zZa3pRSE/j7PXNk7gzYrfZcYi6uP4BxRi51/flSgBScnMknimhWTvFADOv3uQIUcv5/ 0xsQzD21zcDtLDjwg8AWylaFAaoRAKNLzpAq/aJOb5Ajg8iZ9MnY37s8ax7ZvQn/sqxa ujdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VSMlRsoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si23031882pgu.293.2021.10.04.23.16.43; Mon, 04 Oct 2021 23:16:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VSMlRsoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232493AbhJEGPg (ORCPT + 99 others); Tue, 5 Oct 2021 02:15:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232469AbhJEGPf (ORCPT ); Tue, 5 Oct 2021 02:15:35 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 322E3C06174E for ; Mon, 4 Oct 2021 23:13:45 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id g193-20020a1c20ca000000b0030d55f1d984so1897894wmg.3 for ; Mon, 04 Oct 2021 23:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j0gdpa7QFj6JEtxCL0CAkQhhWBN7lylbx+e4M1Vsb7o=; b=VSMlRsoRvLnUs/myw52hG6menRckaTpfD/sc8jEUT0jyW5v3NKcZHtBWqWykMD5xpQ mFu4QMfCZ9RQ9gHcJ9QFLXWCDQioaZGzCLDj2r3q5cK6Bu/YSHR3txAyRLJylC+4AKLR g55PRWGvVR45Df7AB215vAr2ryBVF9UVBNPf2zz3lLIf+C6rBUlNftwFmbW96vlrWdTq hCwjH6VQ0tr1DWzEEMjTxsoihIPbk377R7bOZfQPdhVWl10LaMlIoj6UaOF+EZtODQyV LwPycfL7e8vNKveuzSRdCDYLP9xDWVdJMnpBwUvvLfFs+gIqIOclKdHk3GCXIwYTLdoB y/FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j0gdpa7QFj6JEtxCL0CAkQhhWBN7lylbx+e4M1Vsb7o=; b=dw2Z4ZiR0ghq5cKdbvbo+jQlNRycobDXLGhXlThJOvPvPPMQL4BPi8Vjz1EU7g76sS +b/E7TmKLrkQEFTUATyO+Oui2HG3JIMHi1eEcNOPUyDCWrl41STlwRnjCBI2YXAsw3UO rvJeb2r8IeT9LCcd/w0Bjcs0St3yWa5TqqN9oli4Lk8kRzmskOY2dhCkLHomnnYMEKBO 0SKWX1jEIIpkgcmEYgRDi8Ws9feXxRP0QCcuxfGxoA0IiJcOlqs+T0sI8RyowHCHsNF1 ZiT6d/+DshoMiT6oPYuymFKtdGFBqiRGBBNM6z7XjvQXAJZOycdfjDsBi8QJCQwbQ+2f +z0g== X-Gm-Message-State: AOAM533E0Z1cYtxWjuL8xXiOaxoT80gEM85M6D3QO9wmGxC32ASKMWOW Q9lrBKBBa6CNj1mE6mogM8ryh5erUFZcd5IVsz/O9g== X-Received: by 2002:a05:600c:1c9a:: with SMTP id k26mr1406845wms.169.1633414423545; Mon, 04 Oct 2021 23:13:43 -0700 (PDT) MIME-Version: 1.0 References: <20210901083215.25984-1-yunfei.dong@mediatek.com> <3b9463e88d88ce85205da08f8263252da7726ade.camel@mediatek.com> In-Reply-To: From: Tomasz Figa Date: Tue, 5 Oct 2021 15:13:32 +0900 Message-ID: Subject: Re: [PATCH v6, 00/15] Using component framework to support multi hardware decode To: Steve Cho Cc: Ezequiel Garcia , "yunfei.dong@mediatek.com" , Alexandre Courbot , Hans Verkuil , Tzung-Bi Shih , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Laurent Pinchart , Daniel Vetter , dri-devel , Hsin-Yi Wang , Fritz Koenig , Irui Wang , linux-media , devicetree , Linux Kernel Mailing List , linux-arm-kernel , srv_heupstream , "moderated list:ARM/Mediatek SoC support" , Project_Global_Chrome_Upstream_Group Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 2:02 AM Steve Cho wrote: > > Hi Ezequiel, > > Thank you for reviewing these series from Yunfei! > This series is one of the main obstacles for us at the moment for MTK > so please continue to help & support reviewing this series. > > > > According to google's suggestion, it's better not to use v4l2 async > > > also. > > > > Hum? I haven't seen such objection on the mailing list. > Maybe coming from Tzung-Bi? > Yunfei, please let us know. I do object to using V4L2 async. It's designed for independent components of media pipelines, handled by multiple different drivers and also modelled as V4L2 subdevices. We don't have anything like that here. How about just open coding something trivial that only fits the needs of this specific driver? I think it would be as simple as a linked list and registering the V4L2 devices only after all the nodes probe. Best regards, Tomasz