* [Bug 191571] New: AMD APU R4 hangs during hibernation - regression
@ 2016-12-30 23:32 bugzilla-daemon
2016-12-30 23:33 ` [Bug 191571] " bugzilla-daemon
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-30 23:32 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Bug ID: 191571
Summary: AMD APU R4 hangs during hibernation - regression
Product: Drivers
Version: 2.5
Kernel Version: from 4.7 up to current
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: tem_pos@o2.pl
Regression: No
Created attachment 249371
--> https://bugzilla.kernel.org/attachment.cgi?id=249371&action=edit
AMD Radeon hangs during hibernation - regression.
I'am using Arch Linux.
After upgrade the kernel from 4.6 to 4.7 I cannot hibernate my Lenovo g50-45
netbook - AMD a6 6310 with radeon r4 Beema.
When system is triggered for hibernation screem gets dimmed and netbook hangs.
I have to power it off by pressing for longer period of time the power button.
Fans are getting on full rpms and machine is getting hot.
Bisected changes and the first bad commit is - drm/radeon: hard reset r600 and
newer GPU when hibernating. (commit 274ad65c9d02bdcbee9bae045517864c3521d530)
Bios - file attached.
CPU info - file attached.
Log from boot/hibernate - file attached.
Bisecting log - file attached.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
@ 2016-12-30 23:33 ` bugzilla-daemon
2016-12-30 23:34 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-30 23:33 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #1 from Przemek <tem_pos@o2.pl> ---
Created attachment 249381
--> https://bugzilla.kernel.org/attachment.cgi?id=249381&action=edit
lscpu
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
2016-12-30 23:33 ` [Bug 191571] " bugzilla-daemon
@ 2016-12-30 23:34 ` bugzilla-daemon
2016-12-30 23:36 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-30 23:34 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #2 from Przemek <tem_pos@o2.pl> ---
Created attachment 249391
--> https://bugzilla.kernel.org/attachment.cgi?id=249391&action=edit
dmesg
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
2016-12-30 23:33 ` [Bug 191571] " bugzilla-daemon
2016-12-30 23:34 ` bugzilla-daemon
@ 2016-12-30 23:36 ` bugzilla-daemon
2016-12-30 23:37 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-30 23:36 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Przemek <tem_pos@o2.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #249371|AMD Radeon hangs during |dmidecode
description|hibernation - regression. |
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (2 preceding siblings ...)
2016-12-30 23:36 ` bugzilla-daemon
@ 2016-12-30 23:37 ` bugzilla-daemon
2016-12-31 9:08 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-30 23:37 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #3 from Przemek <tem_pos@o2.pl> ---
Created attachment 249401
--> https://bugzilla.kernel.org/attachment.cgi?id=249401&action=edit
bisect log
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (3 preceding siblings ...)
2016-12-30 23:37 ` bugzilla-daemon
@ 2016-12-31 9:08 ` bugzilla-daemon
2016-12-31 9:57 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-31 9:08 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Przemek <tem_pos@o2.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (4 preceding siblings ...)
2016-12-31 9:08 ` bugzilla-daemon
@ 2016-12-31 9:57 ` bugzilla-daemon
2017-01-06 18:48 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2016-12-31 9:57 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Felix Schwarz <felix.schwarz@oss.schwarz.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |felix.schwarz@oss.schwarz.e
| |u
--- Comment #4 from Felix Schwarz <felix.schwarz@oss.schwarz.eu> ---
according to the reporter's bisect log (comment #3) the first bad commit is:
commit 274ad65c9d02bdcbee9bae045517864c3521d530
Author: Jérome Glisse <jglisse@redhat.com>
Date: Fri Mar 18 16:58:39 2016 +0100
drm/radeon: hard reset r600 and newer GPU when hibernating.
Some GPU block like UVD and VCE require hard reset to be properly
resume if there is no real powerdown of the asic like during various
hibernation step. This patch perform such hard reset.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (5 preceding siblings ...)
2016-12-31 9:57 ` bugzilla-daemon
@ 2017-01-06 18:48 ` bugzilla-daemon
2017-09-15 7:05 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-01-06 18:48 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #5 from Przemek <tem_pos@o2.pl> ---
I can confirm that this commit is makeing problems on A6 6310 APU.
I have compiled kernel 4.9 with reversed patch
[274ad65c9d02bdcbee9bae045517864c3521d530] and I can hibernate without
problems.
Moreover I have checked UVD hardware acceleration of h264 codec in mplayer's
vdpau option and it is working correctly. I have an accelerated playback with
ffmpeg12vdpau codec after resume from hibernate.
So maby forcing A6 GPU - r4 Mullins/Beema to hard reset when wakeing up from
hibernate state isn't necessarily mandatory.
I am also wondering, (cause of the experimentary support of CIK GPU's in amdgpu
driver as in the future GPU's from Sea Island and Southern Island families
support would be implemented in amdgpu) if there is similar patch commited to
amdgpu and if so I am aware that it could also affect the hibernate process on
A6 6310 APU.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (6 preceding siblings ...)
2017-01-06 18:48 ` bugzilla-daemon
@ 2017-09-15 7:05 ` bugzilla-daemon
2017-09-15 15:57 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-09-15 7:05 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #6 from Przemek (soprwa@gmail.com) ---
Created attachment 258401
--> https://bugzilla.kernel.org/attachment.cgi?id=258401&action=edit
proposed patch
As the problem still persist in kernel 4.13 I have made a little patch for it.
With this patch applied to source tree my laptop can hibernate and resume
successfully.
As I am not a programmer please consider if this problem can be resolved in
such way.
Thanks,
Przemek.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (7 preceding siblings ...)
2017-09-15 7:05 ` bugzilla-daemon
@ 2017-09-15 15:57 ` bugzilla-daemon
2017-09-15 17:20 ` bugzilla-daemon
2017-10-05 13:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-09-15 15:57 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #7 from Alex Deucher (alexdeucher@gmail.com) ---
Created attachment 258405
--> https://bugzilla.kernel.org/attachment.cgi?id=258405&action=edit
possible fix
How about just disabling the reset on all APUs.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (8 preceding siblings ...)
2017-09-15 15:57 ` bugzilla-daemon
@ 2017-09-15 17:20 ` bugzilla-daemon
2017-10-05 13:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-09-15 17:20 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
--- Comment #8 from Przemek (soprwa@gmail.com) ---
I cant say about all APUs, but I have tested the patch, and on MULLINS chip
this solution is working perfect.
Thanks,
Przemek.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug 191571] AMD APU R4 hangs during hibernation - regression
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
` (9 preceding siblings ...)
2017-09-15 17:20 ` bugzilla-daemon
@ 2017-10-05 13:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-10-05 13:27 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=191571
Przemek (soprwa@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #9 from Przemek (soprwa@gmail.com) ---
Fixed upstream by commit 820608548737e315c6f93e3099b4e65bde062334.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-10-05 13:27 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 23:32 [Bug 191571] New: AMD APU R4 hangs during hibernation - regression bugzilla-daemon
2016-12-30 23:33 ` [Bug 191571] " bugzilla-daemon
2016-12-30 23:34 ` bugzilla-daemon
2016-12-30 23:36 ` bugzilla-daemon
2016-12-30 23:37 ` bugzilla-daemon
2016-12-31 9:08 ` bugzilla-daemon
2016-12-31 9:57 ` bugzilla-daemon
2017-01-06 18:48 ` bugzilla-daemon
2017-09-15 7:05 ` bugzilla-daemon
2017-09-15 15:57 ` bugzilla-daemon
2017-09-15 17:20 ` bugzilla-daemon
2017-10-05 13:27 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.