Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp521837pxb; Wed, 25 Aug 2021 08:36:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe1Pxr242lqAIioHQv8Uz6ddN6KlFkdeiwsZ6a4BQvrFB4X/LkvrSvvra0WUNSXnnyzIvS X-Received: by 2002:a5d:8450:: with SMTP id w16mr34564630ior.141.1629905761490; Wed, 25 Aug 2021 08:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629905761; cv=none; d=google.com; s=arc-20160816; b=WAnu3ve3XdqWX9dQ7zucsjuiU0LAsup6hP3+c19dYOH1dNeVKjQ4N1ulZNGjYsVyHI I4qII04B3u1FMNztPTv/Vvvys7fyNIGVnPBJeq8+97i/Kvnm1k4rzD43d81EPyW75uK8 pkj2H3htAnMocxPJ1NzyFMO0F2kwi2L+VCOY9WVsfhPsq3ZXPVY/AVXlqMRR7ABU4YV0 7JB4Whe7B9T7OHV6vDnM2KBTvOpQZCVeO9grbzyq74J0K5e2wgajfK8hi/FQuoAaAdxo /3jrqKKiU0inLBx2c2d9bawZPNLBOxNAj50Y3MdPzx2aEB4ju58frZLXXdZ80jAsOzZ1 mFkA== 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=AvZ/1szMK7QPpc3wUkxkUpWTIZXC+pUg9drjZUKq8Jc=; b=y3Mug9LcC5UGLdmM0NRxEyHOgen21pVwvybtFEtd4ftIAukvDKdI7BF9xjWWY8UdQX EG1E99jiB5OBYidLYih0mjNsX16bcRSCneVYeuM1pDpxnnP20iX4d070Uo9jZLREDUd/ qYsX/G/sEKEwqfhyT1j8AHmHqZiM/+4Dj1Qg+XiVX3KUEPjElRFab/Hz08mQFZ5Nhgfz 4Pj4aMaYL5hWbaVrzd9sTsJFLTIQDwTHNyA6yb67c6BrTNN40RpfIxzBRu3dWx/pOpuq 3IiHBoq9/u122GUssKR3UZCrbFnKOsxlmFL8YDM4e8oi7OuCR6D6+6TuuKaxxYv2wQjE U2Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uwYTQkR2; 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 x9si20247785jaf.48.2021.08.25.08.35.50; Wed, 25 Aug 2021 08:36:01 -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=uwYTQkR2; 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 S241271AbhHYPTK (ORCPT + 99 others); Wed, 25 Aug 2021 11:19:10 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:60932 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237968AbhHYPTG (ORCPT ); Wed, 25 Aug 2021 11:19:06 -0400 X-UUID: 232abbacc72143919fd6bbc527f269dc-20210825 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=AvZ/1szMK7QPpc3wUkxkUpWTIZXC+pUg9drjZUKq8Jc=; b=uwYTQkR21g/Kt750m8J0sJkhwmwj+zsOuM55g7W7u+IScjCwFhKAKuxzYSvO5MqHMvV4tJpTpW4ns8R8y6BFww0I3FSYibfgopC/Yn+wKPh4dkdNj8Oqb1+kWNJ8sE08mx9YcA/+WFxkPUP2G+6JIbHEOo9ET9CMtKf/BGDj9ss=; X-UUID: 232abbacc72143919fd6bbc527f269dc-20210825 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 703267072; Wed, 25 Aug 2021 23:18:20 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 25 Aug 2021 23:18:18 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 25 Aug 2021 23:18:17 +0800 Message-ID: <1629904697.15752.11.camel@mhfsdcap03> Subject: Re: [PATCH v7 7/7] media: mtk-mdp: use mdp-rdma0 alias to point to MDP master From: houlong wei To: Enric Balletbo i Serra CC: Eizan Miyamoto , "linux-kernel@vger.kernel.org" , "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?=" , "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@lists.infradead.org" , "linux-media@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , Date: Wed, 25 Aug 2021 23:18:17 +0800 In-Reply-To: <0c9fa482-57dd-d4ef-c65b-01f137c57359@collabora.com> References: <20210825063323.3607738-1-eizan@chromium.org> <20210825163247.v7.7.I2049e180dca12e0d1b3178bfc7292dcf9e05ac28@changeid> <1629880999.12893.17.camel@mhfsdcap03> <0c9fa482-57dd-d4ef-c65b-01f137c57359@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIxLTA4LTI1IGF0IDE3OjA3ICswODAwLCBFbnJpYyBCYWxsZXRibyBpIFNlcnJh IHdyb3RlOg0KPiBIaSBIb3Vsb25nLA0KPiANCj4gVGhhbmsgeW91IGZvciBmb2xsb3dpbmcgdXAg dGhpcyBwYXRjaHNldC4gSSBoYXZlIHNvbWUgcXVlc3Rpb25zIHRvIHRyeSB0bw0KPiB1bmRlcnN0 YW5kIGJldHRlciB0aGUgaGFyZHdhcmUgdGhvdWdoLg0KPiANCj4gT24gMjUvOC8yMSAxMDo0Mywg aG91bG9uZyB3ZWkgd3JvdGU6DQo+ID4gSGkgRWl6YW4sDQo+ID4gDQo+ID4gVGhhbmtzIGZvciB5 b3UgcGF0Y2guIEkgaGF2ZSBpbmxpbmUgY29tbWVudCBiZWxvdy4NCj4gPiANCj4gPiBSZWdhcmRz LA0KPiA+IEhvdWxvbmcNCj4gPiANCj4gPiBPbiBXZWQsIDIwMjEtMDgtMjUgYXQgMTQ6MzMgKzA4 MDAsIEVpemFuIE1peWFtb3RvIHdyb3RlOg0KPiA+PiAuLi4gSW5zdGVhZCBvZiBkZXBlbmRpbmcg b24gdGhlIHByZXNlbmNlIG9mIGEgbWVkaWF0ZWssdnB1IHByb3BlcnR5IGluDQo+ID4+IHRoZSBk ZXZpY2Ugbm9kZS4NCj4gPj4NCj4gPj4gVGhhdCBwcm9wZXJ0eSB3YXMgb3JpZ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