From 705f82de26a28e113e1c321488b8e57eb4132844 Mon Sep 17 00:00:00 2001 From: Terence Hampson Date: Wed, 8 May 2013 19:01:51 -0400 Subject: mdss: ppp: add sync point to ppp, allowing for async ppp blit It is a requirement that PPP be async and should use sync points and fences to wait for buffers and communicate that it is done using release fence Change-Id: I35663737dd4bd4a52bb12b2a31ed06f3d5a69f31 Signed-off-by: Terence Hampson [cip@codeaurora.org: Updated sync.h/sw_sync.h include] Signed-off-by: Clarence Ip --- include/uapi/linux/msm_mdp.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 85011a0db2af..12cf6b939b4d 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -68,6 +68,7 @@ #define MSMFB_METADATA_GET _IOW(MSMFB_IOCTL_MAGIC, 166, struct msmfb_metadata) #define MSMFB_WRITEBACK_SET_MIRRORING_HINT _IOW(MSMFB_IOCTL_MAGIC, 167, \ unsigned int) +#define MSMFB_ASYNC_BLIT _IOW(MSMFB_IOCTL_MAGIC, 168, unsigned int) #define FB_TYPE_3D_PANEL 0x10101010 #define MDP_IMGTYPE2_START 0x10000 @@ -749,6 +750,12 @@ struct mdp_buf_sync { int *rel_fen_fd; }; +struct mdp_async_blit_req_list { + struct mdp_buf_sync sync; + uint32_t count; + struct mdp_blit_req req[]; +}; + #define MDP_DISPLAY_COMMIT_OVERLAY 1 struct mdp_buf_fence { uint32_t flags; -- cgit v1.2.3