* [Bug 109375] Regression: dark notebook display (no backlight) after resume
@ 2019-01-16 10:14 bugzilla-daemon
2019-01-16 10:17 ` bugzilla-daemon
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-16 10:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1856 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
Bug ID: 109375
Summary: Regression: dark notebook display (no backlight) after
resume
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: zajec5@gmail.com
I use HP EliteBook 745 G5 with Ryzen 5 PRO 2500U.
Starting with the:
commit 262485a50fd4532a8d71165190adc7a0a19bcc9e (refs/bisect/bad)
Author: Anthony Koo <Anthony.Koo@amd.com>
Date: Fri Oct 12 21:34:32 2018 -0400
drm/amd/display: Expand dc to use 16.16 bit backlight
[Why] We want to increase precision for backlight setting.
But DC interface takes 8 bit backlight level value only.
[How] DMCU already takes 16 bit backlight level.
Expand the DC interface to take 16.16 bit value.
Max 32 bit backlight value (0xFFFF) will represent
max backlight (100%)
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
After resume from RAM my notebook display is all black.
Before suspend:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
65535
255
After resume:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
0
255
This can be workarounded by:
echo 255 > /sys/class/backlight/amdgpu_bl0/brightness
assuming one can execute that without a working display.
This problem still exists in the 5.0.0-rc2.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3488 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
@ 2019-01-16 10:17 ` bugzilla-daemon
2019-01-16 15:13 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-16 10:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
--- Comment #1 from Rafał Miłecki <zajec5@gmail.com> ---
For a comparison: behavior with the commit 262485a50fd4~1 (before the
regression):
Before suspend:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
255
255
After resume:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
250
255
Looks like a problem with amdgpu restoring backlight after resume.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1413 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
2019-01-16 10:17 ` bugzilla-daemon
@ 2019-01-16 15:13 ` bugzilla-daemon
2019-01-16 15:44 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-16 15:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 441 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
--- Comment #2 from Leo Li <sunpeng.li@amd.com> ---
Created attachment 143141
--> https://bugs.freedesktop.org/attachment.cgi?id=143141&action=edit
drm/amd/display: Detach backlight from stream
Hi Rafał,
Please give the attached patch a shot. It's in our staging branch, but not in
5.0-rc2 yet.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1509 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
2019-01-16 10:17 ` bugzilla-daemon
2019-01-16 15:13 ` bugzilla-daemon
@ 2019-01-16 15:44 ` bugzilla-daemon
2019-01-18 20:47 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-16 15:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
--- Comment #3 from Rafał Miłecki <zajec5@gmail.com> ---
It didn't apply cleanly on top of 5.0.0-rc2 (a trivial conflict in the
dc_link.c.rej). After fixing that, compiling & testing I can confirm is solves
the problem for me! Thanks!
Before suspend:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
65535
255
After resume:
> cat /sys/class/backlight/amdgpu_bl0/{actual_brightness,brightness}
64000
255
As it fixes a regression, can you submit it as a fix for the 5.0 release cycle,
please?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1539 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
` (2 preceding siblings ...)
2019-01-16 15:44 ` bugzilla-daemon
@ 2019-01-18 20:47 ` bugzilla-daemon
2019-01-21 14:52 ` bugzilla-daemon
2019-02-04 5:54 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-18 20:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
Should be fixed with:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=35dad45d5cad3c9ca8d6a338cbf668cd7ea86469
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1280 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
` (3 preceding siblings ...)
2019-01-18 20:47 ` bugzilla-daemon
@ 2019-01-21 14:52 ` bugzilla-daemon
2019-02-04 5:54 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-01-21 14:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 580 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian.frank.uwb@googlem
| |ail.com
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
*** Bug 109388 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2107 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] 7+ messages in thread
* [Bug 109375] Regression: dark notebook display (no backlight) after resume
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
` (4 preceding siblings ...)
2019-01-21 14:52 ` bugzilla-daemon
@ 2019-02-04 5:54 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-02-04 5:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 526 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=109375
Rafał Miłecki <zajec5@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Rafał Miłecki <zajec5@gmail.com> ---
Fixed with the 5.0.0-rc3. Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2062 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] 7+ messages in thread
end of thread, other threads:[~2019-02-04 5:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16 10:14 [Bug 109375] Regression: dark notebook display (no backlight) after resume bugzilla-daemon
2019-01-16 10:17 ` bugzilla-daemon
2019-01-16 15:13 ` bugzilla-daemon
2019-01-16 15:44 ` bugzilla-daemon
2019-01-18 20:47 ` bugzilla-daemon
2019-01-21 14:52 ` bugzilla-daemon
2019-02-04 5:54 ` 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.