Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp386465ybl; Wed, 11 Dec 2019 20:51:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxKwWDwwOxEAgv0Dd42yjcC8TrVExT7Nb21M07417ZBAvZrGk0BwObQaTN6C7wcBe4+b0jg X-Received: by 2002:a05:6830:1b6d:: with SMTP id d13mr6081305ote.258.1576126294259; Wed, 11 Dec 2019 20:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576126294; cv=none; d=google.com; s=arc-20160816; b=t5khbkpTxv46Z8VDARz+G3eOcNNqzmhmDbka80CJukXLIftXJUylTAaWxAxoWKlDGV RFIuN2eJ6Svc9Kwq3mojBSFj+JBiuGZhUOH5qm9y3DLibRko/hSAB3NRQsgOPwoxBB5P K/3vpfpi/KSmsjAwoUEn6Mxnw3mHZCUmk3sq/r2NFvCYpE2bjzu+4YQdryZY8YjTGiJH v5T64NcJryiT8yNmI3rDEaBERTJH8ubyjxRcdbP87sp/KEdPTMfuyY4qbbEmITj4U6iu RjqLVpNBtZpeY96T7qivO501JB2c0Y3ZJhHVuCsKjYVfAxcgeO3hT8Rdj4FeIFFbzJvn qOog== 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=61QzL2uAhif1inmfHk4F3GpOWbSMt53a76nKAzVwLMU=; b=0hqCudsEmGBiCJClw/yBUQU1uskPldSTQHwbKH2Bt9Tkh/y6de5vf1XszkuBUifA92 c76fno8ZtwgbVZ5GtJFdvslq+UdZwC3vrLJT4ej96JlKGrj9i0umDasE1dLtFLVnMGCU DoeVOD5dAP9vuT9wCGIoiHjCy8nCXvXOTHGF8vQYEOz5H9G9NHvSccTKPJD1BV7O6Dpl HZcAq/YelQQ/5kQXmj340xkuc74d5mx6x9kpbGS3q6Lt01yjFtdEOmUksTRZQSbLK0SP 082sIF62HgBMItL2WUCHHKmvCD+W9JaYl6/p14RKNDKebtAyrHsyBAojMlC/cAaRgGsO a/BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=f5bMNPM5; 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 101si2632278otc.322.2019.12.11.20.51.22; Wed, 11 Dec 2019 20:51:34 -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=f5bMNPM5; 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 S1727928AbfLLEut (ORCPT + 99 others); Wed, 11 Dec 2019 23:50:49 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:32514 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726689AbfLLEus (ORCPT ); Wed, 11 Dec 2019 23:50:48 -0500 X-UUID: 0350d3d39d8d4823bb50c2421b97151f-20191212 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=61QzL2uAhif1inmfHk4F3GpOWbSMt53a76nKAzVwLMU=; b=f5bMNPM5X3vpibe0RnOnQWIHHLjNcUhruZoyv2kTE7kQMw2sq6n8oCiqECQvYoXylolEXoxlHHdzYCtPjixo5Mk4wplOpBb8wMOEzckUSh89XQ0ukV3N+v41y+IA9vePsWjQrTSMqTJAM1tHOscJaSAx8PQJYXxGxJA+hQ4XHSw=; X-UUID: 0350d3d39d8d4823bb50c2421b97151f-20191212 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1765757622; Thu, 12 Dec 2019 12:49:59 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 12 Dec 2019 12:49:45 +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; Thu, 12 Dec 2019 12:49:53 +0800 Message-ID: <1576126197.29693.3.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: Thu, 12 Dec 2019 12:49:57 +0800 In-Reply-To: <1575264270.16063.0.camel@mtksdaap41> References: <20191127100419.130300-1-pihsun@chromium.org> <1575264270.16063.0.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: A33FA4A393275F96C1D67CACE7875D97147C4BC54960F0F3AB9A8D502DF8916C2000: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 SGksIFBpLUhzdW46DQoNCk9uIE1vbiwg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