All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume
@ 2018-03-07 13:23 bugzilla-daemon
  2018-03-07 17:29 ` [Bug 199047] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-07 13:23 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

            Bug ID: 199047
           Summary: [amdgpu CARRIZO] disabled backlight after S3 resume
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.16-rc1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: johannes.hirte@datenkhaos.de
        Regression: No

After S3 resume, the backlight stays disabled. Re-enabling is possible with
brightness-hotkeys. The regression was introduced with:

commit 4ec6ecf48c64d1da82a008f6fb0be86c4044287d (refs/bisect/bad)
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Tue Dec 12 15:20:22 2017 -0500

    drm/amdgpu: drop scratch regs save and restore from S3/S4 handling

    The expectation is that the base driver doesn't mess with these.
    Some components interact with these directly so let the components
    handle these directly.

    Reviewed-by: Harry Wentland <harry.wentland@amd.com>
    Acked-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

lspci:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Carrizo (rev c5)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP
Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI
Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller
[AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI
Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1570
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1571
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1572
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1573
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1574
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1575
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI
Express Card Reader (rev 01)

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
@ 2018-03-07 17:29 ` bugzilla-daemon
  2018-03-07 22:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-07 17:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) ---
Are you using DC?  Please attach your dmesg output.

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
  2018-03-07 17:29 ` [Bug 199047] " bugzilla-daemon
@ 2018-03-07 22:58 ` bugzilla-daemon
  2018-03-07 23:00 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-07 22:58 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #2 from Johannes Hirte (johannes.hirte@datenkhaos.de) ---
(In reply to Alex Deucher from comment #1)
> Are you using DC?  Please attach your dmesg output.

Not using DC. dmesg after a S3 suspend/resume cycle 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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
  2018-03-07 17:29 ` [Bug 199047] " bugzilla-daemon
  2018-03-07 22:58 ` bugzilla-daemon
@ 2018-03-07 23:00 ` bugzilla-daemon
  2018-03-07 23:07 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-07 23:00 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #3 from Johannes Hirte (johannes.hirte@datenkhaos.de) ---
Created attachment 274617
  --> https://bugzilla.kernel.org/attachment.cgi?id=274617&action=edit
dmesg.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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-03-07 23:00 ` bugzilla-daemon
@ 2018-03-07 23:07 ` bugzilla-daemon
  2018-03-08  7:54 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-07 23:07 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #4 from Alex Deucher (alexdeucher@gmail.com) ---
Does it work with DC enabled?

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-03-07 23:07 ` bugzilla-daemon
@ 2018-03-08  7:54 ` bugzilla-daemon
  2018-03-08 14:59 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-08  7:54 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #5 from Johannes Hirte (johannes.hirte@datenkhaos.de) ---
(In reply to Alex Deucher from comment #4)
> Does it work with DC enabled?

With DC it works as expected. Unfortunately this is not a workaround for me,
cause there is still the use-after-free.

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-03-08  7:54 ` bugzilla-daemon
@ 2018-03-08 14:59 ` bugzilla-daemon
  2018-03-08 19:55 ` bugzilla-daemon
  2018-04-17  7:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-08 14:59 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #6 from Alex Deucher (alexdeucher@gmail.com) ---
Created attachment 274621
  --> https://bugzilla.kernel.org/attachment.cgi?id=274621&action=edit
possible fix

Does this fix it?

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-03-08 14:59 ` bugzilla-daemon
@ 2018-03-08 19:55 ` bugzilla-daemon
  2018-04-17  7:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-03-08 19:55 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

--- Comment #7 from Johannes Hirte (johannes.hirte@datenkhaos.de) ---
(In reply to Alex Deucher from comment #6)
> Created attachment 274621 [details]
> possible fix
> 
> Does this fix it?

Yes, fixed with this patch.

-- 
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] 9+ messages in thread

* [Bug 199047] [amdgpu CARRIZO] disabled backlight after S3 resume
  2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-03-08 19:55 ` bugzilla-daemon
@ 2018-04-17  7:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-04-17  7:55 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199047

Johannes Hirte (johannes.hirte@datenkhaos.de) changed:

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

--- Comment #8 from Johannes Hirte (johannes.hirte@datenkhaos.de) ---
fixed

-- 
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] 9+ messages in thread

end of thread, other threads:[~2018-04-17  7:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-07 13:23 [Bug 199047] New: [amdgpu CARRIZO] disabled backlight after S3 resume bugzilla-daemon
2018-03-07 17:29 ` [Bug 199047] " bugzilla-daemon
2018-03-07 22:58 ` bugzilla-daemon
2018-03-07 23:00 ` bugzilla-daemon
2018-03-07 23:07 ` bugzilla-daemon
2018-03-08  7:54 ` bugzilla-daemon
2018-03-08 14:59 ` bugzilla-daemon
2018-03-08 19:55 ` bugzilla-daemon
2018-04-17  7:55 ` 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.