diff options
| author | Ujwal Patel <ujwalp@codeaurora.org> | 2015-05-14 09:51:01 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:42:16 -0700 |
| commit | 759e9a0fd652024fb4334108442ccfaadaf44c22 (patch) | |
| tree | 96e3b476c06bc3dc16073d3a6bc3bc5df7b592cc /include/uapi/linux | |
| parent | e2c6f023dd43204bb502b8c72b837d0c46ca1ca7 (diff) | |
uapi: msm: mdp: add comment on how to fill roi
Add a comment specifying guidelines for user on how to fill roi
information when calling commit IOCTL.
Change-Id: Iaab026131baccace1d4236777ff68d5953b5342b
Signed-off-by: Ujwal Patel <ujwalp@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 4fbaaac79b98..5ea380e9a37c 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -1268,6 +1268,13 @@ struct mdp_display_commit { uint32_t flags; uint32_t wait_for_finish; struct fb_var_screeninfo var; + /* + * user needs to follow guidelines as per below rules + * 1. source split is enabled: l_roi = roi and r_roi = 0 + * 2. source split is disabled: + * 2.1 split display: l_roi = l_roi and r_roi = r_roi + * 2.2 non split display: l_roi = roi and r_roi = 0 + */ struct mdp_rect l_roi; struct mdp_rect r_roi; }; |
