summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Mingming <mingming.meng@nxp.com>2017-12-27 10:17:52 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:08 +0800
commit8be7d58416af7602517dae31fbe8f4fd39c92b69 (patch)
tree793256b7c1340529fd26884451726209d3dd2332
parent67996db539ee7a614bac7a16cfa12d52db09a9ca (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>
-rw-r--r--include/uapi/drm/imx_drm.h16
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