Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp20739pxb; Sun, 15 Aug 2021 21:57:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTzk1Ia4C3pT3y2fO5LHgNxwxu4dVRHjrCaGXcsVrvZhRKHcJleh4VAg9VMb82/woXH9mt X-Received: by 2002:a02:a81a:: with SMTP id f26mr4268748jaj.79.1629089822372; Sun, 15 Aug 2021 21:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629089822; cv=none; d=google.com; s=arc-20160816; b=RbkQpPhyPFOF/MQpvvjrbnQZlc2sAJ42VkpxkzJSZ7zQpaK85HwztjnGe76uc06xWm DXZC9CuodbDWQOwnIFx8SeYMiV/eq4+Mv2jF1XZNEQRY6S7+W/0RI+4Q4wD9haC5G4Ux eoGZ/q7vktZeGJD5jBl5J0mRuw6UgFsVdPoEz+bjRyC8SCcJVauMffYOENVofQDfTka9 IrjUwvVZRc9WV8i/dG3/OFq3OUPBSn5ZhCKl1hpAMd/AGTC9PjnuF3LxaWBDCF0jH0Wv hFun7wKFooI4V3c2KxMYGZOJDItUEuwQ01HI1RshbbEtCxcWqI1CS5UfGF+isPa3PAJ3 vshA== 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=aPfveejJG/uf1hsSa7IBENHohu6hzoRJjQmF5egFfyE=; b=kV1W+iK4vZeOKTi/xUHlpHPZ7HAWNhXPlCICwXYeC1a2glF6CoF2kLkYE9ZeGwofBc CxKxsIvoPIHcz70xSEQ2X/5H6vL2Bo6VfE4JnML1QuZ7OEK2WRykUD31NqdRW/3tKvl1 djSDpxc9w/TeGmaxO7dibL1VGwEhynMc+mto4l0uwi1VWtZrm11AnW98gDdejO3vfon3 nlmaWgYBu394JfzHbVnj0Qes9ffPjGOEWajaDmvc2h9u/jxT6oVULWtCtBGpzc6hiJAF uoDaBOWzohyCm1k4izWlUEJGqCDt6GRPzVYaYoBx8HFFpgTneERY8YAqc7d1xDirYAv6 fRdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="GE3ULi/I"; 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 f31si11134484jav.78.2021.08.15.21.56.29; Sun, 15 Aug 2021 21:57:02 -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="GE3ULi/I"; 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 S232918AbhHPExb (ORCPT + 99 others); Mon, 16 Aug 2021 00:53:31 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:20338 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229523AbhHPEx2 (ORCPT ); Mon, 16 Aug 2021 00:53:28 -0400 X-UUID: 761e5aff771e4c4f9bb27e141a8ed292-20210816 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=aPfveejJG/uf1hsSa7IBENHohu6hzoRJjQmF5egFfyE=; b=GE3ULi/IqwcyAEwUjNBMIDxVLeYApW0Efaoo9logHXZIrllDmdYM7Hq4ljAIsPFSYRB0XPO6bIK5S6SnkFzvDBR3ipwFiqT4pCHcAE+bI2YsIXwRVZ+J8tUDLm6WKf8V5GB9LZhFCczdLvhQQtk2YmUxjR9fBxVZbIFQqngFD4I=; X-UUID: 761e5aff771e4c4f9bb27e141a8ed292-20210816 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1461357266; Mon, 16 Aug 2021 12:52:51 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 16 Aug 2021 12:52:46 +0800 Received: from mhfsdcap04 (10.17.3.154) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 16 Aug 2021 12:52:45 +0800 Message-ID: <9f23beea197495d017a548ef483584714a3673f9.camel@mediatek.com> Subject: Re: [PATCH v6 7/9] media: mtk-mdp: use mdp-rdma0 alias to point to MDP master From: houlong wei To: Eizan Miyamoto , "linux-kernel@vger.kernel.org" CC: "wenst@chromium.org" , "Yong Wu =?UTF-8?Q?=28=E5=90=B4=E5=8B=87=29?=" , "enric.balletbo@collabora.com" , "devicetree@vger.kernel.org" , "chunkuang.hu@kernel.org" , "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@lists.infradead.org" , "linux-media@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , Date: Mon, 16 Aug 2021 12:52:46 +0800 In-Reply-To: References: <20210802121215.703023-1-eizan@chromium.org> <20210802220943.v6.7.I2049e180dca12e0d1b3178bfc7292dcf9e05ac28@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: 35E70F7DC1EA9E7AEE3404716D5151E4F049E8C73B3DAC8435CA59D5C6B44D412000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA4LTE2IGF0IDExOjAwICswODAwLCBob3Vsb25nIHdlaSB3cm90ZToNCj4g T24gTW9uLCAyMDIxLTA4LTAyIGF0IDIwOjEyICswODAwLCBFaXphbiBNaXlhbW90byB3cm90ZToN Cj4gPiAuLi4gSW5zdGVhZCBvZiBkZXBlbmRpbmcgb24gdGhlIHByZXNlbmNlIG9mIGEgbWVkaWF0 ZWssdnB1IHByb3BlcnR5DQo+ID4gaW4NCj4gPiB0aGUgZGV2aWNlIG5vZGUuDQo+ID4gDQo+ID4g VGhhdCBwcm9wZXJ0eSB3YXMgb3JpZ2luYWxseSBhZGRlZCB0byBsaW5rIHRvIHRoZSB2cHUgbm9k ZSBzbyB0aGF0DQo+ID4gdGhlDQo+ID4gbXRrX21kcF9jb3JlIGRyaXZlciBjb3VsZCBwYXNzIHRo ZSByaWdodCBkZXZpY2UgdG8NCj4gPiB2cHVfd2R0X3JlZ19oYW5kbGVyKCkuIEhvd2V2ZXIgaW4g YSBwcmV2aW91cyBwYXRjaCBpbiB0aGlzIHNlcmllcywNCj4gPiB0aGUgZHJpdmVyIGhhcyBiZWVu IG1vZGlmaWVkIHRvIHNlYXJjaCB0aGUgZGV2aWNlIHRyZWUgZm9yIHRoYXQNCj4gPiBub2RlDQo+ ID4gaW5zdGVhZC4NCj4gPiANCj4gPiBUaGF0IHByb3BlcnR5IHdhcyBhbHNvIHVzZWQgdG8gaW5k aWNhdGUgdGhlIHByaW1hcnkgTURQIGRldmljZSwgc28NCj4gPiB0aGF0DQo+ID4gaXQgY2FuIGJl IHBhc3N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