History log of /hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a6ca0e98674e3f1b0a7239f6e775cae2f667fe5c 04-Sep-2014 Lei Zhang <lei.zhang@intel.com> hwc: add support for cursor plane.

Bug: 17256663 BZ: 218062

Change-Id: Ib8e2c4c460520fef111966e622a4adf8a7f3e6ee
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.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/DisplayPlaneManager.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/DisplayPlaneManager.h
009ab1d686644a8294b16d97ec1d4fe58879cf89 11-Jun-2014 Lei Zhang <lei.zhang@intel.com> HWC: check overly plane disable status in DisplayAnalyzer

BZ:202507

This patch changes overlay plane disable in DisplayAnalyzer to be
overlay state check, because now plane disable logic is maintained
in driver and HWC only need to query the status if needed.

This patch is to solve the scrambled issue for protected video.

Change-Id: I3bc01ea90bccc481c853934c1677beb3662820ff
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
9d1d3833469f52dbd2a017702bf0116fddc703bc 29-Mar-2014 Andy Qiu <junhai.qiu@intel.com> Optimization on plane allocation

BZ: 190141

1, allocate overlay to video layer whenever possible
2, allocate overlay A to pipe A and overlay C to pipe C whenever possible
3, allocate as many sprite planes as possible
4, plane allocation happens only when all conditions are met.
5, use rotation buffer provider to produce rotated buffer when needed

Change-Id: I67af25da2ed4dffc17a2b548ee2e8c920a51f127
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
f6d5b36e320f093f08855d64fa3d565eacae3c4b 02-Jan-2014 Jackie Li <yaodong.li@intel.com> hwc: updated hwcomposer to support ANN.

BZ: 161970

This is part of a set of patches to enable Moorefield graphics.

Change-Id: Ica32c38871f86bca68c34c7e54e9db2c6b7d4f56
Signed-off-by: Jackie Li <yaodong.li@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
d191dc7a785f312ede10d711720d8ca32a71b44c 30-Jul-2013 Jackie Li <yaodong.li@intel.com> hwc: optimized plane allocation

BZ: 127803

patch 2/2 of z order setting and plane allocation optimization.

optimized plane allocation algorithm to try to achieve following goals:

1) attach display planes to large layers which need more GPU power to do
composition.
2) attach display planes to layers which contain protected content as
much as possible
3) scalability to support different z order configure restrictions
of different hardware platforms
4) allocate as much display planes as possible

remain issues:
1) flickering was observed rarely when doing manual stress tests, which
root caused by turning on sw layer support. will fix it in another
RGX patch.
2) found an issue that buffer crop may be incorrect, which can be fixed
by patch http://android.intel.com:8080/#/c/124022/

Conflicts:

common/base/HwcLayerList.cpp

Change-Id: I0fbef3b8cda227ed3aaf75775330ae136c2b5298
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Signed-off-by: Austin Hu <austin.hu@intel.com>
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Signed-off-by: Austin Hu <austin.hu@intel.com>
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Reviewed-on: http://android.intel.com:8080/122669
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Dai, Yu <yu.dai@intel.com>
Tested-by: Dai, Yu <yu.dai@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
284336b37affb07241f38c899722c25c1c0343b2 23-Aug-2013 fu jin <fu.jin@intel.com> Workaround: always relate overlay A to pipe A and overlay C to pipe B

BZ:129253

Overlay plane may crash on pipe switch. The workaround always relate overlay A to pipe A and
overlay C to pipe B. But the root cause still needs to be investigated.

Change-Id: I094f14972c225c376844a46e12b0d84276268fb0
Signed-off-by: fu jin <fu.jin@intel.com>
Reviewed-on: http://android.intel.com:8080/127517
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: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
d9045abeda7b707f3c55779989fc77b2197bc38e 18-Jul-2013 Jackie Li <yaodong.li@intel.com> hwc: improved Z order config calculation & setting

BZ: 121852

Apps floating video playback window such as social gallery require
z order configure should be exactly the same as layer stack passed
by surface flinger. or display might messed up because of incorrect
plane z order configuration.

this patch improved z order calculation so that we can assign display
planes and setup z order configure accordingly by aligning with both
orignal layer z orders and display hardware z order settings.

Conflicts:

common/planes/DisplayPlaneManager.cpp

Change-Id: I79607f5a4a49c97f3ec62492c29f90d09e1fa546
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Signed-off-by: Austin Hu <austin.hu@intel.com>
Reviewed-on: http://android.intel.com:8080/119524
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Tested-by: Sun, Hang L <hang.l.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/include/DisplayPlaneManager.h
4ffa9f40b823e4c99cd7a21598373969517d93a8 16-Jul-2013 Andy Qiu <junhai.qiu@intel.com> disable overlay when video is being prepared/unprepared.

BZ: 106070

overlay needs to be detached when protected video is being prepared
or unprepared otherwise video may be scrambled.

Change-Id: Idb7837616a48a5ecf0a8ed2863c14070b421a7ee
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/119102
Tested-by: Post, DavidX J <davidx.j.post@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/DisplayPlaneManager.h
c5bd3cd6c8e854c6581105a5867e4d251b5281fe 18-Jun-2013 Jackie Li <yaodong.li@intel.com> hwc: fixed a mem leak issue

BZ: 114988

hwc had no chance to free data buffers when a reclaimed plane
was reused immediately for the next frame.

this patch fixed invalidation of the data buffers of a plane
an invalidation operation will NOT release the active data buffer
(which is being consumed by this plane). Meanwhile, this patch
also refined plane manager and made sure data buffers of primary
plane can be invalidated correctly.

Change-Id: I2c6d51de8322203640d287373c71cf00c39ceab4
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Reviewed-on: http://android.intel.com:8080/114052
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
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/DisplayPlaneManager.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/DisplayPlaneManager.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/DisplayPlaneManager.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/DisplayPlaneManager.h