All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 198885] New: amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo".
Date: Thu, 22 Feb 2018 13:13:21 +0000	[thread overview]
Message-ID: <bug-198885-2300@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 198885
           Summary: amdgpu.dc=1 on CIK (R4 Mullins APU) brightness
                    impossible to change. by Fn or "echo".
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.15.4
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: soprwa@gmail.com
        Regression: No

Created attachment 274359
  --> https://bugzilla.kernel.org/attachment.cgi?id=274359&action=edit
dmesg with "amdgpu.dc=1"

I am using gentoo ~amd64, kernel 4.15.4, amdgpu with amdgpu.dc=1 on CIK A6 APU
- R4 Mullins.

There is no possibility to change brightness level both with Fn keys or
directly by an "echo" command, even as root when "amdgpu.dc=1" is set:

ls -l /sys/class/backlight/amdgpu_bl0/
razem 0
-r--r--r-- 1 root root 4096 02-22 13:41 actual_brightness
-rw-r--r-- 1 root root 4096 02-22 13:41 bl_power
-rw-r--r-- 1 root root 4096 02-22 13:41 brightness
lrwxrwxrwx 1 root root    0 02-22 13:41 device -> ../../../0000:00:01.0
-r--r--r-- 1 root root 4096 02-22 13:40 max_brightness
drwxr-xr-x 2 root root    0 02-22 13:41 power
lrwxrwxrwx 1 root root    0 02-22 13:40 subsystem ->
../../../../../class/backlight
-r--r--r-- 1 root root 4096 02-22 13:40 type
-rw-r--r-- 1 root root 4096 02-22 13:39 uevent


"/sys/class/backlight/amdgpu_bl0 # echo 22 > actual_brightness
bash: actual_brightness: permission denied"

and 

"/sys/class/backlight/amdgpu_bl0 # echo 128 > brightness
bash: echo: błąd zapisu: Bad argument"

Without "amdgpu.dc=1" in kernel command line changing brightness level is
working as expected, both Fn keys, and echoing directly to a file.

I know that there are plans enabling amdgpu.dc by default, so impossibility to
change brightness level IMHO is a big "no go".

-- 
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

             reply	other threads:[~2018-02-22 13:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 13:13 bugzilla-daemon [this message]
2018-02-22 15:26 ` [Bug 198885] amdgpu.dc=1 on CIK (R4 Mullins APU) brightness impossible to change. by Fn or "echo" bugzilla-daemon
2018-02-22 16:36 ` bugzilla-daemon
2018-02-22 17:01 ` bugzilla-daemon
2018-02-23 14:24 ` bugzilla-daemon
2018-02-23 16:12 ` bugzilla-daemon
2018-03-27 15:44 ` bugzilla-daemon
2018-03-28  0:20 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-198885-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.