diff options
author | Arvid Norlander <lkml@vorpal.se> | 2024-01-31 14:16:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 14:52:15 +0300 |
commit | 10c66da9f87a96572ad92642ae060e827313b11c (patch) | |
tree | 01df014da48ae12e7aad946e63146fde363f5fff /drivers/gpu/drm/lima/lima_pp.c | |
parent | de1af9af37cb8e5d6c160ad3acad957716a6968c (diff) | |
download | linux-10c66da9f87a96572ad92642ae060e827313b11c.tar.xz |
platform/x86: toshiba_acpi: Add quirk for buttons on Z830
[ Upstream commit 23f1d8b47d125dcd8c1ec62a91164e6bc5d691d0 ]
The Z830 has some buttons that will only work properly as "quickstart"
buttons. To enable them in that mode, a value between 1 and 7 must be
used for HCI_HOTKEY_EVENT. Windows uses 0x5 on this laptop so use that for
maximum predictability and compatibility.
As there is not yet a known way of auto detection, this patch uses a DMI
quirk table. A module parameter is exposed to allow setting this on other
models for testing.
Signed-off-by: Arvid Norlander <lkml@vorpal.se>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240131111641.4418-3-W_Armin@gmx.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_pp.c')
0 files changed, 0 insertions, 0 deletions