* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
@ 2018-05-08 19:45 ` bugzilla-daemon
2018-05-08 21:06 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-08 19:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 391 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Harry, I thought we fixed something like this recently. Maybe this patch?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c3d7bad88e3b35b981eecc1645ddbb3f13a8b54f
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1421 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
2018-05-08 19:45 ` bugzilla-daemon
@ 2018-05-08 21:06 ` bugzilla-daemon
2018-06-05 15:38 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-05-08 21:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #2 from Harry Wentland <harry.wentland@amd.com> ---
That patch only affects Carrizo and should only be needed for S3.
We don't see this issue with Ubuntu 18.04 on a Raven laptop we have available.
The OS (Gnome) shows brightness as expected on boot.
I wonder if some laptops behave differently but I can't think why.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1371 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
2018-05-08 19:45 ` bugzilla-daemon
2018-05-08 21:06 ` bugzilla-daemon
@ 2018-06-05 15:38 ` bugzilla-daemon
2018-07-23 18:32 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-06-05 15:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 296 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #3 from Daniel Drake <dan@reactivated.net> ---
Do you have any specific debugging suggestions?
Can we ship an affected laptop to you for diagnosis?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1191 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (2 preceding siblings ...)
2018-06-05 15:38 ` bugzilla-daemon
@ 2018-07-23 18:32 ` bugzilla-daemon
2018-07-24 20:06 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-23 18:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 395 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #4 from David Francis <david.francis@amd.com> ---
Created attachment 140795
--> https://bugs.freedesktop.org/attachment.cgi?id=140795&action=edit
Patch that should fix the problem
Could you try out this patch and check if it works? Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1537 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (3 preceding siblings ...)
2018-07-23 18:32 ` bugzilla-daemon
@ 2018-07-24 20:06 ` bugzilla-daemon
2018-07-25 10:05 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-24 20:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 346 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #5 from Daniel Drake <dan@reactivated.net> ---
Created attachment 140809
--> https://bugs.freedesktop.org/attachment.cgi?id=140809&action=edit
additional patch
this patch may also be required
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1451 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (4 preceding siblings ...)
2018-07-24 20:06 ` bugzilla-daemon
@ 2018-07-25 10:05 ` bugzilla-daemon
2018-07-25 10:07 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-25 10:05 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 755 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #6 from jian-hong@endlessm.com ---
Apply "[PATCH] drm/amdgpu: Read back max backlight value at boot" to Linux
4.18.0-rc6 kernel.
I disable all of the brightness setting applications, including masking
systemd-backlight service and than reboot.
"cat /sys/class/backlight/amdgpu_bl0/brightness" before set brightness manually
again and it reads back 255 (the maximum brightness).
If I unmask systemd-backlight service and than reboot for test, "cat
/sys/class/backlight/amdgpu_bl0/brightness" before set brightness manually
again and it reads back the brightness which is saved before last reboot.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1666 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (5 preceding siblings ...)
2018-07-25 10:05 ` bugzilla-daemon
@ 2018-07-25 10:07 ` bugzilla-daemon
2018-07-25 19:26 ` bugzilla-daemon
2018-07-26 7:41 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-25 10:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 403 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #7 from jian-hong@endlessm.com ---
Applied both "[PATCH] drm/amdgpu: Read back max backlight value at boot" and
"[PATCH] drm/amd/display: Implement backlight_ops.get_brightness" to Linux
4.18.0-rc6 kernel.
I got the same behavior as previous comment.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1304 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (6 preceding siblings ...)
2018-07-25 10:07 ` bugzilla-daemon
@ 2018-07-25 19:26 ` bugzilla-daemon
2018-07-26 7:41 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-25 19:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 356 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
--- Comment #8 from David Francis <david.francis@amd.com> ---
When systemd-backlight is disabled, on reboot is the actual brightness coming
from the monitor maximum?
If it is, I believe this is working as intended.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1254 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] 10+ messages in thread* [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set
2018-04-25 3:43 [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
` (7 preceding siblings ...)
2018-07-25 19:26 ` bugzilla-daemon
@ 2018-07-26 7:41 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-07-26 7:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 501 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=106228
jian-hong@endlessm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #9 from jian-hong@endlessm.com ---
Hi David,
Yes! It is. Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2141 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] 10+ messages in thread