msm: mdp: Update sync pt. behaviour
Add a retire fence and clean up the existing release fence
implementation
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Change-Id: Iecf7e95d0786ac43aa6a12d70442936600c0249a
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index 394394b..641f423 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -573,13 +573,7 @@
uint32_t acq_fen_fd_cnt;
int *acq_fen_fd;
int *rel_fen_fd;
-};
-
-struct mdp_buf_fence {
- uint32_t flags;
- uint32_t acq_fen_fd_cnt;
- int acq_fen_fd[MDP_MAX_FENCE_FD];
- int rel_fen_fd[MDP_MAX_FENCE_FD];
+ int *retire_fen_fd;
};
#define MDP_DISPLAY_COMMIT_OVERLAY 0x00000001