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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FD75C433EF for ; Sun, 20 Feb 2022 18:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244103AbiBTSEC (ORCPT ); Sun, 20 Feb 2022 13:04:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbiBTSEA (ORCPT ); Sun, 20 Feb 2022 13:04:00 -0500 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EAC41635 for ; Sun, 20 Feb 2022 10:03:38 -0800 (PST) Received: from [192.168.8.33] (unknown [90.19.9.37]) (Authenticated sender: eric.valette@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 7A5715FF33; Sun, 20 Feb 2022 19:03:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1645380216; bh=IukDJ5h4L2PHp9stLtKdlNNaLlvJkJUdojizUPTPeKM=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To:From; b=rhWZ1j23EvxNsTknNLs/om+90oVmS28biKPyhdT0QbJKoeCDCPP/IkJNUAT/7Iiws nwFNm3+uHfm6F5dEPB+CiraRY8nhNVeGMhiNc1H4WmVJXdtxvKd11zFwtqbQYhrjB+ tP8jetzDa2dp08glWC1IjM63nqUJ7yWbxHXMCNkjt0C2NA8aMAIHMZx2zjTU6gE+D4 iRs3ese+SaeryZ7VV0NPAMLHjFcKoFVb/AtQybhKlngF7GnyrRPoQrIrQPIbJT7c3Q 9Pq4H0XINOZM9iesgyddmAcGAzy155Jrx9IYRprJG212qCesOH0Se9anppF4NwLiU0 44zHDMMtzfZwQ== Message-ID: Date: Sun, 20 Feb 2022 19:03:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Reply-To: eric.valette@free.fr Subject: Re: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Content-Language: en-US To: dod@debian.org, Salvatore Bonaccorso Cc: Alex Deucher , Sasha Levin , David Airlie , Maling list - DRI developers , "Pan, Xinhui" , LKML , 1005005@bugs.debian.org, Luben Tuikov , amd-gfx list , Evan Quan , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <5164225.DI6hChFYCN@ylum> From: Eric Valette Organization: HOME In-Reply-To: <5164225.DI6hChFYCN@ylum> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/02/2022 16:48, Dominique Dumont wrote: > On Monday, 14 February 2022 22:52:27 CET Alex Deucher wrote: >> Does the system actually suspend? > > Not really. The screens looks like it's going to suspend, but it does come > back after 10s or so. The light mounted in the middle of the power button does > not switch off. As I have a very similar problem and also commented on the original debian bug report (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005005), I will add some information here on another amd only laptop (renoir AMD Ryzen 7 4800H with Radeon Graphics + Radeon RX 5500/5500M / Pro 5500M). For me the suspend works once, but after the first resume (I do know know if it is in the suspend path or the resume path I see a RIP in the dmesg (see aditional info in debian bug)) and later suspend do not work: It only go to the kde login screen. I was unable due to network connectivity to do a full bisect but tested with the patch I had on my laptop: 5.10.101 works, 5.10 from debian works 5.11 works 5.12 works 5.13 suspend works but when resuming the PC is dead I have to reboot 5.14 seems to work but looking at dmesg it is full of RIP messages at various places. 5.15.24 is a described 5.15 from debian is behaving identically 5.16 from debian is behaving identically. >> Is this system S0i3 or regular S3? For me it is real S3. The proposed patch is intended for INTEl + intel gpu + amdgpu but I have dual amd GPU. --eric 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 0A181C433EF for ; Mon, 21 Feb 2022 08:29:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 06E3710E69D; Mon, 21 Feb 2022 08:29:11 +0000 (UTC) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14]) by gabe.freedesktop.org (Postfix) with ESMTPS id BD5B610E15A; Sun, 20 Feb 2022 18:03:38 +0000 (UTC) Received: from [192.168.8.33] (unknown [90.19.9.37]) (Authenticated sender: eric.valette@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 7A5715FF33; Sun, 20 Feb 2022 19:03:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1645380216; bh=IukDJ5h4L2PHp9stLtKdlNNaLlvJkJUdojizUPTPeKM=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To:From; b=rhWZ1j23EvxNsTknNLs/om+90oVmS28biKPyhdT0QbJKoeCDCPP/IkJNUAT/7Iiws nwFNm3+uHfm6F5dEPB+CiraRY8nhNVeGMhiNc1H4WmVJXdtxvKd11zFwtqbQYhrjB+ tP8jetzDa2dp08glWC1IjM63nqUJ7yWbxHXMCNkjt0C2NA8aMAIHMZx2zjTU6gE+D4 iRs3ese+SaeryZ7VV0NPAMLHjFcKoFVb/AtQybhKlngF7GnyrRPoQrIrQPIbJT7c3Q 9Pq4H0XINOZM9iesgyddmAcGAzy155Jrx9IYRprJG212qCesOH0Se9anppF4NwLiU0 44zHDMMtzfZwQ== Message-ID: Date: Sun, 20 Feb 2022 19:03:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Content-Language: en-US To: dod@debian.org, Salvatore Bonaccorso References: <5164225.DI6hChFYCN@ylum> From: Eric Valette Organization: HOME In-Reply-To: <5164225.DI6hChFYCN@ylum> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 21 Feb 2022 08:29:10 +0000 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: , Reply-To: eric.valette@free.fr Cc: Sasha Levin , amd-gfx list , David Airlie , "Pan, Xinhui" , LKML , Maling list - DRI developers , Luben Tuikov , 1005005@bugs.debian.org, Alex Deucher , Evan Quan , =?UTF-8?Q?Christian_K=c3=b6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 20/02/2022 16:48, Dominique Dumont wrote: > On Monday, 14 February 2022 22:52:27 CET Alex Deucher wrote: >> Does the system actually suspend? > > Not really. The screens looks like it's going to suspend, but it does come > back after 10s or so. The light mounted in the middle of the power button does > not switch off. As I have a very similar problem and also commented on the original debian bug report (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005005), I will add some information here on another amd only laptop (renoir AMD Ryzen 7 4800H with Radeon Graphics + Radeon RX 5500/5500M / Pro 5500M). For me the suspend works once, but after the first resume (I do know know if it is in the suspend path or the resume path I see a RIP in the dmesg (see aditional info in debian bug)) and later suspend do not work: It only go to the kde login screen. I was unable due to network connectivity to do a full bisect but tested with the patch I had on my laptop: 5.10.101 works, 5.10 from debian works 5.11 works 5.12 works 5.13 suspend works but when resuming the PC is dead I have to reboot 5.14 seems to work but looking at dmesg it is full of RIP messages at various places. 5.15.24 is a described 5.15 from debian is behaving identically 5.16 from debian is behaving identically. >> Is this system S0i3 or regular S3? For me it is real S3. The proposed patch is intended for INTEl + intel gpu + amdgpu but I have dual amd GPU. --eric