Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp252915pxb; Thu, 26 Aug 2021 02:15:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ2KBHiUO0n05CRuhkmvfpzm5yz7mUf1pWOecq4DltsE7FeS6Q64n9FvBkpsbsbXa8nqDy X-Received: by 2002:a05:6602:3293:: with SMTP id d19mr2262081ioz.158.1629969347519; Thu, 26 Aug 2021 02:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629969347; cv=none; d=google.com; s=arc-20160816; b=LI/yU177wEvsf/vNgkQTR+OfBuDYwQ10iHuIb+KjavdBWj5H30dWAYFU35hsdMxmMl zWilsDnp44+ySD+uh6Ax5pk3y3w0iYSqz7R82FKoGKqZK5Z5hFvA1NoXmTAI5xwOa0Oq iQtVO1W4gLLftx++UpBi11G7JJKj/9Ps3UwfyYHG3smByhDzp5vNr9tw4tA1dD6qiP/m 2dT38yrmYYLDaswAemgR2UmoiWD6TGWfrQ1Sh+hzsxpGkUneu/9ESYYfrjqmaTGJ2Qk4 8fJEMJfHSFUg6e9cdVvlxIyCEa13odG62LBQfr0vlb/O8NR6arq9VtAI0xzekNA6tj2N BEmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ubJENgQIOzugIH6aIzu4aa5SOJeA5cH0TBu7UkdkwRo=; b=z9KJTET5syTk+PA8J1Ah9roBOxtWDmdfUFEWUDH6WePA1hDWBT0LMpiHIyiPGxmiwC l2j2Zt0lodidlSvHkgm7nSuL53nzg0bkXmfx0Xosoj/J2XAC/mYMkL9WIn1e4mr2Qe7k DPeerp1F9Ec33kWJSPX7V0PVyofIbcBZ028wrS+JSKfcLReO2SB9LJe+jYQRPmTNuWiV rCLvDPwgO+w0Un+v02nmTiVT8UrcawbuXnf5aZy87g7NCo1dJv0AcC61oSGyS+BvOv/E HI6KSJZVXmGlpH9r056OtYSUyIEluTYn1lkBfHIXqMS5LxGkoxUAQyqETrsuKZFHivIj Fc0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=eWRM7qqi; 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 j6si2387956ilu.92.2021.08.26.02.15.35; Thu, 26 Aug 2021 02:15:47 -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=eWRM7qqi; 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 S240965AbhHZJPB (ORCPT + 99 others); Thu, 26 Aug 2021 05:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240933AbhHZJO7 (ORCPT ); Thu, 26 Aug 2021 05:14:59 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB59CC0613CF for ; Thu, 26 Aug 2021 02:14:11 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id f10so1394894wml.2 for ; Thu, 26 Aug 2021 02:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=ubJENgQIOzugIH6aIzu4aa5SOJeA5cH0TBu7UkdkwRo=; b=eWRM7qqism/66evB0/Z4A1uCvrnvkvTzAGwtb+rUwe1sPIN2AMyEYIn4BzeKGJqUoC JGhvessjn+k+1RDfzALVQ7b/43qoTxbHmhrfxabjnYDh33tDAFwtHDmh+cc99/k9KK+t 5e/Btgkaw0RYWxCnueUGZR0K4Rlqxa35b/K5k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=ubJENgQIOzugIH6aIzu4aa5SOJeA5cH0TBu7UkdkwRo=; b=uXXlQk92hdIxvpGlK/MFvand0cqObpQLpr3VPSXDolnxBYYkq06oEh9wtG19UppcpR +sSovio8vtkBuToip8toUPAWqdTxHbfjPbfd9MeUtXb/4cgHsC0ky5TFUCbASI1qIdiN rlJFLpaW7precTCyh8c4psHO8x9De9SPQX1WLxiWyC6puE92FyEO6M8bXYuop9+Nfr5l caoR/4b9r15dBLF0Llfnygc7ogj5/EPpxiudOcLapbY/qc7E/5Mugk3wCQCJrGhn5GAK K6YCcOv+Gm9vohrLhZlBgZVhVMPDuHlW8zzYmbh+dOlfNurcsZiYjVPeSxB5OZ4iAzO8 zZOw== X-Gm-Message-State: AOAM532bGufMcsXDyUaDMzIDCAHrblzV/uvbGIss5txlK3cqHIhS4sB4 nZurcn/LyZitTXeGwU8j6IJh2w== X-Received: by 2002:a1c:a903:: with SMTP id s3mr2538905wme.171.1629969250495; Thu, 26 Aug 2021 02:14:10 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id z137sm7917167wmc.14.2021.08.26.02.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 02:14:09 -0700 (PDT) Date: Thu, 26 Aug 2021 11:14:07 +0200 From: Daniel Vetter To: Ezequiel Garcia Cc: Daniel Vetter , 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 Subject: Re: [PATCH v5, 00/15] Using component framework to support multi hardware decode Message-ID: Mail-Followup-To: Ezequiel Garcia , 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 References: <20210811025801.21597-1-yunfei.dong@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.0-7-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 22, 2021 at 02:57:15PM -0300, Ezequiel Garcia wrote: > On Sun, 22 Aug 2021 at 13:50, Daniel Vetter wrote: > > > > 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? > > > > A while ago, I tried to fix a crash in the Rockchip DRM driver > (I was then told there can be similar issues on the IMX driver too, > but I forgot the details of that). > > I sent a patchset trying to address it and got total silence back. > Although you could argue the issue is in how drivers use the component > API, AFAICR the abuse is spreaded across a few drivers, so it felt > more reasonable to improve the component API itself, instead of changing > all the drivers. > > See below: > > https://patchwork.kernel.org/project/linux-rockchip/cover/20200120170602.3832-1-ezequiel@collabora.com/ Patches get lost on the mailing list, and rockchip is one of the lesser maintained drivers. You need to ping this stuff. For bridge/panel I still think we should work towards removing component.c use from them. > > 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. > > Indeed, that would be good. Ok I'm going to type something. -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch