Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp900400rdb; Fri, 20 Oct 2023 02:49:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJ1Ih7WujkM1S3tkpPKdx0MV1SJQXsYeLnGwiTweqneBwKUqKDTKFvlHLHtVj40nNoP1NH X-Received: by 2002:a17:902:7487:b0:1c7:755d:ccc8 with SMTP id h7-20020a170902748700b001c7755dccc8mr1336981pll.29.1697795355878; Fri, 20 Oct 2023 02:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697795355; cv=none; d=google.com; s=arc-20160816; b=QFt0trOpdAHXqo+U9Odq80xSoloGvF9GBQVUwsCKEN30TYbsiw9Kw2niohW+VsuItW v5U63dSWNsl/eqpqXIxACMZNmui+0gl8NoGAZbYsUo8FX2G2MUzX1BK2F/HmfgbGBv15 QFtBvpMKZY0WRKsgNMNDjs8WBf9uRlmEND0NI1GmaH2tgQ4xAX4+ODY+rcV15WhWuhn3 Zf4hrpYEXmUl33pj7EgvgWk6MYKCG9nj+BfpKfd+45HC9pyBTyZ4JE+hUV6ht8avxLwA IXPD9OGhs8fTcE/+uCvvvcIqzWtoveIaNmCXZQtk/hTnPr5iejdcD9RAn0y2DLTfhscJ S3JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5hPIX5pwcYuE0uWU/V0Mnyc1Me4urH8zEE25jIYlCLk=; fh=WXR5yXcG7lS/fsOZ8DY4ZA4IWPCQxGyghtEf76hJFHE=; b=gtZFB8dWM81D0aCNyr8+UMOTw62BtcOvmShHNhsLAKU1yhlWw61+HMsE1jk5FmnQXh TXk9ZrHpJVwILUhOjAb3ac23u4GQgWMzbyD3fd0ixJah7IEfZHB5yynvX5xv7+WEN+PH 2uAWfKt/z6K6cmET/O5tXcUUzan9WudfV/nMUKuAu5iIypLoScAzsH3rqJvwn7ltU496 ERIZ7VOC9Yfbow37NpTtWhywVOCLH1TMfbue37h6x8cPo+Kw7g06P9FvDt8Arr61tgi5 11EGWnSYTptRWojHx/YeTndUl7hRi22FIF7aFu7YDRYcGTnQKzPVL7z+FqevOFsuT1gh vREg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RXUlindk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id e9-20020a170902d38900b001c73732c1f2si1380349pld.223.2023.10.20.02.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 02:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RXUlindk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 0531E8217DCE; Fri, 20 Oct 2023 02:49:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376670AbjJTJst (ORCPT + 99 others); Fri, 20 Oct 2023 05:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376708AbjJTJsr (ORCPT ); Fri, 20 Oct 2023 05:48:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7748C1A6 for ; Fri, 20 Oct 2023 02:48:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 178DDC433CA for ; Fri, 20 Oct 2023 09:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697795325; bh=5hPIX5pwcYuE0uWU/V0Mnyc1Me4urH8zEE25jIYlCLk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=RXUlindkpG+fkp3WU5PVzYeh+83Z0P7qcYaUDmRkOdZinCZXpXd0cbFvXSfX3q3XB xpifVRHs3cqMWcMN8i3ET5BWZ8HidI2dz+E0n7roFeD/OkE5qtr67S8k0v00xM4ytH E1DAImLABmj2KnlSAg0d+VavDuzLYuoqg/LthtLaDtXEd5WeOy2EW++43KLHfpGT3L lbrRbSHTP8PVRzJIzOMs2F0ajnoXFYoMvHxcfNxm3RpVmNEpycntrXJbgED+o6e5p2 jwt21lwX2nL8BveM3PgCliU//7CvkThcUdqDvHV8pE3/on++RsbfHXh5Rp0myKrwcj pTEVMpF5in42Q== Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-99c1c66876aso95517866b.2 for ; Fri, 20 Oct 2023 02:48:44 -0700 (PDT) X-Gm-Message-State: AOJu0YxLjgXI0wo0W3PaJdxsKOtNgBks41L8Ds8BYWY/YBjMGNv6NOWd llhjiMrwnlXt+RVy+a/vCBiDMXQe+nwbMmhCL2E= X-Received: by 2002:a17:907:1b0a:b0:9c7:5a01:ffe8 with SMTP id mp10-20020a1709071b0a00b009c75a01ffe8mr685785ejc.29.1697795323494; Fri, 20 Oct 2023 02:48:43 -0700 (PDT) MIME-Version: 1.0 References: <7c50e051-eba2-09fc-da9f-023d592de457@ristioja.ee> <31bdf7b1-0ed9-4217-b459-1d857e53120b@leemhuis.info> In-Reply-To: From: Huacai Chen Date: Fri, 20 Oct 2023 17:48:31 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570 To: Linux regressions mailing list Cc: Linux Kernel Mailing List , Jaak Ristioja , Javier Martinez Canillas , Linux DRI Development , David Airlie , Daniel Vetter , Thomas Zimmermann , Bagas Sanjaya Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 02:49:13 -0700 (PDT) On Fri, Oct 20, 2023 at 5:35=E2=80=AFPM Linux regression tracking (Thorsten Leemhuis) wrote: > > On 09.10.23 10:54, Huacai Chen wrote: > > On Mon, Oct 9, 2023 at 4:45=E2=80=AFPM Bagas Sanjaya wrote: > >> On Mon, Oct 09, 2023 at 09:27:02AM +0800, Huacai Chen wrote: > >>> On Tue, Sep 26, 2023 at 10:31=E2=80=AFPM Huacai Chen wrote: > >>>> On Tue, Sep 26, 2023 at 7:15=E2=80=AFPM Linux regression tracking (T= horsten > >>>> 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 bl= ank > >>>>>> screen after boot until the display manager starts... if it does s= tart > >>>>>> at all. Using the nomodeset kernel parameter seems to be a workaro= und. > >>>>>> > >>>>>> I've bisected this to commit 60aebc9559492cea6a9625f514a8041717e3a= 2e4 > >>>>>> ("drivers/firmware: Move sysfb_init() from device_initcall to > >>>>>> subsys_initcall_sync"). > >>>>> > >>>>> Hmmm, no reaction since it was posted a while ago, unless I'm missi= ng > >>>>> something. > >>>>> > >>>>> Huacai Chen, did you maybe miss this report? The problem is apparen= tly > >>>>> caused by a commit of yours (that Javier applied), you hence should= look > >>>>> into this. > >>>> I'm sorry but it looks very strange, could you please share your con= fig file? > >>> As confirmed by Jaak, disabling DRM_SIMPLEDRM makes things work fine > >>> again. So I guess the reason: > >> > >> Did Jaak reply privately? It should have been disclosed in public > >> ML here instead. > > Yes, he replied privately, and disabling DRM_SIMPLEDRM was suggested by= me. > > 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. 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. > > #regzbot poke > > >>> When SIMPLEDRM takes over the framebuffer, the screen is blank (don't > >>> know why). And before 60aebc9559492cea6a9625f ("drivers/firmware: Mov= e > >>> 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 > > > >