disp: msm: sde: cleanup writeback phys_enc structures during wb disable
Hardware structures for writeback ctl and cdm are set to null during wb disable, to prevent crtc mode change on primary during subsequent wfd and cwb sessions. Change-Id: I7536203761c615c37c8633d1621951475895400a Signed-off-by: Prashant Singh <prasin@codeaurora.org> Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
b994f0f191
commit
4442431141
@@ -1602,6 +1602,8 @@ exit:
|
|||||||
|
|
||||||
phys_enc->enable_state = SDE_ENC_DISABLED;
|
phys_enc->enable_state = SDE_ENC_DISABLED;
|
||||||
wb_enc->crtc = NULL;
|
wb_enc->crtc = NULL;
|
||||||
|
phys_enc->hw_cdm = NULL;
|
||||||
|
phys_enc->hw_ctl = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user