linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
@ 2016-09-05  6:20 Sven Joachim
  2016-09-06  2:25 ` Jerome Glisse
  2016-09-15 12:32 ` Pavel Machek
  0 siblings, 2 replies; 6+ messages in thread
From: Sven Joachim @ 2016-09-05  6:20 UTC (permalink / raw)
  To: Jérôme Glisse
  Cc: Christian König, Alex Deucher, dri-devel, lkml

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
  2016-09-05  6:20 Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.") Sven Joachim
@ 2016-09-06  2:25 ` Jerome Glisse
  2016-09-15 14:31   ` Alex Deucher
  2016-09-15 12:32 ` Pavel Machek
  1 sibling, 1 reply; 6+ messages in thread
From: Jerome Glisse @ 2016-09-06  2:25 UTC (permalink / raw)
  To: Sven Joachim; +Cc: Christian König, Alex Deucher, dri-devel, lkml

> 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.

Cheers,
Jérôme

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
  2016-09-05  6:20 Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.") Sven Joachim
  2016-09-06  2:25 ` Jerome Glisse
@ 2016-09-15 12:32 ` Pavel Machek
  1 sibling, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2016-09-15 12:32 UTC (permalink / raw)
  To: Sven Joachim; +Cc: jglisse, christian.koenig, Alex Deucher, dri-devel, lkml

On Mon 2016-09-05 00:20:06, Sven Joachim 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.

If it is still unfixed, you may want to notify regressions maintainer,
and Linus.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
  2016-09-06  2:25 ` Jerome Glisse
@ 2016-09-15 14:31   ` Alex Deucher
  2016-09-15 15:04     ` Jerome Glisse
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Deucher @ 2016-09-15 14:31 UTC (permalink / raw)
  To: Jerome Glisse
  Cc: Sven Joachim, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On Mon, Sep 5, 2016 at 10:25 PM, Jerome Glisse <jglisse@redhat.com> 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?

Alex

>
> Cheers,
> Jérôme
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
  2016-09-15 14:31   ` Alex Deucher
@ 2016-09-15 15:04     ` Jerome Glisse
  2016-10-14 18:50       ` Sven Joachim
  0 siblings, 1 reply; 6+ messages in thread
From: Jerome Glisse @ 2016-09-15 15:04 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Sven Joachim, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

> On Mon, Sep 5, 2016 at 10:25 PM, Jerome Glisse <jglisse@redhat.com> 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

Cheers,
Jérôme

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")
  2016-09-15 15:04     ` Jerome Glisse
@ 2016-10-14 18:50       ` Sven Joachim
  0 siblings, 0 replies; 6+ messages in thread
From: Sven Joachim @ 2016-10-14 18:50 UTC (permalink / raw)
  To: Jerome Glisse
  Cc: Alex Deucher, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On 2016-09-15 11:04 -0400, Jerome Glisse wrote:

>> On Mon, Sep 5, 2016 at 10:25 PM, Jerome Glisse <jglisse@redhat.com> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-14 18:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05  6:20 Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.") Sven Joachim
2016-09-06  2:25 ` Jerome Glisse
2016-09-15 14:31   ` Alex Deucher
2016-09-15 15:04     ` Jerome Glisse
2016-10-14 18:50       ` Sven Joachim
2016-09-15 12:32 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).