disp: msm: avoid vbif and wb register dumps in secure mode
VBIF and WB register HLOS access is revoked during secure-display session. Dumping those registers at ping pong done timeout causes access violation. Hence avoid vbif and wb register space dumping in secure mode. Change-Id: I5d327178e9f6232257b3d2fbfef8ca7ef78db2e1 Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
@@ -559,7 +559,10 @@ static int _sde_encoder_phys_cmd_handle_ppdone_timeout(
|
||||
|
||||
SDE_EVT32(DRMID(phys_enc->parent), SDE_EVTLOG_FATAL);
|
||||
sde_encoder_helper_unregister_irq(phys_enc, INTR_IDX_RDPTR);
|
||||
SDE_DBG_DUMP("all", "dbg_bus", "vbif_dbg_bus");
|
||||
if (sde_kms_is_secure_session_inprogress(phys_enc->sde_kms))
|
||||
SDE_DBG_DUMP("secure", "all", "dbg_bus");
|
||||
else
|
||||
SDE_DBG_DUMP("all", "dbg_bus", "vbif_dbg_bus");
|
||||
sde_encoder_helper_register_irq(phys_enc, INTR_IDX_RDPTR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user