summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorLuca Tettamanti <kronos.it@gmail.com>2012-08-02 15:30:27 +0200
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 13:10:36 -0400
commit8a37c65df9dcbd1c891df2b4a94157999b654841 (patch)
tree9e264f3648cfb9e7d9ee6ee4cfcd882a3755e519 /drivers/gpu
parentc49170742d6928b16fb3839b47a94cc41630dbe0 (diff)
downloadop-kernel-dev-8a37c65df9dcbd1c891df2b4a94157999b654841.zip
op-kernel-dev-8a37c65df9dcbd1c891df2b4a94157999b654841.tar.gz
ACPI video: allow events handlers to veto the keypress
The standard video events may be overloaded for device specific purposes. For example AMD ACPI interface overloads ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific events. In such cases we don't want to send the keypress (KEY_SWITCHVIDEOMODE) to the userspace because the user did not press the mode switch key (the spurious keypress confuses the DE which usually changes the display configuration and messes up a dual-screen setup). This patch gives the handlers the chance to examine the event and block the keypress if the event is device specific. v2: refactor as suggested by Zhang Rui <rui.zhang@intel.com> Signed-off-by: Luca Tettamanti <kronos.it@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud