Skip to contentSkip to conversation

Patch "[media] sur40: lower poll interval to fix occasional FPS drops to ~56 FPS" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Aug 18, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

[media] sur40: lower poll interval to fix occasional FPS drops to ~56 FPS

to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
sur40-lower-poll-interval-to-fix-occasional-fps-drops-to-56-fps.patch
and it can be found in the queue-4.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From af766ee005c496b8567976dc3eed7676443ed6de Mon Sep 17 00:00:00 2001

From: Florian Echtler <[email protected]>
Date: Tue, 31 May 2016 17:15:32 -0300
Subject: [media] sur40: lower poll interval to fix occasional FPS drops to ~56 FPS

From: Florian Echtler <[email protected]>

commit af766ee005c496b8567976dc3eed7676443ed6de upstream.

The framerate sometimes drops below 60 Hz if the poll interval is too high. Lowering it to the minimum of 1 ms fixes this.

---
 drivers/input/touchscreen/sur40.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/sur40.c +1 -1
@@ -126,7 +126,7 @@ struct sur40_image_header {
 #define VIDEO_PACKET_SIZE  16384
 
 /* polling interval (ms) */
-#define POLL_INTERVAL 4
+#define POLL_INTERVAL 1
 
 /* maximum number of contacts FIXME: this is a guess? */
 #define MAX_CONTACTS 64

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/sur40-fix-occasional-oopses-on-device-close.patch queue-4.7/sur40-lower-poll-interval-to-fix-occasional-fps-drops-to-56-fps.patch