[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 Przemek (sop...@gmail.com) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |CODE_FIX --- Comment #7 from Przemek (sop...@gmail.com) --- Sorry for the delay but I had to git clone whole agd5f branch repo once again since I was moving my installation to another drive. Moreover I had kernel panic with PSP platform module turned on (CONFIG_CRYPTO_DEV_SP_PSP), but it is not the case of this bug report. (BTW as from the specs this apu has one included). Brightness keys are working as expected, /sys/class/backlight/amdgpu_bl0/brightness is now editable by "echo", Display Core is initialized with v3.1.40, so I am closing this bug report as solved/code fix. Thank you very much for fast and accurate action on this. Done to a turn. Thanks once again, 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #6 from Harry Wentland (harry.wentl...@amd.com) --- Can you try the drm-next-4.17-wip branch from https://cgit.freedesktop.org/~agd5f/linux? This should be fixed there. -- 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #5 from Przemek (sop...@gmail.com) --- (In reply to Harry Wentland from comment #4) > Thanks for reporting this. It's currently not hooked up for ASICs older than > Carrizo. We'll take a look. > > You're right that it clashes with the kernel's 'no regressions' policy > should we change pre-VEGA ASIC support with DC to enabled by default. Hi Harry, I am glad to hear that the reason is already known, and we are not searching it blindly. There is still time till 4.17 merge window ends, so if you would like me to try out some patches, please do not hesitate. 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #4 from Harry Wentland (harry.wentl...@amd.com) --- Thanks for reporting this. It's currently not hooked up for ASICs older than Carrizo. We'll take a look. You're right that it clashes with the kernel's 'no regressions' policy should we change pre-VEGA ASIC support with DC to enabled by default. -- 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #3 from Przemek (sop...@gmail.com) --- And here values from requested files without "amdgpu.dc=1" "/sys/class/backlight/amdgpu_bl0 # ls -l razem 0 -r--r--r-- 1 root root 4096 02-22 17:50 actual_brightness -rw-r--r-- 1 root root 4096 02-22 17:50 bl_power -rw-r--r-- 1 root root 4096 02-22 17:39 brightness lrwxrwxrwx 1 root root0 02-22 17:50 device -> ../../card0-eDP-1 -r--r--r-- 1 root root 4096 02-22 17:39 max_brightness drwxr-xr-x 2 root root0 02-22 17:50 power lrwxrwxrwx 1 root root0 02-22 17:39 subsystem -> ../../../../../../../class/backlight -r--r--r-- 1 root root 4096 02-22 17:39 type -rw-r--r-- 1 root root 4096 02-22 17:38 uevent" "/sys/class/backlight/amdgpu_bl0 # cat brightness 23" "/sys/class/backlight/amdgpu_bl0 # cat actual_brightness 23" "/sys/class/backlight/amdgpu_bl0 # cat max_brightness 255" With smaller values from previous post (with "amdgpu.dc=1" on kernel commandline) screen is much brighter, as backlight was set almost 100%. -- 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 --- Comment #2 from Przemek (sop...@gmail.com) --- Hi Michel, Thank you very much for insane-fast response. Yes, "actual_brightness" is a bad example, same occurs on this file without "amdgpu.dc=1". Here are values from requested files: "/sys/class/backlight/amdgpu_bl0 # cat brightness 3" "/sys/class/backlight/amdgpu_bl0 # cat max_brightness 255" "/sys/class/backlight/amdgpu_bl0 # cat actual_brightness 3" I have tried different values also: "/sys/class/backlight/amdgpu_bl0 # echo 100 > brightness bash: echo: błąd zapisu: Bad argument /sys/class/backlight/amdgpu_bl0 # echo 50 > brightness bash: echo: błąd zapisu: Bad argument /sys/class/backlight/amdgpu_bl0 # echo 10 > brightness bash: echo: błąd zapisu: Bad argument" -- 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
[Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
https://bugzilla.kernel.org/show_bug.cgi?id=198885 Michel Dänzer (mic...@daenzer.net) changed: What|Removed |Added CC||harry.wentl...@amd.com --- Comment #1 from Michel Dänzer (mic...@daenzer.net) --- (In reply to Przemek from comment #0) > -r--r--r-- 1 root root 4096 02-22 13:41 actual_brightness [...] > "/sys/class/backlight/amdgpu_bl0 # echo 22 > actual_brightness > bash: actual_brightness: permission denied" As you can see above, this file is read-only. > "/sys/class/backlight/amdgpu_bl0 # echo 128 > brightness > bash: echo: błąd zapisu: Bad argument" What does cat max_brightness say? If it's a value smaller than 128, does writing a value <= that to the brightness file work? > Without "amdgpu.dc=1" in kernel command line changing brightness level is > working as expected, both Fn keys, and echoing directly to a file. What values do the brightness, max_brightness and actual_brightness files contain in that case? -- 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