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/libhwcomposer/Android.mk | |
parent | 317dcfa0f0ed518a7bb5577ea36559713c3f6698 (diff) | |
download | android_hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.tar.gz android_hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.tar.bz2 android_hardware_samsung-3c938a7e18ab2e06b3d925fdc99e157ad125f6bb.zip |
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/libhwcomposer/Android.mk')
-rw-r--r-- | exynos3/s5pc110/libhwcomposer/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exynos3/s5pc110/libhwcomposer/Android.mk b/exynos3/s5pc110/libhwcomposer/Android.mk index defda3e..a058145 100644 --- a/exynos3/s5pc110/libhwcomposer/Android.mk +++ b/exynos3/s5pc110/libhwcomposer/Android.mk @@ -27,6 +27,10 @@ LOCAL_C_INCLUDES := \ LOCAL_SRC_FILES := SecHWCUtils.cpp SecHWC.cpp +ifeq ($(BOARD_CUSTOM_VSYNC_IOCTL),true) + LOCAL_CFLAGS += -DVSYNC_IOCTL +endif + LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) |