disp: msm: dsi: Send Qsync commands asynchronously to avoid frame drops
Qsync ON/OFF commands have to be sent to the panel before connector kickoff and sending them in the commit thread blocks it for few millliseconds, and can lead to frame drops. Avoid this by sending them asyncronously. Change-Id: Ia7bc694871faf02b7c1a068b3d0ee7056c272506 Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com>
This commit is contained in:

کامیت شده توسط
Gerrit - the friendly Code Review server

والد
8ef80f7cf4
کامیت
5ba1ca1738
@@ -8413,6 +8413,7 @@ static int dsi_display_qsync(struct dsi_display *display, bool enable)
|
||||
int rc = 0;
|
||||
|
||||
mutex_lock(&display->display_lock);
|
||||
display->queue_cmd_waits = true;
|
||||
|
||||
display_for_each_ctrl(i, display) {
|
||||
if (enable) {
|
||||
@@ -8435,6 +8436,7 @@ static int dsi_display_qsync(struct dsi_display *display, bool enable)
|
||||
}
|
||||
|
||||
exit:
|
||||
display->queue_cmd_waits = false;
|
||||
SDE_EVT32(enable, display->panel->qsync_caps.qsync_min_fps, rc);
|
||||
mutex_unlock(&display->display_lock);
|
||||
return rc;
|
||||
|
مرجع در شماره جدید
Block a user