Skip to content

Commit 317fd5f

Browse files
kdrag0nExactExampl
authored andcommitted
redbull_defconfig: Disable touchscreen heatmap to reduce latency
Despite redbull having a 10 MHz SPI bus for the touchscreen, transfering heatmap data at 120 Hz is still expensive and adds latency. It also wastes power by keeping the bus active for longer than necessary. The deep press feature that uses heatmaps doesn't work very well anyway, so let's just disable it. An interesting side effect of the heatmap feature is that it increases jitter in touch readings. Drawing curves with a single finger results in slightly jittery lines when it is enabled, and while there is still a little bit of jitter with it disabled, the consistency of the lines is better overall. Test: touch works normally Test: latency and jitter in Touchpaint app Signed-off-by: Danny Lin <danny@kdrag0n.dev>
1 parent 5bc64bf commit 317fd5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/configs/redbull_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ CONFIG_INPUT_TOUCHSCREEN=y
355355
CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_CORE_v27=y
356356
CONFIG_TOUCHSCREEN_TBN=m
357357
# CONFIG_TOUCHSCREEN_OFFLOAD is not set
358-
CONFIG_TOUCHSCREEN_HEATMAP=m
358+
# CONFIG_TOUCHSCREEN_HEATMAP is not set
359359
CONFIG_TOUCHSCREEN_FTS=m
360360
CONFIG_TOUCHSCREEN_SEC_TS=m
361361
CONFIG_INPUT_MISC=y

0 commit comments

Comments
 (0)