diff options
author | Michael Brehm <djp952@gmail.com> | 2012-09-15 02:03:39 -0500 |
---|---|---|
committer | Chirayu Desai <chirayudesai1@gmail.com> | 2012-09-16 11:36:05 +0530 |
commit | 3c938a7e18ab2e06b3d925fdc99e157ad125f6bb (patch) | |
tree | ac9d4a10ed930d51ce515b99e95625a8769d8a6d /exynos3/s5pc110/include | |
parent | 317dcfa0f0ed518a7bb5577ea36559713c3f6698 (diff) | |
download | hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.zip hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.tar.gz hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.tar.bz2 |
exynos3: Implement custom VSYNC IOCTL
* Replace crespo-based VSYNC uevent mechanism in hwcomposer
with a custom IOCTL mechanism instead (required kernel
modifications.
* The VSYNC uevents were spamming the Android UEventObserver
and causing about 7% of constant CPU load
c86856efabfa0b2981ceb47898dc5873a4998707
Improve custom VSYNC handler in hwcomposer
* only poll when necessary
* solves suspend/resume instability?
45bf1dae7fa9057a3415151f7559e7bd2a162ead
Change-Id: Icdb5c60059e71688479d390b7b3a1f09a0315a5f
Diffstat (limited to 'exynos3/s5pc110/include')
-rwxr-xr-x | exynos3/s5pc110/include/sec_lcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exynos3/s5pc110/include/sec_lcd.h b/exynos3/s5pc110/include/sec_lcd.h index 6a3a34a..82ef42f 100755 --- a/exynos3/s5pc110/include/sec_lcd.h +++ b/exynos3/s5pc110/include/sec_lcd.h @@ -34,6 +34,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_INT _IOW ('F', 206, uint32_t) +#define S3CFB_WAIT_FOR_VSYNC _IOR ('F', 311, uint64_t) #define DEFAULT_LCD_WIDTH (480) #define DEFAULT_LCD_HEIGHT (800) |