aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBenjamin Berg <[email protected]>2017-09-15 15:20:49 +0200
committerAndy Shevchenko <[email protected]>2017-10-01 17:33:13 +0300
commitdda3ec0aa631d15b12a42438d23336354037e108 (patch)
tree408b55248f110694ba4e62e0c4796c0f180df539 /tools/perf/scripts/python
parentcd6bf7741cf992306748db11e1888c741d16dd0f (diff)
platform/x86: thinkpad_acpi: Implement tablet mode using GMMS method
Many thinkpad laptops and convertibles provide the GMMS method to resolve how far the laptop has been opened and whether it has been converted into tablet mode. This allows reporting a more precise tablet mode state to userspace. The current implementation only reports a summarized tablet mode state which is triggered as soon as the input devices become unusable as they are folded away from the display. This will work on all models where the CMMD method was used previously and it may also work in other cases. Thanks to Peter Zhang of Lenovo for providing information on how to use the GMMS method to query the tablet mode. Signed-off-by: Benjamin Berg <[email protected]> Cc: Peter FP1 Zhang <[email protected]> Cc: Lyude Paul <[email protected]> Acked-by: Henrique de Moraes Holschuh <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions