rk_fb.h:add struct rk_fb_vysnc
authoryxj <yxj@rock-chips.com>
Thu, 24 Jan 2013 03:04:28 +0000 (11:04 +0800)
committeryxj <yxj@rock-chips.com>
Thu, 24 Jan 2013 07:47:52 +0000 (15:47 +0800)
include/linux/rk_fb.h

index eeeff2f54bdc274ababa5670de3e6c1d259ab728..6f19857ca97fbf083df5a744edb51f3333a3245e 100644 (file)
@@ -162,6 +162,15 @@ struct rk_fb_rgb {
        struct fb_bitfield      transp;
 };
 
+struct rk_fb_vsync {
+       wait_queue_head_t       wait;
+       ktime_t                 timestamp;
+       bool                    active;
+       int                     irq_refcount;
+       struct mutex            irq_lock;
+       struct task_struct      *thread;
+};
+
 typedef enum _TRSP_MODE
 {
     TRSP_CLOSE = 0,