Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp938095iog; Fri, 24 Jun 2022 18:46:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sGBpct1pufR0G6VZWMDXUFuJdGGvI21vb8ro3OSWx5lENdWd7i4J9AOhp21yw1yoO1l27y X-Received: by 2002:a65:6745:0:b0:3fd:fd52:85bc with SMTP id c5-20020a656745000000b003fdfd5285bcmr1576768pgu.350.1656121573317; Fri, 24 Jun 2022 18:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656121573; cv=none; d=google.com; s=arc-20160816; b=0/0/753FW4/5Jdho8wuPi6K2x+j4P2Xcj8iL6pzgVsNUwrlonXOdN1HIDvjgGSEUKb Zfe+cyhfgsmP72ih3ZsesnfvaYCFeeRbnWyyT/oE5OA5zyNpJ88NOL9O/VcFkMVje1V8 SejBvCxh4NsFC7HweQ4+QEB6UQ2rIx+G+5jDvkH1Dq9ytrZS/hxjWkYOU4bG5LPJqRSu 5qups1P05w61TUH+SBWfpbGDGQ1RdgK88OHQhPQJV4TOgvqKmEdHAZje7Nnhtyzd7I8k fRS+a8yzKC+i+sb9QpCeBEmGqqbEel9bSaVXXXqfAWV4HFCVVGPbDTZ7MyvL+90gNp4e 7TBA== 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:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=EHOMV/tMxEFeh2Jng8BcJ4ThhtxwYK4Dk9aplz67guk=; b=cACDkumC4T3j79QBzpBmBP7llysqo4V/M49B+Av+ArienfOuxk7kuQeQqVVXCywgS2 +tlwL8Rd6dDrbO1OiJmvf6kB8E+UMl4hKCteHNQZUygcMH05RWOX7QKw1PDoCf9PgpZ+ bPJB1lKvzmW7kQw/xAh44rhudDVNEvuGELkXpMOzqP5xO09EU83/vuMyNfD9NBQFMClk w6OFmt3pt7JbanbvkmEhTUPjmZE3600fppz5sffQvxTYOlSq0JHT7RPmCVBteMdxPikQ yEuD4ZF6W4j2zIoHst2VU7kk6Kv0GwvP50sIMoCPnucX31nWoUbdcRpE8FCdJV20bYWR Yx+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dGn3J5hQ; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j184-20020a638bc1000000b0040c9216ce18si4623672pge.417.2022.06.24.18.45.26; Fri, 24 Jun 2022 18:46:13 -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=@chromium.org header.s=google header.b=dGn3J5hQ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbiFYBPX (ORCPT + 99 others); Fri, 24 Jun 2022 21:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiFYBPW (ORCPT ); Fri, 24 Jun 2022 21:15:22 -0400 Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79836403E5 for ; Fri, 24 Jun 2022 18:15:21 -0700 (PDT) Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-101d2e81bceso6078618fac.0 for ; Fri, 24 Jun 2022 18:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=EHOMV/tMxEFeh2Jng8BcJ4ThhtxwYK4Dk9aplz67guk=; b=dGn3J5hQVt31ATY+uLJZzcCFaJ2JarOQfjsSRAoyAOLFZ/LZ6aRroA1lMOzHRyV1ki 5QBWVFvxporoAtTgNCi1cvCtAv8z6W0TjsGa4P3ZhTS3w9IbIPsHxqOrTcoJyQvTCtmT KMlEKexTypASbOy9WZvAz+s2jPY5gfTr5oDQk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=EHOMV/tMxEFeh2Jng8BcJ4ThhtxwYK4Dk9aplz67guk=; b=oDuEnovep4iTCZsA6tvUvOQg2wdPA57xA3Y2bUuOBl/ovdLdIu+AfOH20L/0CCmH8c e2hhxrrAMdfdZEiSruyf7W0P0nxPpIW+M7Gb0vgWw5QA4g/jqh3PCNUe5yiAghhjHyGL 1EKCjofxJwBlTsABOxr6jdAqpaYeFA12PNQAoZVnIYTbgnkROD+SNJ4vwGnZgx1iGmI5 6/Xf4lLYSBtPWAftqmQuRm9eAuYBdk7K/4j8zgPcSe4tXVur1UU+xIcaelNvJrqY0Jtq WZNOnReRqO1dkjjXEn5gkvnWkAyfEUgR9JIU1Qj1xfAdGpzH+zmtGgLjc4LnDFUjCBuP t63A== X-Gm-Message-State: AJIora9w9eq8HlfJkw9EHslyX3C18WR4yl/587x+4cYsp7ENW3QMOGU7 TyJKjrGAmotjCOiumzjTTFQqVnS0l733L4oYQ8FRBg== X-Received: by 2002:a05:6870:b627:b0:102:f25:a460 with SMTP id cm39-20020a056870b62700b001020f25a460mr1138464oab.193.1656119719962; Fri, 24 Jun 2022 18:15:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Jun 2022 18:15:19 -0700 MIME-Version: 1.0 In-Reply-To: <1a2e7574-8f78-d48e-a189-020ffcd39f60@quicinc.com> References: <1656090912-18074-1-git-send-email-quic_khsieh@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> <1a2e7574-8f78-d48e-a189-020ffcd39f60@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Fri, 24 Jun 2022 18:15:19 -0700 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: Dmitry Baryshkov , Kuogee Hsieh Cc: Abhinav Kumar , 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.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=unavailable 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 Quoting Kuogee Hsieh (2022-06-24 18:02:50) > > On 6/24/2022 5:46 PM, Dmitry Baryshkov wrote: > > On Sat, 25 Jun 2022 at 03:28, Dmitry Baryshkov > > wrote: > >> 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.from > > >> Also, why does the bring up order matters here? What do you gain by > >> bringing up eDP before the DP? > > I should probably rephrase my question to be more clear. How does > > changing the order of DP vs eDP bringup help you 'to fix screen > > corruption'. > > it did fix the primary display correction issue if edp go first and i do > not know the root cause yet. > > We are still investigating it. > > However I do think currently msm_dp_config sc7280_dp_cfg has issues need > be addressed. > What issues exist with sc7280_dp_cfg? It looks correct to me.