浏览代码

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 <[email protected]>
Signed-off-by: Krishna Manikandan <[email protected]>
Krishna Manikandan 5 年之前
父节点
当前提交
4442431141
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      msm/sde/sde_encoder_phys_wb.c

+ 2 - 0
msm/sde/sde_encoder_phys_wb.c

@@ -1602,6 +1602,8 @@ exit:
 
 	phys_enc->enable_state = SDE_ENC_DISABLED;
 	wb_enc->crtc = NULL;
+	phys_enc->hw_cdm = NULL;
+	phys_enc->hw_ctl = NULL;
 }
 
 /**