32bd9ab86ff16757f70843b64a8d47b3827906e5
There is race condition in below scenario leading to crash in sde_encoder_virt_enable as sde_enc->cur_master is set to NULL in sde_encoder_virt_reset in earlier CWB disable commit. 1) commit1-CWB retire fence signalled. 2) commit1-CWB disable commit still in progress. 3) commit2-New WB commit in progress. 4) commit1-sde_enc->cur_master is set to NULL in CWB disable commit. 5) commit2-Crash seen in sde_encoder_virt_enable in WB commit. Also, as WB HW is still attached to commit1 till the next wr_ptr, new WB session cannot be allowed. Adding validate check to fail WB session when CWB is still not cleared in CTL path. Change-Id: I62aca05f8380d3621d4980c0820cdd4da37b3dc1 Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Description
No description provided
Languages
C
99.7%
Makefile
0.2%