diff options
| author | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | 2016-01-27 15:00:12 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-25 16:03:26 -0700 |
| commit | e45c9c3161d0ee24649bf85c62eda79eef689fef (patch) | |
| tree | 5d5114addf7fd6d56cbd684b1f36cba480474eef /include/uapi/linux | |
| parent | 22ae58fca478a1b131b4acccef8e1707980c7bf0 (diff) | |
msm: mdss: add interface for all MDP supported formats
Define all MDP supported RGB/YUV formats in user mode interface.
CRs-Fixed: 984465
Change-Id: I5af1d0b4a2b249b600319abcf23c188b7d2948a5
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 787c99d371aa..346081003969 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -78,6 +78,8 @@ #define FB_TYPE_3D_PANEL 0x10101010 #define MDP_IMGTYPE2_START 0x10000 #define MSMFB_DRIVER_VERSION 0xF9E8D701 +/* Maximum number of formats supported by MDP*/ +#define MDP_IMGTYPE_END 0x100 /* HW Revisions for different MDSS targets */ #define MDSS_GET_MAJOR(rev) ((rev) >> 28) @@ -185,6 +187,33 @@ enum { MDP_Y_CRCB_H2V2_VENUS, MDP_IMGTYPE_LIMIT, MDP_RGB_BORDERFILL, /* border fill pipe */ + MDP_XRGB_1555, + MDP_RGBX_5551, + MDP_XRGB_4444, + MDP_RGBX_4444, + MDP_ABGR_1555, + MDP_BGRA_5551, + MDP_XBGR_1555, + MDP_BGRX_5551, + MDP_ABGR_4444, + MDP_BGRA_4444, + MDP_XBGR_4444, + MDP_BGRX_4444, + MDP_ABGR_8888, + MDP_XBGR_8888, + MDP_RGBA_1010102, + MDP_ARGB_2101010, + MDP_RGBX_1010102, + MDP_XRGB_2101010, + MDP_BGRA_1010102, + MDP_ABGR_2101010, + MDP_BGRX_1010102, + MDP_XBGR_2101010, + MDP_RGBA_1010102_UBWC, + MDP_RGBX_1010102_UBWC, + MDP_Y_CBCR_H2V2_P010, + MDP_Y_CBCR_H2V2_TP10_UBWC, + MDP_IMGTYPE_LIMIT1 = MDP_IMGTYPE_END, MDP_FB_FORMAT = MDP_IMGTYPE2_START, /* framebuffer format */ MDP_IMGTYPE_LIMIT2 /* Non valid image type after this enum */ }; |
