diff options
| author | Terence Hampson <thampson@codeaurora.org> | 2013-05-08 19:01:51 -0400 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:17:35 -0700 |
| commit | 705f82de26a28e113e1c321488b8e57eb4132844 (patch) | |
| tree | 4d31a346cba82c73f6b8beb1316dcff3188fd23d /include/uapi/linux | |
| parent | 8f86ee9d1669a7af3dd79051a1dc810f30f1f1b5 (diff) | |
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 <thampson@codeaurora.org>
[cip@codeaurora.org: Updated sync.h/sw_sync.h include]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 7 |
1 files changed, 7 insertions, 0 deletions
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; |
