summaryrefslogtreecommitdiffstats
path: root/exynos3/s5pc110/include
diff options
context:
space:
mode:
authorMichael Brehm <djp952@gmail.com>2012-09-15 02:03:39 -0500
committerChirayu Desai <chirayudesai1@gmail.com>2012-09-16 11:36:05 +0530
commit3c938a7e18ab2e06b3d925fdc99e157ad125f6bb (patch)
treeac9d4a10ed930d51ce515b99e95625a8769d8a6d /exynos3/s5pc110/include
parent317dcfa0f0ed518a7bb5577ea36559713c3f6698 (diff)
downloadhardware_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-xexynos3/s5pc110/include/sec_lcd.h1
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)