svn commit: r270516 - head/sys/dev/drm2/i915

John Baldwin jhb at
Mon Aug 25 16:40:51 UTC 2014

On Monday, August 25, 2014 05:03:10 AM Adrian Chadd wrote:
> Author: adrian
> Date: Mon Aug 25 05:03:10 2014
> New Revision: 270516
> URL:
> Log:
>   i915 driver - enable opregion handle; program CADL.
>   add opregion handling for drm2 - which exposes some ACPI video
> configuration pieces that some Lenovo laptop models use to flesh out which
> video device to speak to.  This enables the brightness control in ACPI to
> work these models.
>   The CADL bits are also important - it's used to figure out which ACPI
>   events to hook the brightness buttons into.  It doesn't yet seem to work
>   for me, but it does for the OP.

FWIW, on my Lenovo X220, this completely fixes the brightness buttons both in 
and out of X once i915kms is loaded.

John Baldwin

More information about the svn-src-all mailing list