diff options
author | Greg Hackmann <ghackmann@google.com> | 2012-05-14 20:03:23 -0700 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2012-05-15 14:30:34 -0700 |
commit | fc3477b72f90643708f4c1c6f5b78ff8baf531d5 (patch) | |
tree | d8020b21169061bc5e163775692a7d1d54cd353d | |
parent | 73c3d77e2e2389a804a0810fca99012f876bd8bc (diff) | |
download | crespo-fc3477b72f90643708f4c1c6f5b78ff8baf531d5.tar.gz |
libhwcomposer: VSYNC_ACTIVE ioctl -> VSYNC_INT
VSYNC_INT fixed in kernel, and redundant VSYNC_ACTIVE removed
Change-Id: I4f93f5baf8fd357cd819a26650b0d821a357d7c8
Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rwxr-xr-x | include/sec_lcd.h | 2 | ||||
-rw-r--r-- | libhwcomposer/SecHWC.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sec_lcd.h b/include/sec_lcd.h index b829f0e..6a3a34a 100755 --- a/include/sec_lcd.h +++ b/include/sec_lcd.h @@ -33,7 +33,7 @@ struct secfb_user_window { #define FBIO_WAITFORVSYNC _IO ('F', 32) #define SECFB_WIN_POSITION _IOW ('F', 203, struct secfb_user_window) -#define S3CFB_SET_VSYNC_ACTIVE _IOW ('F', 208, uint32_t) +#define S3CFB_SET_VSYNC_INT _IOW ('F', 206, uint32_t) #define DEFAULT_LCD_WIDTH (480) #define DEFAULT_LCD_HEIGHT (800) diff --git a/libhwcomposer/SecHWC.cpp b/libhwcomposer/SecHWC.cpp index 14e4f9b..dda1108 100644 --- a/libhwcomposer/SecHWC.cpp +++ b/libhwcomposer/SecHWC.cpp @@ -461,7 +461,7 @@ static int hwc_eventControl(struct hwc_composer_device* dev, switch (event) { case HWC_EVENT_VSYNC: int val = !!enabled; - int err = ioctl(ctx->global_lcd_win.fd, S3CFB_SET_VSYNC_ACTIVE, &val); + int err = ioctl(ctx->global_lcd_win.fd, S3CFB_SET_VSYNC_INT, &val); if (err < 0) return -errno; |