disp: msm: sde: disable hw-fencing for commit before vm transition

This change disables hw-fencing for the last commit before
vm transition. This avoids configuration issues if hw-fencing is
disabled in the incoming VM.

Change-Id: I573b7d1665f8cef442168bd0ab83a4b2b6cebbb6
Signed-off-by: Christina Oliveira <quic_coliveir@quicinc.com>
这个提交包含在:
Christina Oliveira
2022-07-28 13:18:23 -07:00
父节点 ceaaff1fbd
当前提交 b4a071ae7f
修改 4 个文件,包含 22 行新增4 行删除

查看文件

@@ -192,11 +192,12 @@ int sde_fence_update_hw_fences_txq(struct sde_fence_context *ctx, bool vid_mode,
* @ctl: hw ctl to update the input-fence and enable hw-fences
* @debugfs_hw_fence: hw-fence timestamp debugfs value
* @hw_mdp: pointer to hw_mdp to get timestamp registers
* @disable: bool to indicate if we should disable hw-fencing for this commit
*
* Returns: Zero on success, otherwise returns an error code.
*/
int sde_fence_update_input_hw_fence_signal(struct sde_hw_ctl *ctl, u32 debugfs_hw_fence,
struct sde_hw_mdp *hw_mdp);
struct sde_hw_mdp *hw_mdp, bool disable);
/**
* sde_fence_deinit - deinit fence container