Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp598871pxr; Mon, 11 Apr 2022 02:08:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/e/d6wiF3A9dWF/YjlV3eHENLTomCepdF+7nfRCb+WHYAHe3QHcWvuTRy8/7uoviUvqB0 X-Received: by 2002:a17:906:5597:b0:6ce:f3cc:14e8 with SMTP id y23-20020a170906559700b006cef3cc14e8mr28827006ejp.426.1649668129461; Mon, 11 Apr 2022 02:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649668129; cv=none; d=google.com; s=arc-20160816; b=J+k1qwozv236o6f2TGfSQZNxnjWvTCv/PQMvjGYQIHIEbiX70+JKtGRoMT0jP8Np61 m1X42Sae/OIBiRYDmA8mc58jvMAPfwfrKc3JZMYZhDxlZb2SOqRmfXF9YfzCrqg8MBGG P9XLo+O/A9aW4T+QY0ZQpKv3Z36kfYK76gaQ8rZ5kgZCs5fpXxZ5uPyI+3WQfrRjKYWy DZC/RnK4HJSV35rq00h17x0TDqY0R2e2MXFppqLB9QvSODVgKMCuvN5xz8NH/UhcFPWP 9ai0wiWD+j3A1gafsZc2Vnabm0RV13Mhgw2hyVide19Xr/SQIxIeRuL+0muMEJjV2EKu Oksw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=X8ihlJGLhQulzBr/Bw9/Kc42S0CR8w0u1LhcgfZff4w=; b=AR8rF/2a8bS0eVEn6GFFDi328nfyxQyU+sAfKm3e5sheJvhMprStyk7k4mNQwAvu0Y JP97EnmtZnkgD/A+TXYmd0AIWthGj6jkIpWKnxB+C1XuRKasmozgmm64mzcytAI7juTk rrm23nmWtiy39QrITWWF41SKYrTuVpj4umsxZ3hW3/4wBSKwkB6NF+JyAa/C35r4CK3p F0LYM+oucbMoBEC1idIuszick5BKwCwbHhgElgOwfV65HJ5WmWrV3EMyJ0uUlGcia3Ek mUWEuJwp9qZpRn4JXT8C4TGpVQhhL9Pe4/hWqIZLWTEVRAjdbjZEMQ5mag96x2UoM/Zu +uIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Rp5rWZgY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a50a690000000b0041d54d7dc95si5653965edc.451.2022.04.11.02.08.24; Mon, 11 Apr 2022 02:08:49 -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=@gmail.com header.s=20210112 header.b=Rp5rWZgY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242593AbiDIQar (ORCPT + 99 others); Sat, 9 Apr 2022 12:30:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232243AbiDIQao (ORCPT ); Sat, 9 Apr 2022 12:30:44 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED9CE2FFE3 for ; Sat, 9 Apr 2022 09:28:35 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id l26so22932071ejx.1 for ; Sat, 09 Apr 2022 09:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X8ihlJGLhQulzBr/Bw9/Kc42S0CR8w0u1LhcgfZff4w=; b=Rp5rWZgYKg3NYBOapq+5W42sOwe5sZwVG6LIf5HaeCPInbvjU0qENaMOcWl2u7Yioz 2CAkBusW1Tlk7lvxsin8/3fPhtBWRzQUB1jlA54wcT1PyRrcXrhGbImU5hhRpiS5ZLnM jNdluI4j17cvS9/d6TkdYLdKWaSkV3Q9RVfepdq6awvnqeVvMXb7FS+Mj1bwwlzpu95n bWivfy9DDpteMj3dmzXn9D9cLwDRN+fJd9f+Z9Avkq56gYvOZkS7ZTfM+yHks/LPrs7E Gtd9UBb5UNKZXIZugtXUmbQ1kUdoaHATod1JUB/sJ7F3wPp0EGdBxchMDGKCxwLgtZIM U31w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X8ihlJGLhQulzBr/Bw9/Kc42S0CR8w0u1LhcgfZff4w=; b=LimuCbZXDcWrNUVaBGq2bOhT/C4FI87jnSfIAieNl5J7jml/gAwgpX+MfJq7pfBBOc DCu/pYsAk6W9iO+hlZz5l6GZJgfLYiDkqSAvsBTHi7grQc37vFIb9tIj+zW4I3ju7IK5 b/rCDDuvKQ9yS+k4c9XB1zhiVbn7Qer/XRFH0zlIp4El3UO6rAxyVvJGDu+9pBMkhmEp n26NIkHicE4BXq+LgvNWywaJob2U1XehlqX7F1x1Rhda8s6n77i4kx5V2FxDQ5+UO3Zs 4BdjyWODJDgX7QGlH3QnBn/Nzt5akzLA/Lqrf5qhi6qABew76xSH4x2oqiPmfHUAUdbR WtJw== X-Gm-Message-State: AOAM532my1ZDfODx0df80180fqVVvJChDQGsq9L6p+KKZkIBsAbg7Wvi IlEzvbEKlk7RILJU6MejMc9/yuUjbeG7vA== X-Received: by 2002:a17:906:2bd7:b0:6ce:698b:7531 with SMTP id n23-20020a1709062bd700b006ce698b7531mr22560580ejg.146.1649521714475; Sat, 09 Apr 2022 09:28:34 -0700 (PDT) Received: from darkstar.example.org (host-79-21-204-193.retail.telecomitalia.it. [79.21.204.193]) by smtp.gmail.com with ESMTPSA id l17-20020a056402231100b0041d0718a3e3sm3586587eda.23.2022.04.09.09.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 09:28:33 -0700 (PDT) Date: Sat, 9 Apr 2022 18:28:31 +0200 From: Michele Ballabio To: Alex Deucher Cc: LKML , regressions@lists.linux.dev, Maling list - DRI developers , amd-gfx list Subject: Re: AMDGPU: regression on 5.17.1 Message-ID: <20220409182831.185e5d92@darkstar.example.org> In-Reply-To: References: <20220403132322.51c90903@darkstar.example.org> <20220404213940.09a56d15@darkstar.example.org> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. Let me know if you need some more testing. Thanks, Michele Ballabio