Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1230723pxb; Sun, 22 Aug 2021 09:52:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWjpoIezTDzBCrx2zYduIW4pof4MjJYvClhUGzyHNzmd42AK3VW1+w3X39gd3umuAOW+SK X-Received: by 2002:a6b:fc1a:: with SMTP id r26mr23373206ioh.30.1629651121806; Sun, 22 Aug 2021 09:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629651121; cv=none; d=google.com; s=arc-20160816; b=kiNF60sX89m2EeOeYhsICJdVBnJ5Q0F02pBkiE2/LB/+NmrkR0n0sMBKCmP+QiWrAw OLZBbEGCWkGiYpRp2IUVfmksssmsWvGdATXQ8huJPOw97JqgqqPXO3RHRSCZTFBQTDCX Q/XSzNuwKGEtG/EfJrlm3EilOnfpjgm1ROGmc/gnc9iphc7vKY4B+EI90E+JxtJCLPT2 HrZhVc2pYCoPQXuk/nlumWcG0CJApRxb1G9CP4jGvNINfdNMyty2ewixtoOhEIHFH48b s/clllAzk13WsmR4x3o5dBhvUTWkrhA5bpuZQU0gpaGGgJXCrIbAoYR+W6Rz33M/EwjL rKVw== 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=dtfidEe/qjxfHjRkhW97hyLbAhf+ZJVGWplTJWO3Pbs=; b=dVD8ONodbq0k+WxlZiT/3gCh5m4GDwHnHIUt4NP0MqqIITLcWO+VaLxz/VAPfRL+0c QJVhD0LsLs9jyXBlUDOhMKz3C2CVK942Ii39JQ+10bAVYHmtTk/OauwV9ocA+n/SlhuZ To9a7O54T3iA8I8TPTbQrY78BnX46cWgc7Dh7JSRT8UQ9E2c5CCqXhQzY1KHZmuo9hC8 ZrHIxZ9Sui+Z1EtBPYzLuXlATiYvuj5U6LfKSApM2+iOkxCTsdPx1ujTAzzeuOtWNpvb Odxi5lnBFHysbOM1rHA24Fg8v+bJP2OLj3Q8dG2FCKoxXs5z0jj6jXpt0+YOcy/AWwkt N51g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=KUQ1Wd1A; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si15005302ilu.84.2021.08.22.09.51.50; Sun, 22 Aug 2021 09:52:01 -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=@ffwll.ch header.s=google header.b=KUQ1Wd1A; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbhHVQvR (ORCPT + 99 others); Sun, 22 Aug 2021 12:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbhHVQvQ (ORCPT ); Sun, 22 Aug 2021 12:51:16 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E1DC061575 for ; Sun, 22 Aug 2021 09:50:35 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id a20-20020a0568300b9400b0051b8ca82dfcso8552611otv.3 for ; Sun, 22 Aug 2021 09:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dtfidEe/qjxfHjRkhW97hyLbAhf+ZJVGWplTJWO3Pbs=; b=KUQ1Wd1A9uHMPtRYx40LKABn7voa02Y4leoq1TyTTpx+BBE1w/r1SsSTOIUgCT4xfr oGJeHu5D3NKbu0d+8lZPwpu82/jyg8bA5oOOPJc+3h3eqD/tm+u+bfsB0MVHDBtL1LXy QLAGHfOtjkqC9xyeHfDXqtqW8CfEM4VOleO7k= 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=dtfidEe/qjxfHjRkhW97hyLbAhf+ZJVGWplTJWO3Pbs=; b=aPLvboB7w6QYKj/tFIuCRFwB7A4AbR2Ugaoknd04wWq3Aa65gZswkgEtyscevAKsle DD0ZA555BJl8Wh9WVdkmBrDZYdeAADg1r/elVEXpgktxcZAS8k83KzXjoTaudzONp25A 2evtCFWaWbK/WQlG+lV1plaoGZGDGrjiO+ZK5VWL3e1eOanWrLmfNhl+0DlYINa/6HVD YqhCNntaVxTWBKDdt+F6msx8IbYTZsaq1Ucr+zF0F7JK4hgoNwmagODAT0cZEvUnue1d qhLXVAsv04jQEd8j8y0Ax1W+5SYx332k7R1yhKBOA9hbiXTP0ubJKoCdGzOlhAcz9xKb /Clw== X-Gm-Message-State: AOAM531xwYvqM87tyAX+b0lmCMgm+c1maDTPk6XoTywb7N5hz3q91RrV vMp9wt1bIfPc1gEP0SZLG4srFulX7Yw3OK0AsWyE2g== X-Received: by 2002:a05:6808:1449:: with SMTP id x9mr9094210oiv.14.1629651034674; Sun, 22 Aug 2021 09:50:34 -0700 (PDT) MIME-Version: 1.0 References: <20210811025801.21597-1-yunfei.dong@mediatek.com> In-Reply-To: From: Daniel Vetter Date: Sun, 22 Aug 2021 18:50:23 +0200 Message-ID: Subject: Re: [PATCH v5, 00/15] Using component framework to support multi hardware decode To: Ezequiel Garcia Cc: Yunfei Dong , dri-devel , Alexandre Courbot , Hans Verkuil , Tzung-Bi Shih , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , 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@mediatek.com, George Sun Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 18, 2021 at 4:12 PM Ezequiel Garcia wrote: > > +danvet > > Hi, > > On Tue, 10 Aug 2021 at 23:58, Yunfei Dong wrote: > > > > This series adds support for multi hardware decode into mtk-vcodec, by first > > adding component framework to manage each hardware information: interrupt, > > clock, register bases and power. Secondly add core thread to deal with core > > hardware message, at the same time, add msg queue for different hardware > > share messages. Lastly, the architecture of different specs are not the same, > > using specs type to separate them. > > > > I don't think it's a good idea to introduce the component API in the > media subsystem. It doesn't seem to be maintained, IRC there's not even > a maintainer for it, and it has some issues that were never addressed. Defacto dri-devel folks are maintainer component.c, but also I'm not aware of anything missing there? There has been discussions that in various drm subsystems like drm_bridge or drm_panel a few things are missing, which prevent drivers from moving _away_ from component.c to the more specific solutions for panel/bridges. But nothing that's preventing them from using component.c itself. I'm happy to merge a MAINTAINERS patch to clarify the situation if that's needed. -Daniel > It would be really important to avoid it. Is it really needed in the > first place? > > Thanks, > Ezequiel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch