disp: msm: sde: wait for tx-done during cwb disable
Currently, cwb disable path issues a cleanup flush & waits for the commit-done. Wait for the tx-done to ensure the transfer is complete. Change-Id: I509711c157f1d6646646ad96ed140d6bc76d2dba Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
@@ -1582,7 +1582,8 @@ static void sde_kms_wait_for_commit_done(struct msm_kms *kms,
|
||||
* mode panels. This may be a no-op for command mode panels.
|
||||
*/
|
||||
SDE_EVT32_VERBOSE(DRMID(crtc));
|
||||
ret = sde_encoder_wait_for_event(encoder, MSM_ENC_COMMIT_DONE);
|
||||
ret = sde_encoder_wait_for_event(encoder, cwb_disabling ?
|
||||
MSM_ENC_TX_COMPLETE : MSM_ENC_COMMIT_DONE);
|
||||
if (ret && ret != -EWOULDBLOCK) {
|
||||
SDE_ERROR("wait for commit done returned %d\n", ret);
|
||||
sde_crtc_request_frame_reset(crtc, encoder);
|
||||
|
Referens i nytt ärende
Block a user