Skip to contentSkip to conversation

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

git:media_tree/master Mauro Carvalho Chehab 1 participant 1 message Jul 8, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This is an automatic generated email to let you know that the following patch were queued:

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

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
index f124f3af0de1..bff525f26e87 100644
@@ -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