Skip to content

Commit

Permalink
Improve touch latency : sched fifo
Browse files Browse the repository at this point in the history
  • Loading branch information
acervenky committed Sep 15, 2019
1 parent 30bf869 commit a845369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/input/touchscreen/nt36xxx/nt36xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,9 @@ static void nvt_ts_work_func(struct work_struct *work)
#endif /* MT_PROTOCOL_B */
int32_t i = 0;
int32_t finger_cnt = 0;
struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO / 2 };

sched_setscheduler(current, SCHED_FIFO, &param);


mutex_lock(&ts->lock);
Expand Down

2 comments on commit a845369

@UtsavBalar1231
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aren't even using Novatek Touchscreen driver.

@acervenky
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aren't even using Novatek Touchscreen driver.
Revert

Please sign in to comment.