]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: implement handler for ACPI event
authorLuca Tettamanti <kronos.it@gmail.com>
Mon, 30 Jul 2012 19:20:35 +0000 (21:20 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:36 +0000 (13:10 -0400)
commita412d1e01298cae67931011c5d7727b0f3972cba
tree931f98eee8fb7f2ebb90e2bd689c7ff34b0b2a4a
parent87a23681a316b45053db4714c0c715c2d305c4d7
drm/radeon: implement handler for ACPI event

Set up an handler for ACPI events and respond to brightness change
requests from the system BIOS.
v2: fix notification when using device-specific command codes
(tested by Pali Rohár <pali.rohar@gmail.com>); cache the encoder
controlling the backlight during the initialization to avoid searching
it every time (suggested by Alex Deucher).
v3: whitespace fixes (Alex Deucher).

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_acpi.c
drivers/gpu/drm/radeon/radeon_acpi.h
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/radeon_mode.h
drivers/gpu/drm/radeon/radeon_pm.c