Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2776907rda; Wed, 25 Oct 2023 11:59:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAd3RbtjylGbgWphfDQfS3omADJX3qPCQirytIHeFyWy9VEdcJO7g2aJ2DuSsve80rsgq0 X-Received: by 2002:a25:dc45:0:b0:d9a:52dc:15d4 with SMTP id y66-20020a25dc45000000b00d9a52dc15d4mr16536389ybe.52.1698260382118; Wed, 25 Oct 2023 11:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698260382; cv=none; d=google.com; s=arc-20160816; b=YtEYEnWVmHrO2ZR7EphrKd1Tyw/xgoH6F9rHI+C3MiBSXrZPWePYvTNldH7T6ywvjf yqBZ+JJ1Qm/eVIlE78xgKjN/3i5Ku/ES6BMsfJKMUA+72evbt11mulyfqwh76c8SOpA7 Rn/hFo0mdm78Vww7Xr7re9jGNCZeDjjw3bbeWwHIvuAawlv9EDuEgCB87eY4snpjnZu5 ASG2qS/sR1mfbobC+0JoP9Hno42lXd6NNUoH6HD5hGgtcYZXuYO9uIiVJHUXsoCtZpFM qH1y9sVhza26SUv5hO60i/ew8kunUnLV91PtcmGFUjmGeol70S8J2uecnBwVow7astmw 5Orw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=DU4neYQFyZqEdb7qVB9fdZIFnniSoJsXFcBKERfBUq8=; fh=ILkaiDww8EdpHXjULwH94M7bHrAtDkCFEVaVy3415tY=; b=XfzUYhBdjBIDuuS3bOcsm7hcw3eM/PWnKPDm4b4kPn+m1kv4JkKOVDhivFsVB2qncs pTZCH7ykLVUNh4Y/JTOhjByeM38hZq+f8I+TGhnzewiKPRJNLW8fTlOZ6j0+Oj2Go7SN 7xjbFnR7IzP5fMMKtVILLULGfvzK6aq54Yt79mkKrX4XbT4+FWKqEotMe7oofdF2Iah/ JQeTD6IurQert8kTgPhpkPyUDPgwZr2rt11c319uiY52SDzPHESVhHqvcOrkttJbGmro a5YNx4REbdE+0qJeEVuLehukvlR2JXK8Vkh/BZLtJp6mJZo7azykiGsj4tSqRPXHrtpl UzXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ristioja.ee header.s=mail header.b=OSc35MtC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ristioja.ee Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h66-20020a25d045000000b00d9cb21e8397si12140508ybg.353.2023.10.25.11.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:59:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=fail header.i=@ristioja.ee header.s=mail header.b=OSc35MtC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ristioja.ee Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C9F44804E89D; Wed, 25 Oct 2023 11:57:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234893AbjJYS5C (ORCPT + 99 others); Wed, 25 Oct 2023 14:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbjJYS4y (ORCPT ); Wed, 25 Oct 2023 14:56:54 -0400 X-Greylist: delayed 431 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 25 Oct 2023 11:56:50 PDT Received: from mx1.heh.ee (heh.ee [213.35.143.160]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3107A111 for ; Wed, 25 Oct 2023 11:56:49 -0700 (PDT) Received: from [10.0.0.254] (unknown [10.0.0.254]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.heh.ee (Hehee) with ESMTPSA id 7D03417536C; Wed, 25 Oct 2023 21:49:35 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ristioja.ee; s=mail; t=1698259775; bh=R+2d5X0G+txsuBMIQ+fpeQRUqcx1RuNnMHT78XAvRfY=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=OSc35MtCaDvzwu8jqeX8uYJcca3EiJ6zaH6+tvRCg06LWlUfqjZRZsgkoh7gQh8yu MNh5O9m2caPWC79QtnPPmvL7/banMKbUOhvLx2svlyURO9SnhysYdQvi7kFgpHNb7J hpOB1WIhoDtj1Ru4gxjsh3R/4h0LWtjQozpgmOqU= Message-ID: Date: Wed, 25 Oct 2023 21:49:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570 Content-Language: et-EE To: Huacai Chen , Thorsten Leemhuis Cc: Evan Preston , Linux regressions mailing list , Linux Kernel Mailing List , Javier Martinez Canillas , Linux DRI Development , David Airlie , Daniel Vetter , Thomas Zimmermann , Bagas Sanjaya References: <7c50e051-eba2-09fc-da9f-023d592de457@ristioja.ee> <31bdf7b1-0ed9-4217-b459-1d857e53120b@leemhuis.info> <82f1b533-3bd8-4418-843a-718d9a6b5786@leemhuis.info> From: Jaak Ristio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2CHTZ2GyMDHhK3tFx/GcCkVCxEcBfJ4DS3Bkld0LHI2I3vNgxOzjoBwKtK joVTD3J7l52H3KqGe8B0u4wGBs5kzWjyXIIIiK/Dm24Cdd2cZzMsm8b1fQJ0aBwSBYHO9nbI 4R71PmJZUQARAQABwsF2BBgBCAAgFiEEbARiEXJgykk097PgSddhlGmf2aQFAmDa9yMCGwwA CgkQSddhlGmf2aSUUhAAqwMimarXWRUdJnjvpHjTdScm4YRF6exTWnWrkTh7LLEO0tVsaOyq m16YD89VYC+zwRWLENP9oJspU8JICzcnWkAoRYjR5L3u1pFz71s7pRwOHJSCYm1zfsd5igFp 8+zYMtKjc/L/DiqR+Y9LVgt752iXJOV+Ei5JPWSoZpvu4k58Ld5vJHbfEABSPLWtGdbRLeWP BhjAArObuBABHXuR2wnJvo1e61vK9xkj8rRFGF8a53oc2beoARl0AzvSzvh1/ciG/eGw27jh yN4ZHQiOid0v3cguoy7D1GdWmQI2aaMl+HKUwqX2Uct5Asuagjvpi5M4LVvTUTjpaQlxubhq Vr1vGkkaUckHnKoIhHBN7HuIDyW3SDBl13F7d55WLqcjK2zqaj9yEcGwbP3rRAbntHA/RHTF xfGQZTEFbImLkQoWUdXt1GF4EYLg/SP4ue34n8Tw7FSQgzzw2+gxzIbtUer+Xl8esrvSAl9j 8gObUTXjgxhk6dYih3/p9O3fhi8PSXAbtAxxMGfQ6m8gPc5uPQyWShbWUIVEm5Fk91pxR7lQ wCSq+0JNeNfS32BsT8xkJ5zPAy8qvCrX78Fn9UlJFFEKvbLCEw7UdqU1MngpjxzgJVr/tudk 6N1T9Qd9m05BFL39j+z5vvHLeks3fRhA6xA5qLhVdptT1lvmRm5Dqr0= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:57:31 -0700 (PDT) On 25.10.23 16:23, Huacai Chen wrote: > On Wed, Oct 25, 2023 at 6:08 PM Thorsten Leemhuis > wrote: >> >> Javier, Dave, Sima, >> >> On 23.10.23 00:54, Evan Preston wrote: >>> On 2023-10-20 Fri 05:48pm, Huacai Chen wrote: >>>> On Fri, Oct 20, 2023 at 5:35 PM Linux regression tracking (Thorsten >>>> Leemhuis) wrote: >>>>> On 09.10.23 10:54, Huacai Chen wrote: >>>>>> On Mon, Oct 9, 2023 at 4:45 PM Bagas Sanjaya wrote: >>>>>>> On Mon, Oct 09, 2023 at 09:27:02AM +0800, Huacai Chen wrote: >>>>>>>> On Tue, Sep 26, 2023 at 10:31 PM Huacai Chen wrote: >>>>>>>>> On Tue, Sep 26, 2023 at 7:15 PM Linux regression tracking (Thorsten >>>>>>>>> Leemhuis) wrote: >>>>>>>>>> On 13.09.23 14:02, Jaak Ristioja wrote: >>>>>>>>>>> >>>>>>>>>>> Upgrading to Linux 6.5 on a Lenovo ThinkPad L570 (Integrated Intel HD >>>>>>>>>>> Graphics 620 (rev 02), Intel(R) Core(TM) i7-7500U) results in a blank >>>>>>>>>>> screen after boot until the display manager starts... if it does start >>>>>>>>>>> at all. Using the nomodeset kernel parameter seems to be a workaround. >>>>>>>>>>> >>>>>>>>>>> I've bisected this to commit 60aebc9559492cea6a9625f514a8041717e3a2e4 >>>>>>>>>>> ("drivers/firmware: Move sysfb_init() from device_initcall to >>>>>>>>>>> subsys_initcall_sync"). >>>>>>>>>> >>>>>>>> As confirmed by Jaak, disabling DRM_SIMPLEDRM makes things work fine >>>>>>>> again. So I guess the reason: >>>>> >>>>> Well, this to me still looks a lot (please correct me if I'm wrong) like >>>>> regression that should be fixed, as DRM_SIMPLEDRM was enabled beforehand >>>>> if I understood things correctly. Or is there a proper fix for this >>>>> already in the works and I just missed this? Or is there some good >>>>> reason why this won't/can't be fixed? >>>> >>>> DRM_SIMPLEDRM was enabled but it didn't work at all because there was >>>> no corresponding platform device. Now DRM_SIMPLEDRM works but it has a >>>> blank screen. Of course it is valuable to investigate further about >>>> DRM_SIMPLEDRM on Jaak's machine, but that needs Jaak's effort because >>>> I don't have a same machine. >> >> Side note: Huacai, have you tried working with Jaak to get down to the >> real problem? Evan, might you be able to help out here? > No, Jaak has no response after he 'fixed' his problem by disabling SIMPLEDRM. > I'm sorry, what was it exactly you want me to do? Please be mindful that I'm not familiar with the internals of the Linux kernel and DRI, and it might sometimes take weeks before I have time to work and respond on this. Jaak >> >> But I write this mail for a different reason: >> >>> I am having the same issue on a Lenovo Thinkpad P70 (Intel >>> Corporation HD Graphics 530 (rev 06), Intel(R) Core(TM) i7-6700HQ). >>> Upgrading from Linux 6.4.12 to 6.5 and later results in only a blank >>> screen after boot and a rapidly flashing device-access-status >>> indicator. >> >> This additional report makes me wonder if we should revert the culprit >> (60aebc9559492c ("drivers/firmware: Move sysfb_init() from >> device_initcall to subsys_initcall_sync") [v6.5-rc1]). But I guess that >> might lead to regressions for some users? But the patch description says >> that this is not a common configuration, so can we maybe get away with that? > From my point of view, this is not a regression, 60aebc9559492c > doesn't cause a problem, but exposes a problem. So we need to fix the > real problem (SIMPLEDRM has a blank screen on some conditions). This > needs Jaak or Evan's help. > > Huacai >> >> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) >> -- >> Everything you wanna know about Linux kernel regression tracking: >> https://linux-regtracking.leemhuis.info/about/#tldr >> If I did something stupid, please tell me, as explained on that page. >> >>>>>>>> When SIMPLEDRM takes over the framebuffer, the screen is blank (don't >>>>>>>> know why). And before 60aebc9559492cea6a9625f ("drivers/firmware: Move >>>>>>>> sysfb_init() from device_initcall to subsys_initcall_sync") there is >>>>>>>> no platform device created for SIMPLEDRM at early stage, so it seems >>>>>>>> also "no problem". >>>>>>> I don't understand above. You mean that after that commit the platform >>>>>>> device is also none, right? >>>>>> No. The SIMPLEDRM driver needs a platform device to work, and that >>>>>> commit makes the platform device created earlier. So, before that >>>>>> commit, SIMPLEDRM doesn't work, but the screen isn't blank; after that >>>>>> commit, SIMPLEDRM works, but the screen is blank. >>>>>> >>>>>> Huacai >>>>>>> >>>>>>> Confused... >>>>>>> >>>>>>> -- >>>>>>> An old man doll... just what I always wanted! - Clara >>>>>> >>>>>> >>> >>>