diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2012-09-15 15:23:35 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-09-19 19:50:18 +0200 |
commit | 4369c64c79a22b98d3b7eff9d089196cd878a10a (patch) | |
tree | 8194f7190e5beffdfea3826725b393a9c48e64cc /drivers/input/evdev.c | |
parent | 352ac4bd018005cfa6f844433a98aa0b724fa8db (diff) | |
download | linux-4369c64c79a22b98d3b7eff9d089196cd878a10a.tar.bz2 |
Input: Send events one packet at a time
On heavy event loads, such as a multitouch driver, the irqsoff latency
can be as high as 250 us. By accumulating a frame worth of data
before passing it on, the latency can be dramatically reduced. As a
side effect, the special EV_SYN handling can be removed, since the
frame is now atomic.
This patch adds the events() handler callback and uses it if it
exists. The latency is improved by 50 us even without the callback.
Cc: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/input/evdev.c')
0 files changed, 0 insertions, 0 deletions