Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1136943ybl; Sun, 1 Dec 2019 21:26:53 -0800 (PST) X-Google-Smtp-Source: APXvYqw5kwDojoQW6il1kTYDZOs4evtibPfcjHTen0D4ohqUwxMWu6fyV0O3D0t1/H1MXumYmZrE X-Received: by 2002:a17:906:3107:: with SMTP id 7mr57551968ejx.125.1575264413342; Sun, 01 Dec 2019 21:26:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575264413; cv=none; d=google.com; s=arc-20160816; b=X24I80FikLRTfeidyJyivWWMMxfYE5BUuIfkGRVi+qemlpNKllBL4lTpt45RwoMLvp /IRZwcgVwei+uMqVZu/APk5rtcF92ZwMNWodTYJjnsqdM6Sc+AXMW8wXQIxVUvV3DY57 r7uiAN9v7+lpjSj3dapmcICt81va8cScgQk+FXHtB+y3ymtR7nBkHY2ZCWTE/vd/1PKf Rf7zuC8z7hQvLBuWZAa1l6O6xC9lUjTUM7I0ZJFupEEm+ThrgK/oRGQraB04c0CbluKm +fJrB3DdyRCDR9Sb5084zj3Eyx+T/uqeny+YipRcs1aMRvnTttHkToTfUeQJ/RkibBpy mttQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=nHyM0wlDNnnCgrZ3XeFFZizqAnSwx9cK7hjQY20Jc9Q=; b=LE57Be8RoZ7dawwZ0myk5NgttJoau2f0OXxSQll1A+492r7P7eBk3Popa6oSKe92H+ M1lsoT283FxCQ5YC9Ff2APPoHJ97JUCOSV6y2zWE0536kWHKjHSA1jBzUoQvfN5jOagx IrPIEsRS5oPewixmOav1kvv5aGvFoKpu6ty6cQ/KMmji2MjFlcDo407JVQGI1leS3iI4 TlfRq9JhKFuGNCdnmPotBKCADztE456W37dr4JDoCzU5LD1AeccZ8WdRPJw3pCGW+2Q2 ghEb1UvQyidtqA3x+qoFoSLpYIcUjKWelajVHSzC6PdgngqhJ8pifE9IID/e0C2DNQMQ Vaog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=eXjKCPqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id k17si20198138ejd.264.2019.12.01.21.26.18; Sun, 01 Dec 2019 21:26:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=eXjKCPqa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1725976AbfLBFYq (ORCPT + 99 others); Mon, 2 Dec 2019 00:24:46 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:16834 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725601AbfLBFYp (ORCPT ); Mon, 2 Dec 2019 00:24:45 -0500 X-UUID: f6777c57015a45348d910d14c3e42224-20191202 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=nHyM0wlDNnnCgrZ3XeFFZizqAnSwx9cK7hjQY20Jc9Q=; b=eXjKCPqaIe1pirlqnlQVTpvo1S6AgRapAviK2OyFlcb1Bx5MBaPcfXsEVGH8FWRfWeo52oSSRXy5widrOcSuA7S/jpivUYHrmrREICaonpbHZ19mAAluQlnPR7uTW1tlrfo6sfK4m+UU4kQayEXAsa8qPC8ZH7xwu9ZSlXBGYp4=; X-UUID: f6777c57015a45348d910d14c3e42224-20191202 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 847158368; Mon, 02 Dec 2019 13:24:34 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 2 Dec 2019 13:24:13 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 2 Dec 2019 13:24:14 +0800 Message-ID: <1575264270.16063.0.camel@mtksdaap41> Subject: Re: [PATCH] drm/mediatek: Fix can't get component for external display plane. From: CK Hu To: Pi-Hsun Shih CC: Daniel Vetter , David Airlie , "moderated list:ARM/Mediatek SoC support" , open list , "open list:DRM DRIVERS FOR MEDIATEK" , Yongqiang Niu , Matthias Brugger , Philipp Zabel , Sean Paul , "moderated list:ARM/Mediatek SoC support" Date: Mon, 2 Dec 2019 13:24:30 +0800 In-Reply-To: <20191127100419.130300-1-pihsun@chromium.org> References: <20191127100419.130300-1-pihsun@chromium.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 55615A5A8EC94A2605C689A4D635FDA520FEA8224007C4A9FD05769092DFE3A42000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIFBpLUhzdW46DQoNCg0KT24gV2VkLCAyMDE5LTExLTI3IGF0IDE4OjA0ICswODA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