From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933001AbcJNSvT (ORCPT ); Fri, 14 Oct 2016 14:51:19 -0400 Received: from mout.gmx.net ([212.227.17.21]:50442 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbcJNSvH (ORCPT ); Fri, 14 Oct 2016 14:51:07 -0400 From: Sven Joachim To: Jerome Glisse Cc: Alex Deucher , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , Maling list - DRI developers , lkml Subject: Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.") References: <87a8fmq355.fsf@turtle.gmx.de> <688782233.2035106.1473128731891.JavaMail.zimbra@redhat.com> <1369221908.859909.1473951865913.JavaMail.zimbra@redhat.com> Date: Fri, 14 Oct 2016 20:50:42 +0200 In-Reply-To: <1369221908.859909.1473951865913.JavaMail.zimbra@redhat.com> (Jerome Glisse's message of "Thu, 15 Sep 2016 11:04:25 -0400 (EDT)") Message-ID: <871sziix31.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:ihSRobxnoI19B9JRZvM98v4paB4Rhw67RiZoYdvVhzzuyAkYUtO 0zpXzkGk8AWgvkdP/1XEWOmU7TF74TQ21D7v66F7VzM0G1woK47/oPoASuzf+9Pv0t2wdJi lzGtDFGZsFN67XAO0GkfT+7+zhesOT3M86c8eXmZ5QROMCk6UZ/lto1phhfFp4cXwT65Vwr hSBS3YuBdN7BofsGMcWwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:5HAFOBeT35k=:Wud9j8Px5vLKhIu6ZdN/w/ qBUHYa2wfK3Y/lHVsyGRFm7UgYxVpRntUl/MqgjY0KG6grqk/unsQabny+8Xmxj9gSI0ayot1 FkTiezkQJyPIy5RBlDMi5y/G2lD/joCxbBK+qeAG7ASXupCRQb7NQN67lCcjuopzzDugUFCPl TMmQ1yWyBF3h1MfrOwVGNjCCaKHssPsWQj0sVUXT0hovo1e6KttneCcSED6hPdEc26WoPS/H7 +NpAH7mqNlHB7pqWxmwyp8mOkHv6Nlm+qLEbK6Z4B1tcXW6sNYM6dqEJldsix6naxhJ52Ssgj EQ7WVjAA7BkqUunLnXJ7celBIeYVAmFi/5o7YB0KzlffLCcth0fij0IiGPzjKQr+qHXXXe2Hd mJsK00ki6+bvPHcxtQAApMZcR7kC1qpbIQvAiORjLaeMsfzSaXYo7++ltKuSRPL7Kcduq3wkV JsSr1itYHBrboVKOzhTqdmhnchkvFVNjzd/Pyma21GJmrapOib14kYXptDeYfaFsJ7XBx+Dao LHHLg+mIDLwfzx+tZF+lmWoSbAGwsd7EgfOMg9t4JinQmPmqHaA/7ScaofcOG6D9GYROzJLLd C4cNTHylh5okyiukm8NkNo7TIzCxX9Ij3fvnw9x8vwabXDJ7lmDQH/Q53EpijQHbgeum4xXEJ 0wN0RWSanGcpkZ5TQJ/hhdosJLkki1GY7EE2icG3xLdvsJ+NgkfscHO+b2N/HLTdpwqPMTb9i /5MoQ+TY/tY6qCDy+XRYNm4wFI29f0wftPKkTHKVHGiG9ONWBiku5QviCpktVeEyo8sUX5yU/ kJ/DMyh Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-09-15 11:04 -0400, Jerome Glisse wrote: >> On Mon, Sep 5, 2016 at 10:25 PM, Jerome Glisse wrote: >> >> Recently I got myself a new laptop with the following integrated GPU: >> >> >> >> 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] >> >> Mullins [Radeon R3 Graphics] (rev 40) >> >> >> >> I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) >> >> and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and >> >> newer GPU when hibernating."). >> >> >> >> This has already been reported three months ago, but for a much older >> >> GPU, see the thread starting at >> >> https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html. >> >> The symptoms are exactly the same as described by Boris Petkov in that >> >> thread: after "systemctl hibernate" the screen goes blank, but the >> >> machine remains powered on and needs to be power-cycled. >> >> >> >> Any suggestions would be welcome. >> >> >> >> Cheers, >> >> Sven >> > >> > I guess we can invert the logic and only do it for the GPU for which it fix >> > hibernation. >> >> Do you remember which asics this fixed? >> > > No that's the issue, i don't have hw anymore but according to bug it is AMD FirePro > M5170 and M6170 which would make them amdgpu afaict but i remember the hw was using > radeon so i am not sure how to figure out what GPU it was really. > > Bug https://bugzilla.redhat.com/show_bug.cgi?id=1269009 That bug is not public, unfortunately. :-( Are there any news on this? As of Linux 4.8.1, I keep reverting commit 274ad65c9d02, and I'd like not having to do that indefinitely. Cheers, Sven