diff options
author | Meng Mingming <mingming.meng@nxp.com> | 2017-12-27 10:17:52 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 4791d0512fcf86d70b8e5a91d86b18a11ba6b082 (patch) | |
tree | a3f21b628dc4dc5d61a57a5c7680a7b38f357ec0 /include/uapi | |
parent | e8614a07ff2fd5fed0c4bfb880c18996a13b4ba3 (diff) |
MLK-17311-3 drm,imx: Add struct drm_imx_dpu_frame_info
Add struct drm_imx_dpu_frame_info.
Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/imx_drm.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/uapi/drm/imx_drm.h b/include/uapi/drm/imx_drm.h index b2853887b7eb..e80cad4be8bd 100644 --- a/include/uapi/drm/imx_drm.h +++ b/include/uapi/drm/imx_drm.h @@ -24,6 +24,22 @@ extern "C" { #endif +/** + * Dpu frame info. + * + */ +struct drm_imx_dpu_frame_info { + __u32 width; + __u32 height; + __u32 x_offset; + __u32 y_offset; + __u32 stride; + __u32 format; + __u64 modifier; + __u64 baddr; + __u64 uv_addr; +}; + #define DRM_IMX_DPU_SET_CMDLIST 0x00 #define DRM_IMX_DPU_WAIT 0x01 #define DRM_IMX_DPU_GET_PARAM 0x02 |