]> git.baikalelectronics.ru Git - kernel.git/commit
i915: initialize CADL in opregion
authorLekensteyn <lekensteyn@gmail.com>
Mon, 25 Jun 2012 22:36:24 +0000 (00:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:23:05 +0000 (14:23 +0200)
commitf0b8ae6403461d3693c1cb17e95f22c327356048
tree876ee022b82bbd17f310bcabbd6e6afec6c14b97
parent201713d88c825dc9485b33cd822252d9d54d1a08
i915: initialize CADL in opregion

This is rather a hack to fix brightness hotkeys on a Clevo laptop. CADL is not
used anywhere in the driver code at the moment, but it could be used in BIOS as
is the case with the Clevo laptop.

The Clevo B7130 requires the CADL field to contain at least the ID of
the LCD device. If this field is empty, the ACPI methods that are called
on pressing brightness / display switching hotkeys will not trigger a
notification. As a result, it appears as no hotkey has been pressed.

Reference: https://bugs.freedesktop.org/show_bug.cgi?id=45452
Tested-by: Peter Wu <lekensteyn@gmail.com>
Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c