disp: msm: sde: handle all error cases during sui transitions
During secure-ui, the SMMU, MISR and VBIF states are altered based on the enable/disable of secure-ui which is followed by the scm_call. Failure in any of the steps would lead the system to an unstable state. Address all the failures and revert back all steps to get the system back in original state to avoid any issues. Change-Id: I736c6cf018c5992ec33806c00e58bf56b818b8a7 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> Signed-off-by: Samantha Tran <samtran@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
ca2fbfd531
当前提交
e4a7d473f9
@@ -1783,6 +1783,7 @@ int sde_crtc_get_secure_transition_ops(struct drm_crtc *crtc,
|
||||
|
||||
smmu_state = &sde_kms->smmu_state;
|
||||
smmu_state->prev_state = smmu_state->state;
|
||||
smmu_state->prev_secure_level = smmu_state->secure_level;
|
||||
|
||||
sde_crtc = to_sde_crtc(crtc);
|
||||
secure_level = sde_crtc_get_secure_level(crtc, crtc->state);
|
||||
|
在新工单中引用
屏蔽一个用户