Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1264774pxa; Sun, 2 Aug 2020 01:22:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3MXYs+6nRLfQxTv7T7+F0GSCH7jNofctAXnztPGl1vuqPJEF7toBJm/3bsJasa44LqutQ X-Received: by 2002:a05:6402:22bc:: with SMTP id cx28mr3923422edb.171.1596356528571; Sun, 02 Aug 2020 01:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596356528; cv=none; d=google.com; s=arc-20160816; b=p5RQdcONxB85XkYiT3br8NP/EhDG3H13xt6fezVojp9q9zjJTuwNi+FBoes0gzRcnm 073XcUczTDZ22rFuqgHkSQeZ5jgPzbIxPoxntQO6No+VcOfqcD6rALH7Kqzes4Xso0PM Qa+Kyr9xNGCQTphu9fAj05n7reE0alwBj9v65BOYPzA0O1qFL8MzuLjMUcn0d0Hn+OgV okdIiAXjYU/+ybqHhcZv39lq2FqxoWFIrk0Ct3qV++RMF2iH7Pq3VeyEtzHotFlPHSt3 CAva9JRRNFqTyfiVyieI9J2tFKKXaKBNQDaPMoIc8rzYAbiyVNTtDmJ7BytqF23rbmEZ 71Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:reply-to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=PQ2sPG5p324ifQb0YMxfDxK1lEkh9ilGDsno+DsEzaY=; b=fybDBje9GyQV6rOIi1GbAgbZvacADA3FaXTi6wfw4Z3I4jc7m9BJ/n6alf9deyL7EP tZ9C4vj0S/ErNAiPc4cTL2UGYYyBQfPQEOSqMQk8ynVHQxn5HEeWLEuMUBJehBGv1zpG +37cevj27t1+nkjk65e6eN62t0TkcUZCqTiYTcWVws6avgGJZgBMV9cOzf42Z3TRN3BL h2IOmTzXRFC3GJ+QgaaTVIvihoymZjSsQWVFKwjilPbG4V0KtxbAFW7/v3Nwrt5Ppms2 ZwBDI7f6ImlW1oxvfS2S3Ckq54sB/AjRDugO43dWGRCQw+qQDByomPIDBH2ZfOPlnzu6 AKFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b="iWvAhM/z"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si1571707edr.211.2020.08.02.01.21.33; Sun, 02 Aug 2020 01:22:08 -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=fail header.i=@gmx.net header.s=badeba3b8450 header.b="iWvAhM/z"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726086AbgHBISD (ORCPT + 99 others); Sun, 2 Aug 2020 04:18:03 -0400 Received: from mout.gmx.net ([212.227.15.15]:35023 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbgHBISC (ORCPT ); Sun, 2 Aug 2020 04:18:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596356258; bh=PQ2sPG5p324ifQb0YMxfDxK1lEkh9ilGDsno+DsEzaY=; h=X-UI-Sender-Class:Date:In-Reply-To:References:Subject:Reply-to:To: CC:From; b=iWvAhM/zZhMDtha0+OWH4G9YwBGXZNFpalSuBKsql4yYhuXSQcCy603sVFYLlPMaA VHkHsP15O5gPFp1XjU553i6A+J1Ku9dslLTDLpineq4uvRxOzhzzohllIV5xBWR6R8 NMhdM4JyWVFopK3j0MnxhmQWbjIbKfgIc3849sjI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from frank-s9 ([217.61.148.8]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M5QJD-1k1Jq83J3N-001NND; Sun, 02 Aug 2020 10:17:37 +0200 Date: Sun, 02 Aug 2020 10:17:31 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: <20200728111800.77641-1-frank-w@public-files.de> <20200728111800.77641-5-frank-w@public-files.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2 4/5] drm/mediatek: dpi/dsi: change the getting possible_crtc way Reply-to: frank-w@public-files.de To: linux-mediatek@lists.infradead.org, Chun-Kuang Hu CC: Jitao Shi , Philipp Zabel , David Airlie , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , Matthias Brugger , Linux ARM From: Frank Wunderlich Message-ID: <3A3F5CA5-85C9-4CD8-9CF1-8A4411901C1F@public-files.de> X-Provags-ID: V03:K1:8AbS/l2zu48Uj4jsqyhgwGVm2qyPBsdakcvG9Thdq1zFkKpd6dk Q+UyV2CGpURx6lo8b+g3oSAzIaRq035kzd53WFtueIzKa7TTeq2/F8fjxLQxthNongRZk7G lCUB+5sBqkTxYIswin6WMeOHvOhwzjqh2b4X67xBQt8Yy5oab6O/ULVnWl+a3ZdclD7Zq/G FY9RGUvvIIVzr45Av0ZJg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:G51yrzLeBO0=:d2FSDmTPqkppOl/VBTwRzr 8fPrlJrtoYDBs7THCu0R6PGEuVR2kzk3JU7ji3eQl8FU8pjn5FZys+lYjHyMpHsf+1So/I9q+ sI0ewbX7D+sDDUUDHDONN/hcVpVGCs4TznsZvF9XzmCvA4bxJCfdqRaaxgXCdT3HyGx36U8Uk 7mSk+SfsaZ40zFayIe+s8oCrCsyqEh41N7M1NmN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of0+ilojGLF9MTNbiT6nYUwKPevxg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2=2E August 2020 05:07:41 MESZ schrieb Chun-Kuang Hu : >I would like more information of why do this patch=2E For example: > >For current mediatek dsi encoder, its possible crtc is fixed in crtc >0, and mediatek dpi encoder's possible crtc is fixed in crtc 1=2E In >some SoC the possible crtc is not fixed in this case, so call >mtk_drm_find_possible_crtc_by_comp() to find out the correct possible >crtc=2E sounds good (and you have much more knowledge about drm subsystem than i)= =2E I will take this for next version regards Frank