]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] reduce poll interval to allow full 60 FPS framerate
authorFlorian Echtler <floe@butterbrot.org>
Mon, 25 May 2015 12:04:13 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:43:09 +0000 (11:43 -0300)
commitca27ab31597c9e3c75f0dd46d85087c0627d748c
tree4f61f8a973a5f401a6da9b6f5a40ef5ae7369238
parent48fc10aaf180d71bd7953f9e25b0fd7393b5123a
[media] reduce poll interval to allow full 60 FPS framerate

The SUR40 hardware can deliver images at up to 60 FPS; at full USB2 bandwidth,
one raw frame will take about 11 ms to transmit. If the poll interval is above
5 ms, fully handling one frame will take longer than 16 ms and the overall
frame rate will drop below 60 FPS. To get the full frame rate without blocking
all the time and still allowing for a bit of timing jitter, we reduce the poll
interval to 4 ms.

Signed-off-by: Martin Kaltenbrunner <modin@yuri.at>
Signed-off-by: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/input/touchscreen/sur40.c