On Fri, Dec 13, 2019 at 4:39 AM Patrick Wildt <[email protected]> wrote:

> CVSROOT:        /cvs
> Module name:    src
> Changes by:     [email protected] 2019/12/13 05:39:08
>
> Modified files:
>         sys/dev/acpi   : acpivout.c
>
> Log message:
> Make acpivout(4) call ws_[gs]et_param instead of directly
> calling the ACPI methods.  On some machines, like my X395,
> those ACPI methods don't allow changing the brightness, so
> this allows acpivout(4) to e.g. use amdgpu(4)'s code.
>
> ok kettenis@
>

This is fatal on my X1: pushing a brightness control button panics
instantly with "rw_enter: acpil locking against myself" with a traceback
panic <- rw_enter <- acpivout_get_param <- acpi_notify <- acpi_notify_task
<- acpi_thread

Philip Guenther

Reply via email to