summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-08-09 16:46:54 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-08-17 19:16:34 +0800
commit6246a0b6d2621e771584cade1368ef14aac9dd2d (patch)
tree01f65dfc69d2f77e7848cc3842840259a75872fa /include
parenta169940fb39216e644018304e3a3bdaca61ea88a (diff)
ENGR00219910 IPUv3 fb: add vsync event report to user space.
add vsync uevent report for user space. add a IOCTL to enable/disable vsync uevent report to user space. VSYNC uevent can let user space start draw just receive VSYNC irq, and keep the draw within 16.7 ms that make the draw will show in this frame, enhance the draw speed after receive input event. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxcfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h
index 60e0aa09d0b8..7588d9d09d16 100644
--- a/include/linux/mxcfb.h
+++ b/include/linux/mxcfb.h
@@ -142,6 +142,7 @@ struct mxcfb_waveform_modes {
#define MXCFB_GET_DIFMT _IOR('F', 0x2A, u_int32_t)
#define MXCFB_GET_FB_BLANK _IOR('F', 0x2B, u_int32_t)
#define MXCFB_SET_DIFMT _IOW('F', 0x2C, u_int32_t)
+#define MXCFB_ENABLE_VSYNC_EVENT _IOW('F', 0x33, int32_t)
/* IOCTLs for E-ink panel updates */
#define MXCFB_SET_WAVEFORM_MODES _IOW('F', 0x2B, struct mxcfb_waveform_modes)