summaryrefslogtreecommitdiffstats
path: root/common/observers/HotplugEventObserver.h
Commit message (Collapse)AuthorAgeFilesLines
* support display idle control (s0i1)Austin Hu2014-03-081-60/+0
| | | | | | | | | | | | BZ: 147800 modify hwcomposer to support display idle control (s0i1). The basic idea is to compose to framebuffer on s0i1 mode and return to normal mode on next prepare. Change-Id: Idb522e8c544c9720964c111bc61eba232ac1a787 Signed-off-by: fu jin <fu.jin@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Vinil Cheeramvelil <vinil.cheeramvelil@intel.com>
* Support user mode HDMI timing settingLin Xie2013-07-281-25/+5
| | | | | | | | | | | | | | | | | BZ: 93163 Use wsbm to wrap the gralloc buffer to ttm bo and get the bo handle. Send fake hotplug events on timing setting. Change-Id: Ica5777adba5c54ebaba51666a160ca23572b78bf Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Lin Xie <lin.xie@intel.com> Reviewed-on: http://android.intel.com:8080/115535 Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com> Reviewed-by: Shi, PingX <pingx.shi@intel.com> Tested-by: Shi, PingX <pingx.shi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* Miscellaneous optimization on HWCAndy Qiu2013-07-031-6/+31
| | | | | | | | | | | | | | | | | | | | | | | BZ: 97852 1) new lockDataBuffer and unlockDataBuffer to avoid frequent memory allocation and de-allocation 2) move hotplug control and vsync control to HotplugEventObserver and VsyncEventObserver to make them self-contained 3) new event queue to handle hotplug event, video event and phone event 4) dynamic vsync source management can be easily disabled or enabled. (disabling it will cause UI hang) 5) eliminate using of "goto" design 6) make destructor virtual, not necessary for derived class but is a common practice 7) disable overlay use when video playback starts, to avoid potential scrambled RGB overlay 8) vsync status is committed only when it is scussefully enabled or disabled 9) fix memory leak (DataBuffer allocated but not released) 10) many other small improvements Change-Id: I43eeb5c4ea4f991c5d68de14d4fe73ea4a55bb4c Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/113693 Tested-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* Support HWC 1.2 interface.Andy Qiu2013-04-141-3/+3
| | | | | | | | | | | | | BZ:99151 This change supports HWC 1.2 interface. The version number needs to be upgraded to 1.2 once Widi implementation is ready. Change-Id: Icb616181811190956251628c7ba70a6c8b7962a8 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/100276 Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* Enable refactored HWC for merrifield.Jackie Li2013-04-011-3/+3
| | | | | | | | | | | | | | | | BZ: 95290 This refactored HWC replaces current HWC for merrifield under hardware/intel/mfld_cdk/hwc/merrifield. Change-Id: I00986b24e70e33c13e5e81e8b3473a42166640a1 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Reviewed-on: http://android.intel.com:8080/98227 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Tested-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* Initial version of refactored HWC, based on design from Jackie.Andy Qiu2013-03-231-0/+55
BZ: 95246 This is the first submission of refactored HWC, based on design from Jackie. Build is temporarily disabled. Change-Id: Idf6d8ab5263cfa797d9e3b93328702f486b30c43 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/97996 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Dai, Yu <yu.dai@intel.com> Tested-by: Dai, Yu <yu.dai@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>