From 759e9a0fd652024fb4334108442ccfaadaf44c22 Mon Sep 17 00:00:00 2001 From: Ujwal Patel Date: Thu, 14 May 2015 09:51:01 -0700 Subject: 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 --- 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 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; }; -- cgit v1.2.3