aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input-mt.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-09-15 15:23:35 +0200
committerHenrik Rydberg <rydberg@euromail.se>2012-09-19 19:50:18 +0200
commit4369c64c79a22b98d3b7eff9d089196cd878a10a (patch)
tree8194f7190e5beffdfea3826725b393a9c48e64cc /drivers/input/input-mt.c
parentInput: Move autorepeat to the event-passing phase (diff)
downloadlinux-dev-4369c64c79a22b98d3b7eff9d089196cd878a10a.tar.xz
linux-dev-4369c64c79a22b98d3b7eff9d089196cd878a10a.zip
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/input-mt.c')
0 files changed, 0 insertions, 0 deletions