On Wed, Aug 1, 2012 at 9:49 AM, Luca Tettamanti <kronos.it at gmail.com> wrote: > AMD ACPI interface may overload the standard event > 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 radeon driver the chance to examine the event and > block the keypress if the event is an "AMD event". > > Signed-off-by: Luca Tettamanti <kronos.it at gmail.com>
Looks good to me, but I'm certainly not an ACPI expert. Acked-by: Alex Deucher <alexander.deucher at amd.com>