Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp904377iog; Fri, 24 Jun 2022 17:40:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tdP4M05jbdPfN6GUkEF6q1KOMOgwdsw9gsTmEN6OkIRSIh5+2PyoaVEH8mVkCCTBrRVzze X-Received: by 2002:a17:902:d701:b0:16a:2206:9ba8 with SMTP id w1-20020a170902d70100b0016a22069ba8mr1737876ply.168.1656117641164; Fri, 24 Jun 2022 17:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656117641; cv=none; d=google.com; s=arc-20160816; b=Yu43FwCYB6JxOx/kX1jhAPOI21EiBiLygWdrEsY1f8JfhFlStRArAQtdzdBtlTAXLN Me6c5PnJG/uw8W5a1HjFfAgfnTBMD2VWbHQlNx1LudJyEZBlAa6pob+oBylpjtU6HpPI 6fCx//4Tj4h0RvrtZ8deOHAZJptQeKorxTM3O3yqYcn6tIfnFmhIJMk0mrTzNsNB8aRE F3n7wSaHcPaTQ5baP5i7qD0brG8SoN4GwpgmDUQfK9GozTHWcdkA1sTY2EaEWQcgiBuh O2fXrSe3xHrlYHaGsrw3SzG2fmjqgyzM//BAD/0qqj0pqehyjtTqt+0zJfAdVMFEeNCP hWdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vO2qD2XXjUZOfZrbQAZ+jo3zJKcu1SEluqgJYAyM3W4=; b=085gJrFTyil8MD801MHdv4g90i3m4SY3A6U3MNpa2GkEaoH1FzHMMpQW3LXrFplksp BqZb/22lyH4Nwrqr8t0CLAZtOBPMoh+XtLo469bO1sa7X0wrq/0T4cRulahcJIJIHbX5 uZAYG1dYkdn/APCQErfR6C7slJdU8wpD9h/0emvb63YF7MD2hpz+SBhXeGGHmjlgy6mN aR6dSiH9YYdFm9zDm2R4laqtAdGv+FimbNz7me5cwkd8YYTMkh/PIA8AZ8t23d59PalX XyqCqDY6ncpofGtqM/+L4zfqoBnBe2giYJ88ZidTAmnax1nj6h0SpnqDF5QjrLIZrQSj 3hag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bT0TGKZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020a17090322c500b0016a09b9fb86si4921411plg.433.2022.06.24.17.40.29; Fri, 24 Jun 2022 17:40:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bT0TGKZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbiFYA2k (ORCPT + 99 others); Fri, 24 Jun 2022 20:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbiFYA2j (ORCPT ); Fri, 24 Jun 2022 20:28:39 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DAD360E1A for ; Fri, 24 Jun 2022 17:28:38 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id u124so2992325qkb.12 for ; Fri, 24 Jun 2022 17:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vO2qD2XXjUZOfZrbQAZ+jo3zJKcu1SEluqgJYAyM3W4=; b=bT0TGKZ31rhy+fJIUdvuACHnYjOFWuM9ZHq58WZdqWmx85U5H5yAyAl0YFpE/3gdcD MDxF8e5qO+8KKHWgOXyD63B6R3g03zCgEVoF8pyuY64xeZTG6PLa7M+O4NZC9W9J3ee5 h1k8uC/qtfHY9zZsLhEQbLCLrIm4izlMlt7SKrcLLLTh4PnuoOcwyuOrgmwVFvEpwfL8 qRAKQdyMPJzcB7j+U1Ql55JD1OuADzVobdko3h2gC4j1TZLeZRQJiZmOxwWsfnnGYeEw KgFRlrRgWY+DQdP6W1jrZzsEfejwljvWyfXstn1/SnaGN7/BmcCNXG6ZDhUxOzgEgiVp L+lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vO2qD2XXjUZOfZrbQAZ+jo3zJKcu1SEluqgJYAyM3W4=; b=JIU/VceUBhmjo1h68BO+F9v2n/HpgtqNYJkFHSodI9vixW501qTXvCfkXJhGsmbfOB iHXlKzGE/omqQ8k4pQErIe/Z54Xonrt5q5h69C+gp/zbrL0sh51ygNoseGATi+XmIyJX lBEQHyLGTk+lRZc0LKSCTshigUW/JsxPQoWb0V/MFHzyti+xXco5ebE+rU1mEEccSKc+ rQaueHcgx+Bj1urrFda63MBzVUwPpKnWpGIRJ0vulu/hjgS0geTvl9cREVIrujajR2Gz gsGaY4P+xph8EM6gvGAJ+mNyR/TOX5T8s25AIiI4U3wMLQgXkeG5CeP56aSFPl6Of+mj P1vQ== X-Gm-Message-State: AJIora+Xo+lJ4QN1GuJa1CWN6lSIOXjlcELs1Eq/1wx7mQpSrWp6fRxi xomX8Xe86+OuVF2IRJFF2P3fWU/pM2g5Vb8wJNVgZQ== X-Received: by 2002:a05:620a:2a0e:b0:6a7:8346:1601 with SMTP id o14-20020a05620a2a0e00b006a783461601mr1415421qkp.593.1656116917557; Fri, 24 Jun 2022 17:28:37 -0700 (PDT) MIME-Version: 1.0 References: <1656090912-18074-1-git-send-email-quic_khsieh@quicinc.com> <1656090912-18074-3-git-send-email-quic_khsieh@quicinc.com> <007ea4c9-9701-f4ab-3278-5d36bf2018c4@quicinc.com> <326912ff-9771-0711-366d-79acd436908b@quicinc.com> <0ff3d6a3-dc5c-7c77-f8a1-6c4f6c1a3215@quicinc.com> <66ff4642-f268-f5b0-7e28-b196368c508a@quicinc.com> <5cf094cf-343a-82d7-91c4-1284683f9748@quicinc.com> <26263c16-8cbc-ccca-6081-7eba14635d73@quicinc.com> <8445f93a-00f0-64af-5650-07f2bc487742@quicinc.com> In-Reply-To: <8445f93a-00f0-64af-5650-07f2bc487742@quicinc.com> From: Dmitry Baryshkov Date: Sat, 25 Jun 2022 03:28:26 +0300 Message-ID: Subject: Re: [PATCH v1 2/3] drm/msm/dp: decoupling dp->id out of dp controller_id at scxxxx_dp_cfg table To: Kuogee Hsieh Cc: Abhinav Kumar , Stephen Boyd , agross@kernel.org, airlied@linux.ie, bjorn.andersson@linaro.org, daniel@ffwll.ch, dianders@chromium.org, dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, vkoul@kernel.org, quic_aravindh@quicinc.com, quic_sbillaka@quicinc.com, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 25 Jun 2022 at 03:23, Kuogee Hsieh wrote: > On 6/24/2022 5:21 PM, Dmitry Baryshkov wrote: > > On Sat, 25 Jun 2022 at 03:19, Kuogee Hsieh wrote: > >> How can I have eDP call dpu_encoder_init() before DP calls with > >> _dpu_kms_initialize_displayport()? > > Why do you want to do it? They are two different encoders. > > eDP is primary display which in normal case should be bring up first if > DP is also presented. I do not like the concept of primary display. It is the user, who must decide which display is primary to him. I have seen people using just external monitors and ignoring built-in eDP completely. Also, why does the bring up order matters here? What do you gain by bringing up eDP before the DP? > > We want eDP encoder help functions be executed before DP. Why? -- With best wishes Dmitry