Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4318221imw; Thu, 7 Jul 2022 16:59:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vo4UKDfTeLt6QivZzHTswfMzyQwBhZppRE5EKy9aq/8P5DXzHsq7ZDqQR6P6CAbhRA5iPj X-Received: by 2002:a17:902:e54a:b0:16a:3e90:3cdc with SMTP id n10-20020a170902e54a00b0016a3e903cdcmr548433plf.38.1657238358964; Thu, 07 Jul 2022 16:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657238358; cv=none; d=google.com; s=arc-20160816; b=j9gly51nAsqzRj0I83KVIi882hTs2a9QJN0i3X1gzJ9cLhpRhFI2atKn2T/gLmJ01x zMXXumRP2YWaOawYLsveB148VmbndzxQxCbwHGpWAusbNINDlvDsgyN6lB2CHmj3ZMJF QLbIETc8gk6jxSG/k4n6JEPrALSEhqo5l/nvsk9k4PxMqkU7IhSAUlw9Ucg4iHDEqS0+ PaxsbiUNuSObnp0+S/yrYxJJh4///es+tyTFaAVYeN0SJAW21MMzlLQv17BUbaSNT+cM K1TJAYEek4grEE603omeZICGOQhE3Rp9Zs0t71Q1tVnEFaj9E+EuAT1nXUbeurzQDlFT Eo7A== 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=9ntP1WDLnC6Yx7jFk7jZStLEDziwDqk+ZlwPsvE1xWs=; b=lNQJ0uucfFsnxZjFt4PfYVuqERWdK5NmyqdBGMBYQ88HslcMWqX1H2fyuPT98cmKH3 BSw4OCD9y2WLX3HuYo+dmVYGex8v/XL7TgIu6VnOm6YXm8VNZ9vgClToUKDDI24D5SBS 7PkbIpG9C7XsJ5Gc96Cnb8B2JrOHrgwotf3IIZcBpkUSxepNcOsqG9fmBxGCBhxZOMGC tv63KInCy9TSvzd9PRqVHtRH7yM3RcrK8YR99KVI4fIZlIJppu8jE5Lt6pwgRk4gtQo3 EIQ+34QCiMYhMyL5WbTFVnfxPDDjeVmYMUKLPaED9EUCCuBLcknG/3O1GxUOZkER+BXj HHQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bXuaYmps; 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 f9-20020a170902e98900b0016bf943aed4si3700484plb.239.2022.07.07.16.58.51; Thu, 07 Jul 2022 16:59:18 -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=bXuaYmps; 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 S236905AbiGGXzJ (ORCPT + 99 others); Thu, 7 Jul 2022 19:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236573AbiGGXzH (ORCPT ); Thu, 7 Jul 2022 19:55:07 -0400 Received: from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C39FB6D571 for ; Thu, 7 Jul 2022 16:55:06 -0700 (PDT) Received: by mail-oo1-xc2e.google.com with SMTP id n11-20020a4ad12b000000b00425b01c3326so3750943oor.8 for ; Thu, 07 Jul 2022 16:55:06 -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=9ntP1WDLnC6Yx7jFk7jZStLEDziwDqk+ZlwPsvE1xWs=; b=bXuaYmps3SO/5Gg3nxuV379NqM1hoHcyQbvWn/KnsI4akOLpYz+plOpnE5dn9mRH7Z Ba4pUy+ktATqZI/NUhKueHyeRHspJaPiUIEewUlCm9RQVmwSizU1Qt7YSZVn+1svIEIs iVy1O+bxNmKs1ULMXdsz6tbhueBjHT39Ggtcs= 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=9ntP1WDLnC6Yx7jFk7jZStLEDziwDqk+ZlwPsvE1xWs=; b=03QH7IBkP4pzVnwfcWZ2hD1UElsnuyDS8pgi+S45ePekqrSpZuGlHkRsnett1HpGWM aD9+Tef4q60UNkwdyaLdz7v+ZthndbxD/Y4rPfqHYgOTIOg+A5vquGnDGNbOsAsg6dkt R97/2trz0DPkClGZHQO1P74meC8y8lS+fDmcPioojIemcbpKnMdsL9YFJ9IRfFpkuXvq szSNj6BNLiJKEVQ4gTXwxiT/y7OY4ZUIxmlJRIc0kgNOmvYzxrHaheHzQdpxYzW1ubF5 nvuzqOWW/PJGj8os86JL2hOP+glMISZ+RgPz2TBl50MkZ1/pdQVOVP+65p8nQV8g2ipj LJxw== X-Gm-Message-State: AJIora+Sxb7xIWjSqgMnWHIkhClqsO9nPSkR1uaIkDNK6KNpNcRpj9zt OvqWDV2kXhKoRoq2Y8I8KCfbD1iYt/GwlEz3/jqPOQ== X-Received: by 2002:a4a:81c1:0:b0:425:b01b:f757 with SMTP id s1-20020a4a81c1000000b00425b01bf757mr305054oog.1.1657238106090; Thu, 07 Jul 2022 16:55:06 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 7 Jul 2022 16:55:05 -0700 MIME-Version: 1.0 In-Reply-To: <1657135928-31195-1-git-send-email-quic_khsieh@quicinc.com> References: <1657135928-31195-1-git-send-email-quic_khsieh@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Thu, 7 Jul 2022 16:55:05 -0700 Message-ID: Subject: Re: [PATCH v4] drm/msm/dp: make eDP panel as the first connected connector To: Kuogee Hsieh , agross@kernel.org, airlied@linux.ie, bjorn.andersson@linaro.org, daniel@ffwll.ch, dianders@chromium.org, dmitry.baryshkov@linaro.org, robdclark@gmail.com, sean@poorly.run, vkoul@kernel.org Cc: quic_abhinavk@quicinc.com, quic_aravindh@quicinc.com, quic_sbillaka@quicinc.com, freedreno@lists.freedesktop.org, dri-devel@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.8 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-07-06 12:32:08) > Some userspace presumes that the first connected connector is the main > display, where it's supposed to display e.g. the login screen. For > laptops, this should be the main panel. > > This patch call drm_helper_move_panel_connectors_to_head() after > drm_bridge_connector_init() to make sure eDP stay at head of > connected connector list. This fixes unexpected corruption happen > at eDP panel if eDP is not placed at head of connected connector > list. > > Changes in v2: > -- move drm_helper_move_panel_connectors_to_head() to > dpu_kms_drm_obj_init() > > Changes in v4: > -- move drm_helper_move_panel_connectors_to_head() to msm_drm_init() > > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd