Loading drivers/video/msm/mdss/mdss_fb.c +12 −0 Original line number Diff line number Diff line Loading @@ -1571,6 +1571,18 @@ static int __mdss_fb_display_thread(void *data) { struct msm_fb_data_type *mfd = data; int ret; struct sched_param param; /* * this priority was found during empiric testing to have appropriate * realtime scheduling to process display updates and interact with * other real time and normal priority tasks */ param.sched_priority = 16; ret = sched_setscheduler(current, SCHED_FIFO, ¶m); if (ret) pr_warn("set priority failed for fb%d display thread\n", mfd->index); while (1) { wait_event(mfd->commit_wait_q, Loading Loading
drivers/video/msm/mdss/mdss_fb.c +12 −0 Original line number Diff line number Diff line Loading @@ -1571,6 +1571,18 @@ static int __mdss_fb_display_thread(void *data) { struct msm_fb_data_type *mfd = data; int ret; struct sched_param param; /* * this priority was found during empiric testing to have appropriate * realtime scheduling to process display updates and interact with * other real time and normal priority tasks */ param.sched_priority = 16; ret = sched_setscheduler(current, SCHED_FIFO, ¶m); if (ret) pr_warn("set priority failed for fb%d display thread\n", mfd->index); while (1) { wait_event(mfd->commit_wait_q, Loading