OSDN Git Service

drm/msm: move display and event threads to realtime priority
authorLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Thu, 1 Mar 2018 02:10:47 +0000 (18:10 -0800)
committerLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Thu, 8 Mar 2018 21:07:48 +0000 (13:07 -0800)
commit47f361f8fc23f2592c290cbdf2dd15c27f2084dc
treee19e353366c8c8b3987f40a08bec83a18ac61d04
parent4f2aa096ba1682fcd002613c6cb1550476008da1
drm/msm: move display and event threads to realtime priority

Display thread processes the work assigned by HAL for
screen update. Current logic selects the thread priority
to default and causes the frame drop. This patch moves
the display thread to realtime priority to process the display
work items at realtime. Event thread must follow the
display thread priority to avoid frame_pending counters
beyond 2.

Change-Id: I9154b749550cee52da1d16d22a8418676325e769
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
drivers/gpu/drm/msm/msm_drv.c