All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
@ 2017-04-22 17:16 bugzilla-daemon
  2017-12-30 18:35 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-04-22 17:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1400 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

            Bug ID: 100759
           Summary: [r600] System freeze on resume from sleep on battery
                    with DPM enabled and linux 4.10
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Radeon
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: nicolamori@aol.com

Created attachment 130983
  --> https://bugs.freedesktop.org/attachment.cgi?id=130983&action=edit
journalctl log for failed resume

Since linux 4.10.1 my system freezes every time when resuming from sleep
(suspend to ram) while on battery. The screen either remains black or displays
garbage, and the only thing to do is a hard poweroff. The problem does not show
up when either:

- running on AC or
- using linux 4.9 (tested with 4.9.11) or
- DPM is not enabled (radeon.dpm=0)

I checked journalctl but it does not contain anything useful. I attach the last
part of the log, starting from the suspend request; it seems nothing from the
failed resume process is logged.

System details:

- Archlinux x86_64
- Mobility Radeon HD 3470
- Plasma desktop 5.9.4

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2867 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
@ 2017-12-30 18:35 ` bugzilla-daemon
  2018-02-15 13:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-12-30 18:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1263 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #1 from Nicola Mori <nicolamori@aol.com> ---
I found the time to bisect and found that the culprit is:

commit 1c331f75aa6ccbf64ebcc5a019183e617c9d818a
Author: Lucas Stach <dev@lynxeye.de>
Date:   Sun Oct 23 01:05:33 2016 +0200

    drm/radeon/pm: autoswitch power state when in balanced mode

    The current default of always using the performance power state leads
    to increased power consumption of mobile devices, which have a dedicated
    battery power state. Switch between the performance and battery power
    state automatically, dpending on the current AC power status, when the
    user asked for the balanced power state.

    The user can still override this logic by asking for the performance
    or battery power state explicitly.

    Tested-by: Michel Dänzer <michel.daenzer@amd.com>
    Acked-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Lucas Stach <dev@lynxeye.de>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

I don't have the skills to understand what's broken, but I can test an eventual
patch if someone provides it. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
  2017-12-30 18:35 ` bugzilla-daemon
@ 2018-02-15 13:21 ` bugzilla-daemon
  2018-02-15 13:44 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-15 13:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 252 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #2 from Nicola Mori <nicolamori@aol.com> ---
Is there any chance that this bug report will be addressed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1103 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
  2017-12-30 18:35 ` bugzilla-daemon
  2018-02-15 13:21 ` bugzilla-daemon
@ 2018-02-15 13:44 ` bugzilla-daemon
  2018-03-12 10:20 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-02-15 13:44 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 265 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Sorry, slipped off my radar.  I just sent the revert out for review.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-02-15 13:44 ` bugzilla-daemon
@ 2018-03-12 10:20 ` bugzilla-daemon
  2018-03-12 14:27 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-03-12 10:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 305 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #4 from Nicola Mori <nicolamori@aol.com> ---
Hi Alex, any news about the revert patch? Is there any estimate about if and
when it will be mainlined? Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1156 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-03-12 10:20 ` bugzilla-daemon
@ 2018-03-12 14:27 ` bugzilla-daemon
  2018-03-12 14:28 ` bugzilla-daemon
  2018-03-12 16:02 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-03-12 14:27 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 368 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
In 4.16 and will be flowing back to stable as well:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=53bf277b487eb5ae6695db01bede0fe406792119

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1356 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-03-12 14:27 ` bugzilla-daemon
@ 2018-03-12 14:28 ` bugzilla-daemon
  2018-03-12 16:02 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-03-12 14:28 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1295 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10
  2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-03-12 14:28 ` bugzilla-daemon
@ 2018-03-12 16:02 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2018-03-12 16:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=100759

--- Comment #6 from Nicola Mori <nicolamori@aol.com> ---
Wow, thanks! I finally can update from kernel 4.9.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1146 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-03-12 16:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-22 17:16 [Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10 bugzilla-daemon
2017-12-30 18:35 ` bugzilla-daemon
2018-02-15 13:21 ` bugzilla-daemon
2018-02-15 13:44 ` bugzilla-daemon
2018-03-12 10:20 ` bugzilla-daemon
2018-03-12 14:27 ` bugzilla-daemon
2018-03-12 14:28 ` bugzilla-daemon
2018-03-12 16:02 ` 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.