Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp619397pxb; Tue, 14 Sep 2021 05:17:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOYuPM6lGCETkPgv6D+2f5PEU0mUaiHGN90di5hvVY+j9EsJL+DNill+PXZ5pRBItqu4PA X-Received: by 2002:a02:b0d1:: with SMTP id w17mr14338421jah.46.1631621848978; Tue, 14 Sep 2021 05:17:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631621848; cv=none; d=google.com; s=arc-20160816; b=yw30TTQWyK4cO+U1SnrotudACHxDas+MlesYincFmULBbn/3vGJCl9J1YiNg/OD6wO wqn6+2WqraT31WWIkuwhYOx7OIL7zRqVqrPxFZbKO+5BdG3K/E7CUKTZTR8OVQw59Egz +O6n86sAOfLdkqpM795G7NQzTkJxH7jGn19sRn8eglN9iu3TQCb5duhQbk6fXPThDMQJ MR5ALdAy9JtQElmH3Jr5aa5RiuCn8aIXTMp2RV7TqHJuRoPJZJbyf8vh2puk76PVYyhh O04bLhukjWK+4suu+oGk+8SZToEwGG5aMmqCpiSBWeU8VoLJ9iNB2CvaCjCNTLzSUE9j RRgA== 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=adSqRYNHJjIKQSMNvjW+uevqONE1tx3rtVypYeRw44A=; b=FsiwBe3H2foBI3rdlK0RvJWYWB9p1RMfD5YjyX1Ovaknhpwncy/0oGMBwshWB1hgGO nZlr4gHiNft+Zs4G5YuKIYnX+EadcSVoGVZEybWpaNhpD+J2hfvTmMBrgz4A+OnbsYaY kG72+uGItRj0lLk8P5yBHmdpQAhQWWjWh1zBk/Recnvj2AC17WhhEOwJLrq7axB1H+yT yN8USOAmvxBp6qFNRLwnWTh27l1FU0nxRHf6yZaz8Jwrz79k6xhuQTbprwql7SCeUM3u WHbDuvGM1jH/oCUVJDFOqi3FV0rXSyC/Jw6Xfz1CCMrFE7ifdHjVSOzEy563/zr/02LR gGUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=jU2j9iBM; 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 c32si9852573jaa.44.2021.09.14.05.17.17; Tue, 14 Sep 2021 05:17:28 -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=jU2j9iBM; 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 S232598AbhINMRn (ORCPT + 99 others); Tue, 14 Sep 2021 08:17:43 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:53302 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232467AbhINMRm (ORCPT ); Tue, 14 Sep 2021 08:17:42 -0400 X-UUID: a1be9fabfa8643dbac1eca4be3bc9d8d-20210914 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=adSqRYNHJjIKQSMNvjW+uevqONE1tx3rtVypYeRw44A=; b=jU2j9iBMKm+jVXZjqe7lvs4pNbFC6ebId8WKtQfUFDouEYfUP1e4Jn6ERhMpx9wm1Ic+TjcsJZfFjYDSnOt7iYz5GqkSLmbyvUfbEZxceynKI66/qwyBM0m8VA3ZX9gnx9BaZGYmmIq6ektK+jUXMZfvOn0c4/Cgz7O+i8vtIRI=; X-UUID: a1be9fabfa8643dbac1eca4be3bc9d8d-20210914 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 1536403208; Tue, 14 Sep 2021 20:16:23 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Sep 2021 20:16:21 +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; Tue, 14 Sep 2021 20:16:20 +0800 Message-ID: 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: Tue, 14 Sep 2021 20:16:22 +0800 In-Reply-To: <3b9463e88d88ce85205da08f8263252da7726ade.camel@mediatek.com> References: <20210901083215.25984-1-yunfei.dong@mediatek.com> <3b9463e88d88ce85205da08f8263252da7726ade.camel@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-M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