Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp560159rdh; Wed, 14 Feb 2024 05:19:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVfTPrWq6Rc+MLpiOf59lzu309bE1GNUcKcJq2IdzbE1FR+RiKXwOYYs3j+v4hc5SlclLthCK81hQtSPP8OP2fW2MPzGEi6+aqwgg5e1w== X-Google-Smtp-Source: AGHT+IE9OHxwAj0c04+Jg05FmBQ8ENZVdTBHpKVIFQAQUqOvFwumAterM2U2EGsRUNppJcGzI6g6 X-Received: by 2002:a05:620a:ccb:b0:785:d48f:a9c7 with SMTP id b11-20020a05620a0ccb00b00785d48fa9c7mr2624861qkj.36.1707916748646; Wed, 14 Feb 2024 05:19:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707916748; cv=pass; d=google.com; s=arc-20160816; b=kPrVBjzdRpPmqU5ZnJw9D9GaxETlyNXihcSP64A64pIEGypF2RWY+twDRWLCLyZFX4 d2vOF2NiUuqzFoxrTX9uWDXWw4lDkojexC9m9WdB89GQ8hCGHdNTSaVVcSDECOrds1N3 BzfcdAhJ6N3doxnzfQkSeC9CefsNFTWhxu1Ki9z4vCv0vjXDA19MTQc62XNXCp9bG8Fo LRSoqhdJQoFBqeHUv5mfdSMvFRarwOVgUq3fz/Yc01g0ZaSWTRfHVbelrC9VqhnI/0PI hTRs+ack3YRiKxLrQYJTW+RnnP6YL0qaI5L/mBWBRystWqNes6JsOv5znPRX0ESvWzhp 7utQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:reply-to:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=uw/FE5Y9fGTT7GYIBj4Y3tCRAHdsvDJrAUwA6fPJyg8=; fh=DjePQ5WyLbezwfhrhEKP3KJ3J4E1SdbfmBd2IIngI30=; b=xTM5TFt7qtDRiMOlOxJBQkSytc3KZAC9KveIFK8MUfUSvhX1cbjg10NETZPd6rrnk6 RjvY0mYyRf5KTvjd6egQq8ypHKQTyXInhQQGppI95cqzHB7qH5A4u2AeAWgUZexezX3U LhgksSYDZWMJNBbA5z75zeIngIDopiB4cH/kjHorp7qGuPpHDt8jMOfh8iEpDq4TG2+T pmO7ccWsf/hHMsHOvJg1eKkD8CJtAr0rh18CbOR+wqOp8BlwkhQfRRDVSV8T7u7Vi5yT loppQX1/qtSh9keGm6izKjWNwhtg3U5w3y7xW9pPOf7Sk35uG3NQ/ZmHWl/2UBtCFo1P W1gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-65261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65261-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWu/nCrKaFwBKxxZmDQR/P2woSf3pHXajGIJ5NZLdEGPKgM4hkxKpymIYt95sonpnX9yYABzP8FMXmmvOK5+dL7k+Bt4O9HPwELWZJvyw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f28-20020a05620a15bc00b0078716628c2csi4873391qkk.697.2024.02.14.05.19.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:19:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-65261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65261-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 218FB1C2203D for ; Wed, 14 Feb 2024 13:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F306535D7; Wed, 14 Feb 2024 13:18:59 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D59FB29437; Wed, 14 Feb 2024 13:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707916738; cv=none; b=iGdKs3mPZ3UZ+H/TVIr9PWrJsgEyUpheHyO9Qlb5BVqxd6RW/Bnp5SzbYyu1kbXEF+bUH0TKRTAb6Z8leu61rahLLTuQNUD3zOkU4honUdQdg9MvkzQ0GQkHtgwwf5JyxvpLvbDCvVoTnSw1Wu+5Rbl++hycIDi0vihai8PhKwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707916738; c=relaxed/simple; bh=/xZMZP2nWweiJcz6P4CrpNKk/2KW9avyIsmP5+gq4V0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TAqGHtFKjee4ZYvbTWjYiIPg1rW4D4j+nQy++Pcqh4aRVuxsWSy+C+uZ8QgvVmEDP9dx43zrsul3uvJu7M9ZYzh5RpKPxwDJCIxbs+9FrSxOB1TVXNINPPcNkFRhmMRj4JnNODTw9VizhAnD0oyvOg+gBgVEZlNVmxhsacoX2RU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1raFA0-0008JP-Ud; Wed, 14 Feb 2024 14:18:49 +0100 Message-ID: <4737bc92-e4e5-4266-a249-d122f15e7ab9@leemhuis.info> Date: Wed, 14 Feb 2024 14:18:48 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drm/msm: DisplayPort regressions in 6.8-rc1 Content-Language: en-US, de-DE To: Abhinav Kumar , Johan Hovold , Rob Clark , Dmitry Baryshkov , Kuogee Hsieh Cc: Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Bjorn Andersson , quic_jesszhan@quicinc.com, quic_sbillaka@quicinc.com, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org References: <343710b1-f0f4-5c05-70e6-3c221cdc9580@quicinc.com> From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <343710b1-f0f4-5c05-70e6-3c221cdc9580@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1707916737;a0e54d9e; X-HE-SMSGID: 1raFA0-0008JP-Ud On 13.02.24 19:00, Abhinav Kumar wrote: > > Thanks for the report. > > I do agree that pm runtime eDP driver got merged that time but I think > the issue is either a combination of that along with DRM aux bridge > https://patchwork.freedesktop.org/series/122584/ OR just the latter as > even that went in around the same time. In that case allow me a stupid question from the cheap seats: Is there anything affected users can do to help getting us closer to the real problem? Like testing a specific commit or two before or after the merge of one of those features for example? That might help to rule out a few things. Ciao, Thorsten > Thats why perhaps this issue was not seen with the chromebooks we tested > on as they do not use pmic_glink (aux bridge). > > So we will need to debug this on sc8280xp specifically or an equivalent > device which uses aux bridge. > > On 2/13/2024 3:42 AM, Johan Hovold wrote: >> Hi, >> >> Since 6.8-rc1 the internal eDP display on the Lenovo ThinkPad X13s does >> not always show up on boot. >> >> The logs indicate problems with the runtime PM and eDP rework that went >> into 6.8-rc1: >> >>     [    6.006236] Console: switching to colour dummy device 80x25 >>     [    6.007542] [drm:dpu_kms_hw_init:1048] dpu hardware >> revision:0x80000000 >>     [    6.007872] [drm:drm_bridge_attach [drm]] *ERROR* failed to >> attach bridge /soc@0/phy@88eb000 to encoder TMDS-31: -16 >>     [    6.007934] [drm:dp_bridge_init [msm]] *ERROR* failed to attach >> panel bridge: -16 >>     [    6.007983] msm_dpu ae01000.display-controller: >> [drm:msm_dp_modeset_init [msm]] *ERROR* failed to create dp bridge: -16 >>     [    6.008030] [drm:_dpu_kms_initialize_displayport:588] [dpu >> error]modeset_init failed for DP, rc = -16 >>     [    6.008050] [drm:_dpu_kms_setup_displays:681] [dpu >> error]initialize_DP failed, rc = -16 >>     [    6.008068] [drm:dpu_kms_hw_init:1153] [dpu error]modeset init >> failed: -16 >>     [    6.008388] msm_dpu ae01000.display-controller: >> [drm:msm_drm_kms_init [msm]] *ERROR* kms hw init failed: -16 >>      >> and this can also manifest itself as a NULL-pointer dereference: >> >>     [    7.339447] Unable to handle kernel NULL pointer dereference at >> virtual address 0000000000000000 >>      >>     [    7.643705] pc : drm_bridge_attach+0x70/0x1a8 [drm] >>     [    7.686415] lr : drm_aux_bridge_attach+0x24/0x38 [aux_bridge] >>      >>     [    7.769039] Call trace: >>     [    7.771564]  drm_bridge_attach+0x70/0x1a8 [drm] >>     [    7.776234]  drm_aux_bridge_attach+0x24/0x38 [aux_bridge] >>     [    7.781782]  drm_bridge_attach+0x80/0x1a8 [drm] >>     [    7.786454]  dp_bridge_init+0xa8/0x15c [msm] >>     [    7.790856]  msm_dp_modeset_init+0x28/0xc4 [msm] >>     [    7.795617]  _dpu_kms_drm_obj_init+0x19c/0x680 [msm] >>     [    7.800731]  dpu_kms_hw_init+0x348/0x4c4 [msm] >>     [    7.805306]  msm_drm_kms_init+0x84/0x324 [msm] >>     [    7.809891]  msm_drm_bind+0x1d8/0x3a8 [msm] >>     [    7.814196]  try_to_bring_up_aggregate_device+0x1f0/0x2f8 >>     [    7.819747]  __component_add+0xa4/0x18c >>     [    7.823703]  component_add+0x14/0x20 >>     [    7.827389]  dp_display_probe+0x47c/0x568 [msm] >>     [    7.832052]  platform_probe+0x68/0xd8 >> >> Users have also reported random crashes at boot since 6.8-rc1, and I've >> been able to trigger hard crashes twice when testing an external display >> (USB-C/DP), which may also be related to the DP regressions. >> >> I've opened an issue here: >> >>     https://gitlab.freedesktop.org/drm/msm/-/issues/51 >> >> but I also want Thorsten's help to track this so that it gets fixed >> before 6.8 is released. >> >> #regzbot introduced: v6.7..v6.8-rc1 >> >> The following series is likely the culprit: >> >>     https://lore.kernel.org/all/1701472789-25951-1-git-send-email-quic_khsieh@quicinc.com/ >> >> Johan > >