u32 block_mode;
u32 hwc_enable;
int ret;
- s64 vsync_timestamp;
+ s32 vsync_timestamp;
+ s64 vsync_timestamp_64;
u32 flush_rate;
int out_fen_fd;
int xoffset, yoffset;
sizeof(struct fb_sync_request_s));
break;
case FBIO_WAITFORVSYNC:
+ case FBIO_WAITFORVSYNC_64:
case FBIOGET_OSD_SCALE_AXIS:
case FBIOPUT_OSD_ORDER:
case FBIOGET_OSD_ORDER:
#endif
case FBIO_WAITFORVSYNC:
- vsync_timestamp = osd_wait_vsync_event();
- ret = copy_to_user(argp, &vsync_timestamp, sizeof(s64));
+ vsync_timestamp = (s32)osd_wait_vsync_event();
+ ret = copy_to_user(argp, &vsync_timestamp, sizeof(s32));
+ break;
+ case FBIO_WAITFORVSYNC_64:
+ vsync_timestamp_64 = osd_wait_vsync_event();
+ ret = copy_to_user(argp, &vsync_timestamp_64, sizeof(s64));
break;
-
case FBIOPUT_OSD_CURSOR:
#ifdef CONFIG_AMLOGIC_MEDIA_FB_OSD2_CURSOR
osd_cursor(info, &cursor);
#define OSD_COUNT (HW_OSD_COUNT)
#define INVALID_BPP_ITEM {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
-#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
+#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
+#define FBIO_WAITFORVSYNC_64 _IOW('F', 0x21, __u32)
struct osd_fb_dev_s {
struct mutex lock;