From mboxrd@z Thu Jan 1 00:00:00 1970 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 283C0A31 for ; Sat, 9 Apr 2022 17:32:45 +0000 (UTC) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ndEwz-0001ZG-Qa; Sat, 09 Apr 2022 19:32:42 +0200 Message-ID: <19141ae9-5930-4a53-53b6-9afbf96539b3@leemhuis.info> Date: Sat, 9 Apr 2022 19:32:37 +0200 Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: AMDGPU: regression on 5.17.1 #forregzbot Content-Language: en-US To: regressions@lists.linux.dev Cc: LKML , Maling list - DRI developers , amd-gfx list References: <20220403132322.51c90903@darkstar.example.org> <20220404213940.09a56d15@darkstar.example.org> <20220409182831.185e5d92@darkstar.example.org> From: Thorsten Leemhuis In-Reply-To: <20220409182831.185e5d92@darkstar.example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1649525565;1fdff97d; X-HE-SMSGID: 1ndEwz-0001ZG-Qa TWIMC: this mail is primarily send for documentation purposes and for regzbot, my Linux kernel regression tracking bot. These mails usually contain '#forregzbot' in the subject, to make them easy to spot and filter. On 09.04.22 18:28, Michele Ballabio wrote: > On Tue, 5 Apr 2022 10:23:16 -0400 > Alex Deucher wrote: > >> On Mon, Apr 4, 2022 at 3:39 PM Michele Ballabio >> wrote: >>> >>> On Mon, 4 Apr 2022 13:03:41 -0400 >>> Alex Deucher wrote: >>> >>>> On Sun, Apr 3, 2022 at 10:19 AM Michele Ballabio >>>> wrote: >>>>> >>>>> Hi, >>>>> I've hit a regression on 5.17.1 (haven't tested 5.17.0, >>>>> but 5.16-stable didn't have this problem). >>>>> >>>>> The machine is a Ryzen 5 1600 with AMD graphics (RX 560). >>>>> >>>>> The regression I hit seems to trigger when the machine is left >>>>> idle at boot (I don't boot straight to X, I boot to a tty, login >>>>> and then start X). The machine after a while blanks the screen. >>>>> Usually, the screen unblanks as the keyboard is hit or the mouse >>>>> moves, but with kernel 5.17.1 the screen does not wake up. The >>>>> machine seems to run mostly fine: I can login from ssh, but I >>>>> cannot reboot or halt it: a sysrq sequence is needed for that. >>>>> Note that if the screen goes blank under X, it wakes up fine. >>>>> >>>>> Below a dmesg and two traces from syslog (they're quite >>>>> similar). >>>> >>>> Can you bisect? Does setting amdgpu.runpm=0 help? >>> >>> I can try to bisect, should I narrow the search to drivers/gpu/drm/ >>> ? >> >> I would just do a full bisect if possible in case the change happens >> to be outside of drm. >> >>> >>> Setting amdgpu.runpm=0 works, the display now unblanks without >>> problems. >> > > Hi, > I bisected this, and the first bad commit is > [087451f372bf76d971184caa258807b7c35aac8f] drm/amdgpu: use generic fb > helpers instead of setting up AMD own's. #regzbot introduced: 087451f372bf76d971184caa258807b7c35aac8f From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B08EC433EF for ; Sat, 9 Apr 2022 17:32:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E2E6F10E1DC; Sat, 9 Apr 2022 17:32:45 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F46C10E1D3; Sat, 9 Apr 2022 17:32:44 +0000 (UTC) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ndEwz-0001ZG-Qa; Sat, 09 Apr 2022 19:32:42 +0200 Message-ID: <19141ae9-5930-4a53-53b6-9afbf96539b3@leemhuis.info> Date: Sat, 9 Apr 2022 19:32:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: AMDGPU: regression on 5.17.1 #forregzbot Content-Language: en-US To: regressions@lists.linux.dev References: <20220403132322.51c90903@darkstar.example.org> <20220404213940.09a56d15@darkstar.example.org> <20220409182831.185e5d92@darkstar.example.org> From: Thorsten Leemhuis In-Reply-To: <20220409182831.185e5d92@darkstar.example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1649525564;96f01c89; X-HE-SMSGID: 1ndEwz-0001ZG-Qa X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: amd-gfx list , LKML , Maling list - DRI developers Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" TWIMC: this mail is primarily send for documentation purposes and for regzbot, my Linux kernel regression tracking bot. These mails usually contain '#forregzbot' in the subject, to make them easy to spot and filter. On 09.04.22 18:28, Michele Ballabio wrote: > On Tue, 5 Apr 2022 10:23:16 -0400 > Alex Deucher wrote: > >> On Mon, Apr 4, 2022 at 3:39 PM Michele Ballabio >> wrote: >>> >>> On Mon, 4 Apr 2022 13:03:41 -0400 >>> Alex Deucher wrote: >>> >>>> On Sun, Apr 3, 2022 at 10:19 AM Michele Ballabio >>>> wrote: >>>>> >>>>> Hi, >>>>> I've hit a regression on 5.17.1 (haven't tested 5.17.0, >>>>> but 5.16-stable didn't have this problem). >>>>> >>>>> The machine is a Ryzen 5 1600 with AMD graphics (RX 560). >>>>> >>>>> The regression I hit seems to trigger when the machine is left >>>>> idle at boot (I don't boot straight to X, I boot to a tty, login >>>>> and then start X). The machine after a while blanks the screen. >>>>> Usually, the screen unblanks as the keyboard is hit or the mouse >>>>> moves, but with kernel 5.17.1 the screen does not wake up. The >>>>> machine seems to run mostly fine: I can login from ssh, but I >>>>> cannot reboot or halt it: a sysrq sequence is needed for that. >>>>> Note that if the screen goes blank under X, it wakes up fine. >>>>> >>>>> Below a dmesg and two traces from syslog (they're quite >>>>> similar). >>>> >>>> Can you bisect? Does setting amdgpu.runpm=0 help? >>> >>> I can try to bisect, should I narrow the search to drivers/gpu/drm/ >>> ? >> >> I would just do a full bisect if possible in case the change happens >> to be outside of drm. >> >>> >>> Setting amdgpu.runpm=0 works, the display now unblanks without >>> problems. >> > > Hi, > I bisected this, and the first bad commit is > [087451f372bf76d971184caa258807b7c35aac8f] drm/amdgpu: use generic fb > helpers instead of setting up AMD own's. #regzbot introduced: 087451f372bf76d971184caa258807b7c35aac8f