1
0
Fork 0

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>
pull/10/head
Meng Mingming 2017-12-27 10:17:52 +08:00 committed by Jason Liu
parent d39357db56
commit 4827d19ea5
1 changed files with 16 additions and 0 deletions

View File

@ -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