History log of /hardware/intel/img/hwcomposer/include/ExternalDevice.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
77816b58b1cd4a2d485539cfbd3cf0daab8c1aa5 27-Aug-2014 Patrick Tjin <pattjin@google.com> Revert "reboot device when preferred mode is changed during hotplug"

Bug: 17225070

This reverts commit bac1829f65507275c265cc53e90f07be208a1345.
/hardware/intel/img/hwcomposer/include/ExternalDevice.h
cd8c21ebad3f4aa2848495ddf254a180b9be2b31 14-Aug-2014 Andy Qiu <junhai.qiu@intel.com> stop hdcp when device is blank.

Bug: 17045580
BZ: 217368

Change-Id: Id632285a46704c2d880af832d74ec436a73d6668
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/include/ExternalDevice.h
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/ExternalDevice.h
bac1829f65507275c265cc53e90f07be208a1345 06-Aug-2014 Andy Qiu <junhai.qiu@intel.com> reboot device when preferred mode is changed during hotplug

use two properties "persist.hdmi.width" and "persist.hdmi.height" to
save display size of last connected TV. If display size is changed
during hotplug, device is rebooted.

Bug: 17035604
BZ: 215226

Change-Id: I88c4997b621f450dbfbbee07b093e54bf6c7665a
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/include/ExternalDevice.h
66ea2feb6efaf52467391fd7ae3a1e57380ca254 21-Jul-2014 Andy Qiu <junhai.qiu@intel.com> Set default display attribute if HDMI is not connected

BZ: 212539

Surface flinger crashes if device boots without HDMI connected.
Fix is to provide 1080p display as default output when HDMI connection
is not ready.

Change-Id: Idadfc082c779811800724bb283d02628dbcd6e3e
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: https://android.intel.com/220428
Reviewed-by: Bish, Jim <jim.bish@intel.com>
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
/hardware/intel/img/hwcomposer/include/ExternalDevice.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/ExternalDevice.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/ExternalDevice.h
4d4cd66e1f283757110e953f452ef356e3718b82 30-Apr-2014 ljia5 <lin.a.jia@intel.com> Fix TV display black issue

BZ: 186271

It is a corner case.
HWC captures a HDMI hotplug event and handle it,
In this process, if a new Video state comes,
it will trigger a timing setting handling and may break hotplug process,
and cause HWC can't notify SurfaceFlinger to do further handling,
then cause External display(HDMI) hasn't any update
and display black screen.

Change-Id: I5dd6e98d85dd64390ffee7d20887b87b2361194a
Signed-off-by: ljia5 <lin.a.jia@intel.com>
/hardware/intel/img/hwcomposer/include/ExternalDevice.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/ExternalDevice.h
2413102f33fdefa6bdb80ed2c4f56fae83cd5bd8 16-Oct-2013 fu jin <fu.jin@intel.com> disable/enable hdcp on start of playing video

BZ:129963 138555

hdcp was borken on start of playing video. This patch fixes it by disable/enable hdcp.
mode setting is skip when device is blank.

Change-Id: Icd2cfa15aba184fd712b728541cd017d5e47635f
Signed-off-by: fu jin <fu.jin@intel.com>
Signed-off-by: Lin Xie <lin.xie@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
/hardware/intel/img/hwcomposer/include/ExternalDevice.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/ExternalDevice.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/ExternalDevice.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/ExternalDevice.h
10056c1964f893323ab3309f3906e0db8b60d7e0 09-May-2013 Andy Qiu <junhai.qiu@intel.com> Enable HDCP automatically when HDMI is connected.

BZ: 106754

HDCP is automatically enabled when HDMI is connected, hotplug event
is delayed sent till HDCP is authenticated.

Change-Id: Ie69cb6ae5fd6afff516c5f7b417a87bfe80fcf2d
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/106871
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Jin, Fu <fu.jin@intel.com>
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/ExternalDevice.h
e2b2a5fe291662041d1bbec00996c2ba302dc4c9 13-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Make HWC logging scalable.

BZ:100612

In current implemnention, if verbose logging is enabled there will be tons of messages printed out, which
makes it less useful for debugging purpose. We need one way to selectively enable or disable certain verbose
information.

For each log message, we also want class name and function name to be automatically pre-appended, this removes burden
of adding it manually, and enables developer to focus on key output message only.

Changes in this patch include:

1) define VTRACE, DTRACE, ITRACE, WTRACE and ETRACE, they are equivalent to LOGV, LOGD, LOGI, LOGW and LOGE
with class name and function name automatically pre-appended.
2) define CTRACE to trace function call entrance
3) define XTRACE to trace function call exit
4) CTRACE and XTRACE are turned off by default. They should only be enabled to trace deadlock, infinite loop or display freeze.
5) define ATRACE to trace function call entrance with input arguments, this is turned off by default either.

New type of trace can be defined to control output of certain type of information.

Change-Id: Iab185ad5ce407880322b2b306ea43bdb8440facc
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/101952
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/ExternalDevice.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/ExternalDevice.h