Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp89097pxb; Thu, 2 Sep 2021 20:13:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycO9X2+XADM3vnPJOicVZbf6KvHQTR+CZzO58V6oW1s+vGJ4tcIbPaluRTQKGfDHMKPgH/ X-Received: by 2002:a50:e606:: with SMTP id y6mr1572147edm.216.1630638832601; Thu, 02 Sep 2021 20:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630638832; cv=none; d=google.com; s=arc-20160816; b=wv0gpE/p17l01C5LaXy42qNSIyrW404rSmTSAgQRWus8dQ7MSFtHeSLIe3BnxJ7gHO zoDcjptmOHApj5ANQE8YAZEGNXGfzPPI0wtYBjh0+KX5WgAvdwq7W663Xw/B+CuvnuG3 QbET0yGgcSKVZUZXyF8zLA9JFlPwAP21/IYECm7pY4vz2lLUgu6DiLgK5slUxXssF0oz BkCDAPoSzNJC+M+pATo/oIKPDlfXt+0g1VXlv9PXiCX/iFWKv4IOaaNnBvIL6WDBIl7n kGw4dkgZYzO10FJW8Y2jEsaVHTyxpuzshfm7WeiW7R5FVGlfYe9CFC4ixCFAeA0KkC5G tXPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=I7eErvKCjKSoZMUT8uEkUsYqIR3doV0E2tnrfW34Oyc=; b=bcILuhXn75/y7DgA6XEESpip/a8vy+smWxmF3ZnBa/0jIgCQmrczFbD+N5ARwc6DHH RfquHGMxVePQkEGwmrixJwKwp+qN7h2MLKO/pIMwgRZI6/cTbDJ0IZOAOLGyeLoUUbBF G7gQfLMpKSFdFTwyZ6iEqKRvCrG/BnJnRmrMNn8ZNJYP1k4GBhvxf2nxZUKCyy+3qGhA JONBFIxhHbJ0mA/IhXx1PEhnDsG8rVbLFzwNsWZUzl+uzr0hfdfi0vN/AbIZd7y56IeG cEPt7jgh1LufcRuMpG9ZbmIGn3q7IgbGpfBtRc9hZf7bOsXO+D7DrIhTO66P3Qu8iCiF dOUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="t1/A0CMw"; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si4574338ejb.152.2021.09.02.20.13.28; Thu, 02 Sep 2021 20:13:52 -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=@mediatek.com header.s=dk header.b="t1/A0CMw"; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345195AbhICDJX (ORCPT + 99 others); Thu, 2 Sep 2021 23:09:23 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:46274 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230499AbhICDJW (ORCPT ); Thu, 2 Sep 2021 23:09:22 -0400 X-UUID: bd5b64a7326e450b843e6845123182e6-20210903 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=I7eErvKCjKSoZMUT8uEkUsYqIR3doV0E2tnrfW34Oyc=; b=t1/A0CMwFK6DR/affEE0ye5ClSnjIKHGU3OBDCvCPOyO6Od+E/xqbUNw/ziy6jRhv6U3JgQdb6P3rlYIqukW4kA2N3h101qXVVMfKpmIbk+LHu9cZJdrA4nBgIjLrZ5XPD4s0ZJzd5KdzZMwvE0+EcR13iNfDv0IZ8eCkAtNAB4=; X-UUID: bd5b64a7326e450b843e6845123182e6-20210903 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1779183396; Fri, 03 Sep 2021 11:08:18 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 3 Sep 2021 11:08:17 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Fri, 3 Sep 2021 11:08:15 +0800 Received: from mhfsdcap04 (10.17.3.154) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 3 Sep 2021 11:08:14 +0800 Message-ID: <3b9463e88d88ce85205da08f8263252da7726ade.camel@mediatek.com> Subject: Re: [PATCH v6, 00/15] Using component framework to support multi hardware decode From: "yunfei.dong@mediatek.com" To: Ezequiel Garcia CC: Alexandre Courbot , Hans Verkuil , Tzung-Bi Shih , "Tiffany Lin" , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , 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 Date: Fri, 3 Sep 2021 11:08:13 +0800 In-Reply-To: References: <20210901083215.25984-1-yunfei.dong@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXplcXVpZWwsDQoNClRoYW5rcyBmb3IgeW91ciBzdWdnZXN0aW9uLg0KT24gVGh1LCAyMDIx LTA5LTAyIGF0IDEzOjMwIC0wMzAwLCBFemVxdWllbCBHYXJjaWEgd3JvdGU6DQo+IE9uIFdlZCwg MSBTZXB0IDIwMjEgYXQgMDU6MzIsIFl1bmZlaSBEb25nIDx5dW5mZWkuZG9uZ0BtZWRpYXRlay5j b20+DQo+IHdyb3RlOg0KPiA+IA0KPiA+IFRoaXMgc2VyaWVzIGFkZHMgc3VwcG9ydCBmb3IgbXVs dGkgaGFyZHdhcmUgZGVjb2RlIGludG8gbXRrLXZjb2RlYywgDQo+ID4gYnkgZmlyc3QNCj4gPiBh ZGRpbmcgY29tcG9uZW50IGZyYW1ld29yayB0byBtYW5hZ2UgZWFjaCBoYXJkd2FyZSBpbmZvcm1h dGlvbjoNCj4gPiBpbnRlcnJ1cHQsDQo+ID4gY2xvY2ssIHJlZ2lzdGVyIGJhc2VzIGFuZCBwb3dl ci4gU2Vjb25kbHkgYWRkIGNvcmUgdGhyZWFkIHRvIGRlYWwNCj4gPiB3aXRoIGNvcmUNCj4gPiBo YXJkd2FyZSBtZXNzYWdlLCBhdCB0aGUgc2FtZSB0aW1lLCBhZGQgbXNnIHF1ZXVlIGZvciBkaWZm ZXJlbnQNCj4gPiBoYXJkd2FyZQ0KPiA+IHNoYXJlIG1lc3NhZ2VzLiBMYXN0bHksIHRoZSBhcmNo aXRlY3R1cmUgb2YgZGlmZmVyZW50IHNwZWNzIGFyZSBub3QNCj4gPiB0aGUgc2FtZSwNCj4gPiB1 c2luZyBzcGVjcyB0eXBlIHRvIHNlcGFyYXRlIHRoZW0uDQo+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