History log of /hardware/intel/img/hwcomposer/include/Hwcomposer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
452fbc109a9c585737bcac18f19aff40574c3d79 11-Aug-2014 Jim Bish <jim.bish@intel.com> gfx-hwc: Add support for hardware composer version 1.4

Adds 1.4 interfaces
setPowerMode
getActiveConfig
setActiveConfig
Updates to getDisplayConfigs and getDisplayAttributes
reset active display config on hot plug

Bug: 16990582
BZ: 216310

Change-Id: I31e436fa34545f42e923a24f7d2674e621df0e21
Signed-off-by: Jim Bish <jim.bish@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
aca1af6bab5f1aab3a7d2851e1c27253a3ed6b80 22-Jul-2014 Andy Qiu <junhai.qiu@intel.com> remove unused codes and unsupported features

Bug: 16955210

Change-Id: I90ac9bbfc87a4f34a225c65fe58e0470fbd0b3f2
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: https://android.intel.com/220474
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
cd727f537d5085eec7f1b8f9c1d33922d4de75d4 24-Jul-2014 Prodyut Hazarika <prodyut.hazarika@intel.com> Change license headers to Apache

BZ: 209178

Change-Id: I4933f49129b085ef5a76c28ae4a775cef5b1b636
Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
0594c42af26255fd8d3d7d39c0cb0e2da5b8841b 14-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> AOSP: cleanup include paths and warnings

BZ: 209178

Include header file from top of module only
Move makefiles to top of module
Fix all warnings and enable -Werror

Change-Id: I6921b41d5512a81aaeb167383b9392efbae275bf
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Reviewed-on: https://android.intel.com/217843
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
466748a6f67ce4d1ad8baa944e68a88cf3c86d26 24-Jan-2014 Austin Hu <austin.hu@intel.com> support display idle control (s0i1)

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
3f1974031c88750a14adc8f2f49538837238abf9 26-Jun-2013 Lin Xie <lin.xie@intel.com> Support user mode HDMI timing setting

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
eb726af21649d79ed720bdf329e0849270995c45 31-May-2013 Andy Qiu <junhai.qiu@intel.com> Miscellaneous optimization on HWC

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
e2ad4c047651d4442f6a0e002290016d45e9201a 28-May-2013 fu jin <fu.jin@intel.com> Extend current design for supporting future platforms

BZ: 112342

Extend current design for support future platforms:
1) flip takes context parameter
2) commitBegin and commitEnd take parameters for display contents
3) Initialize/Deinitialize of BufferManager need to be virtual
4) Move management of Primary display plane from physical device to HWC Layer list.
5) Better data buffer cache management to avoid unbound increment of cache
6) Calling deinitializer before deleting object

Change-Id: I1aea10e52ac778e101559855a1fce7c7add45336
Signed-off-by: fu jin <fu.jin@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: fu jin <fu.jin@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/110631
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
d4e9a8ac464ef6fde755c1a8c0902dc02a1270ec 29-May-2013 Andy Qiu <junhai.qiu@intel.com> blank secondary display during phone call.

BZ:110201

For privacy reason, secondary display (HDMI out or WiDi out) needs to be blanked
during a phone call.

Change-Id: Ia0272023ac0b65a735b1af8c3aa3ecab26554ef1
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/110611
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Hu, Austin <austin.hu@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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
b8705d07ea74ac6d2e1ec50c8133b8c738ea74ad 15-May-2013 Lin Xie <lin.xie@intel.com> hwc: add class "MultiDisplayObserver" for communication with MDS.

BZ: 108143

A new class named MultiDisplayObserver is introduced, which is used to
1) implement all the callback for MDS.
2) maintain a MDS client to support external display.

Change-Id: I80157fe95ec1726fc08523fe3a5554fba387df81
Signed-off-by: Lin Xie <lin.xie@intel.com>
Reviewed-on: http://android.intel.com:8080/107712
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Wang, Lili A <lili.a.wang@intel.com>
Reviewed-by: Qiu, Junhai <junhai.qiu@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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
114561fb66d0464f48d373487c29a81859ce33a7 16-May-2013 Andy Qiu <junhai.qiu@intel.com> Dynamically select vsync source.

BZ:108737

When HDMI is connected, vsync event should come from HDMI.
However, from surface flinger perspective, vsync source should
come always from primary display. So when vsyne event is received
source is set to 0 (for primary display).

Change-Id: I6826203e0b1ff329eabfd839fab6647f0e743fe8
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/108022
Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com>
Tested-by: Stimson, Dale B <dale.b.stimson@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
65efc253a628175c7afa95c431b746ea20052794 26-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Presentation and video extended mode support for HDMI and WiDi

BZ: 103740

Implement DisplayQuery class to check whether a layer is a video layer.

Implement DisplayAnalyzer to analyze contents first before layers are prepared,
if video extended mode is set by the analyzer then video layer in the primary layer is skipped.

If visible layer in video extended mode is 0 then display of primary
device can be turned off, otherwise, display of primary device needs
to be turned on always. (Turn off display will cause system to freeze,
so the feature is disabled for now).

Change-Id: I74711a7e8eab9a2055fba043a910e7db4fbfb1f9
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/104852
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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
877d4ac27c6fde0b89b68e7c6e352edf879b3ded 12-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Implement DrmConfig to encapsulate all DRM related configuration.

BZ: 100610

All Drm related configuration is now wrapped to a single IP module.
If there is platform specific change, it needs to be reimplemented under ips/#SOC#.

Change-Id: I999ad2176ccad1d17d47182e83905c1728e3b1bd
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/101951
Reviewed-by: Hu, Austin <austin.hu@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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
4b834ced8031d624fc8bd042275cb0612c7b9f63 10-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Consolidate HWC display context design.

BZ: 99199

Define IDisplayContext interface for committing metadata and contents of all HWC layers to hardware
using this interface.

This consolidation will make it easier to switch to a different commit method as all implementations
are in the same file.

Change-Id: I4c9b2aa63066c1591f0d24c5b429ff2ea77a9673
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/100814
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
8a427146c6f68f9add960bbd18c4f84c9eeee4a5 06-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Support HWC 1.2 interface.

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
e6ecdadd57e79c2218b3e6ae407f12599f33bd22 25-Mar-2013 Jackie Li <yaodong.li@intel.com> Enable refactored HWC for merrifield.

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h
6a6081a46a83da606cf21548879b37695adc7e1f 23-Mar-2013 Andy Qiu <junhai.qiu@intel.com> Initial version of refactored HWC, based on design from Jackie.

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>
/hardware/intel/img/hwcomposer/include/Hwcomposer.h