disp: msm: sde: revert to previous smmu state upon failure to switch
This change saves the previous state before moving into the transitional smmu state, during secure-display/secure-camera usecases. Upon failure to complete the transition, set smmu state to the previous state. Previously, smmu state was staying in transitional state. Change-Id: I1a78ddcf6ac1c7ea66c8c2095cd1a6d6160647a1 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
这个提交包含在:
@@ -187,12 +187,14 @@ enum frame_trigger_mode_type {
|
||||
/**
|
||||
* struct sde_kms_smmu_state_data: stores the smmu state and transition type
|
||||
* @state: current state of smmu context banks
|
||||
* @prev_state: previous state of smmu context banks
|
||||
* @secure_level: secure level cached from crtc
|
||||
* @transition_type: transition request type
|
||||
* @transition_error: whether there is error while transitioning the state
|
||||
*/
|
||||
struct sde_kms_smmu_state_data {
|
||||
uint32_t state;
|
||||
uint32_t prev_state;
|
||||
uint32_t secure_level;
|
||||
uint32_t transition_type;
|
||||
uint32_t transition_error;
|
||||
|
在新工单中引用
屏蔽一个用户