Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2144547pxb; Sun, 5 Sep 2021 09:48:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/XG9Mp/EkpO8TSGxXaKU0pnDwLybBOqYfIIRvyUvNbzfwIR9E7DAc75FEJrPXK87PSLIX X-Received: by 2002:a5e:db06:: with SMTP id q6mr6863181iop.129.1630860515809; Sun, 05 Sep 2021 09:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630860515; cv=none; d=google.com; s=arc-20160816; b=MEj7bacWTLLeD0iboknDDt5TpZKNOGiQJ0HTN7QcovvmTex6kOfDUss0hnxd3HCU63 FCfZkiBfN3cenHKphdEPUCB3y9WfdYxD/L2KBI8mjhTtB5x/P7aygECf4ariCvZZAoAJ 4YjCElC6DaQ7Q1SDn2NVbRyyhzkDL41rqUNk+L8KC5kBD0gRSB3XQoYhehG/SfA3wsOW 0lX8mFewJa9vKnCnXuKML2NCOaKaHs2tHPGtjpgLBuEInS7oEKtytGWjJQl4nxCZruBg aWonYu+3XgNBsjPSpYgfJmCcB1SO8ZoXOf+T1mebGvAPJz9z1/gMSWBahbZKC5aHeYxy MiBQ== 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=EIqz+ZnAUQZmH1HiU63bFHwu9as+swac7cV0J0RfSGs=; b=mTQj1KG2z0kSXCGo5gMofeFfVbG892u0vg6xNVehLVFaWoKsM7m+r19VQ92wolO1dV KubDQP7FgFIH7avnHdmioZTAxOYX6nPrb9Zr+4fl1bJnldui8Bml1EX1MoMnX9lLZbwl qsHYzg2lj8zxdXpB/4zHmePXse7VXg/xUU5WtZ/MNeAsj000E609wpdFej0G0K4j9kTz nhWCvX1caK1UO1zUxbTF2HDoYOSGp8zdJzGF8e61K0LMmK2pDwwI3jehJW9ynMKkvNOi 4o373HJZbrV/okWcVcZKsqbGypLoRvkTN74ou020AOT6dEoJq8hrYc8yK/nJ7tVN88p5 5wsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rewXP08b; 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 1si4979720jaw.97.2021.09.05.09.48.09; Sun, 05 Sep 2021 09:48:35 -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=rewXP08b; 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 S238060AbhIEQ14 (ORCPT + 99 others); Sun, 5 Sep 2021 12:27:56 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:35105 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231847AbhIEQ1z (ORCPT ); Sun, 5 Sep 2021 12:27:55 -0400 X-UUID: bdd6364aafb040cdaf2dc137b408bffc-20210906 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=EIqz+ZnAUQZmH1HiU63bFHwu9as+swac7cV0J0RfSGs=; b=rewXP08bW62y1vc1ogaDStDnHLXxO/F/DIoWoLGif0Xpd6yhrAEoAcSdxLYBUbeYMpw04gqQqPAypXIzGsQvP/fs8IvOrM+rqIwmGnx+1Adu7+LxGtqbIaMUZd+8hX2T9KLwudc7kf4m8QYh4IxMCbBUmasm/K+AiiDyYZebiR8=; X-UUID: bdd6364aafb040cdaf2dc137b408bffc-20210906 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2105537368; Mon, 06 Sep 2021 00:23:30 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS32N2.mediatek.inc (172.27.4.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Sep 2021 00:23:18 +0800 Received: from mhfsdcap04 (10.17.3.154) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 6 Sep 2021 00:23:17 +0800 Message-ID: Subject: Re: [PATCH v7 2/7] mtk-mdp: add driver to probe mdp components From: houlong wei To: Ezequiel Garcia , Eizan Miyamoto , Hans Verkuil CC: Linux Kernel Mailing List , "chunkuang.hu@kernel.org" , Yong Wu =?UTF-8?Q?=28=E5=90=B4=E5=8B=87=29?= , "wenst@chromium.org" , CK Hu =?UTF-8?Q?=28=E8=83=A1=E4=BF=8A=E5=85=89=29?= , "Enric Balletbo i Serra" , Yongqiang Niu =?UTF-8?Q?=28=E7=89=9B=E6=B0=B8=E5=BC=BA=29?= , Andrew-CT Chen =?UTF-8?Q?=28=E9=99=B3=E6=99=BA=E8=BF=AA=29?= , Matthias Brugger , Mauro Carvalho Chehab , Minghsiu Tsai =?UTF-8?Q?=28=E8=94=A1=E6=98=8E=E4=BF=AE=29?= , linux-arm-kernel , linux-media , "moderated list:ARM/Mediatek SoC support" , Date: Mon, 6 Sep 2021 00:23:19 +0800 In-Reply-To: References: <20210825063323.3607738-1-eizan@chromium.org> <20210825163247.v7.2.Ie6d1e6e39cf9b5d6b2108ae1096af34c3d55880b@changeid> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 082D29C5DBC44AB8D275D6244F57556B6E4A615786D52C2D39DE45030E8DE3322000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXplcXVpZWwsDQoNClRoYW5rIHlvdSBmb3IgeW91ciBhdHRlbnRpb24gdG8gdGhpcyBzZXJp ZXMgb2YgcGF0Y2hlcy4gSSBhbnN3ZXIgcGFydGlhbCBvZiB5b3VyIHF1ZXN0aW9ucyBiZWxvdy4N ClJlZ2FyZHMsDQpIb3Vsb25nDQoNCk9uIFNhdCwgMjAyMS0wOS0wNCBhdCAyMDozNCArMDgwMCwg RXplcXVpZWwgR2FyY2lhIHdyb3RlOg0KPiBIaSBFaXphbiwNCj4gDQo+IFNvcnJ5IGZvciBzZWVp bmcgdGhpcyBzZXJpZXMgc28gbGF0ZS4NCj4gDQo+IE9uIFdlZCwgMjUgQXVnIDIwMjEgYXQgMDM6 MzUsIEVpemFuIE1peWFtb3RvIDxlaXphbkBjaHJvbWl1bS5vcmc+DQo+IHdyb3RlOg0KPiA+IA0K PiA+IEJyb2FkbHksIHRoaXMgcGF0Y2ggKDEpIGFkZHMgYSBkcml2ZXIgZm9yIHZhcmlvdXMgTVRL IE1EUA0KPiA+IGNvbXBvbmVudHMgdG8NCj4gPiBnbyBhbG9uZ3NpZGUgdGhlIG1haW4gTVRLIE1E UCBkcml2ZXIsIGFuZCAoMikgaG9va3MgdGhlbSBhbGwNCj4gPiB0b2dldGhlcg0KPiA+IHVzaW5n IHRoZSBjb21wb25lbnQgZnJhbWV3b3JrLg0KPiA+IA0KPiA+ICgxKSBVcCB1bnRpbCBub3csIHRo ZSBNVEsgTURQIGRyaXZlciBjb250cm9scyA4IGRldmljZXMgaW4gdGhlDQo+ID4gZGV2a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