History log of /hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be73a38f91504518c0a397aa3bbfb60ad1eff804 08-Oct-2014 Faxing Lu <faxing.lu@intel.com> Workaround overlay scaling limitation.

Using overlay for scaling factor greater than 4 may cause flashing.
For protected content, crop source to make scaling factor less than 4.

Bug: 17950458
BZ: 224951

Change-Id: Ib7e936bd2b30abdcc413ef2e654b87cab5786264
Signed-off-by: Faxing Lu <faxing.lu@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Faxing Lu <faxing.lu@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
4157ee3f6fb20e0a249b9eedc06f3b16785ba31b 02-Sep-2014 Iliyan Malchev <malchev@google.com> hwc: rename logging macros: TRACE --> LOGTRACE

find . -type f -a \( -name \*.c -o -name \*.cpp -o -name \*.h \) \
-exec sed -r -i -e 's/([ADEITVWX])TRACE/\1LOGTRACE/g' {} \;

In preparation for instrumenting HWC with ATRACE tags.

Change-Id: I172a48bd86a711b67e67d44a8d47da6b8e67b56d
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
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/ips/anniedale/PlaneCapabilities.cpp
fceeb45070ca7323f692f5ee25d62e079ce8c5c3 17-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> Fix OMX include to build in AOSP layout

BZ: 209178

Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Change-Id: Id7a77d917e41cd978efed72b9010be1b47421071
Reviewed-on: https://android.intel.com/219588
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
fa7a36cfa74219be29ffcbbedfdb757bf8e7df41 15-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> Headers cleanup: clean header path to build also with prebuild

BZ: 209178

Change-Id: Iec168e6aa2b439172f025cef84f5582fe94aed70
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Reviewed-on: https://android.intel.com/215754
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
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/ips/anniedale/PlaneCapabilities.cpp
bb71f60fd80ea8d2b4ed0ccc80cf7ade902e834c 04-Jun-2014 Jin Zhebin <zhebinx.jin@intel.com> overlay: src crop size should also be larger than 1

BZ: 199640

Sometimes display frame w/h is larger than 1, but
source crop w/h may be 1. This should also not be
set to overlay, otherwise dc will hang.

Change-Id: Ia8ab9fc8c7db2ef23d8b4fc85d1e3d22d5070224
Signed-off-by: Jin Zhebin <zhebinx.jin@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
c0529447ae16f023dfab2978ea2b245f368e893b 08-May-2014 Andy Qiu <junhai.qiu@intel.com> Support TTM buffer for overlay plane.

BZ: 198175

TTM buffer support for overlay plane is removed in Annidale. Need
to add it back when rotation is not supported by overlay plane.

Change-Id: Ibe0e8307fbd6258464007b142ed0496674a8f54d
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Li Zeng <li.zeng@intel.com>
Signed-off-by: Zhu,Tianyang <tianyang.zhu@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
ceb31c1b15bd3949e3f77078cea61b94d79a38b7 20-May-2014 Dommelier, HenriX <henrix.dommelier@intel.com> Revert "[REVERTME] Work around to solve the pipe hang issue, when doing video rotation + DPMS on/off stress test."

BZ: 196810

This reverts commit 61091d8a27911b9a8734c0b6ae8c37b21372d99a.
This reverts patch https://android.intel.com/#/c/187764/

Change-Id: Ie0c9f591aa6a74c167994c86fb606e81ae0bd961
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
61091d8a27911b9a8734c0b6ae8c37b21372d99a 06-May-2014 Austin Hu <austin.hu@intel.com> [REVERTME] Work around to solve the pipe hang issue, when doing
video rotation + DPMS on/off stress test.

BZ: 190814

Also solved by falling back the YUV layer to Surface Flinger to do
composition, in case that its source image's aspect ratio doesn't
equal to its dest window's.

Change-Id: I8b4c6ec3d8af029edf4091eea080f582ed458028
Signed-off-by: Austin Hu <austin.hu@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
c7e34ec2026a2e1459dfcee46aeca9f2488c9b75 28-Apr-2014 Jin Zhebin <zhebinx.jin@intel.com> Add coverage alpha support for ann.

BZ: 190959

Coverage alpha is supported by ann hw.
Have tested it with hwc test framework.

Change-Id: Ida9780eb247571643e9a9496966d91a03835c7df
Signed-off-by: Jin Zhebin <zhebinx.jin@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
349e264642be6b6efab5085b0a781fd0896400f1 29-Apr-2014 Lei Zhang <lei.zhang@intel.com> HWC:add plane transform capability check

BZ:187142

This patch adds plane transform capability check. Overlay supports
rotation but not flip on annidale. So if trans has FLIP_H/FLIP_V,
it should return false and fall back to GLES to do composition.

Change-Id: I1b2557ea54f2184b7caef4e79752d33257eb8a24
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
e1256f7511ebfa79e1ff3fe199b9e50b76a1c6f9 30-Apr-2014 Lei Zhang <lei.zhang@intel.com> HWC: fix plane max linear stride on MOFD platform

BZ:191356

This patch fix max linear stride to be 16K on MOFD platform after
confirm with SoC team. From ANN HAS, surface size is up to 4K, active
display area is 2560x1600. This change will help Wallpaper goes
through HWC on 2560x1600 panel.

Change-Id: I804136ffac422ef0d4494d3cc7d9b49fb5ca2e82
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
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/ips/anniedale/PlaneCapabilities.cpp
7c321ca046796fc76ed6fb358f1e0f6f0b46af9c 09-Apr-2014 Hong Liu <hong.liu@intel.com> support NV12 overlay rotation

BZ: 184608

NV12 height is 16byte aligned.

Change-Id: I24e25d171659009e9fd2b3386877e094b0034f71
Signed-off-by: Hong Liu <hong.liu@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
5eede1cfdff41d9926b01154a183193e8a10795d 04-Apr-2014 Hong Liu <hong.liu@intel.com> [WA]overlay rotation + scaling limitation

BZ: 177222

It seems with overlay rotation and scaling factor >= 3, overlay will
crash and cause "dbi fifo not empty" issue.

Fixed by falling back to GLES in this case.

Change-Id: I4a8c3bca4ddb9cd52b4bdc927803ff5cd26a0b70
Signed-off-by: Hong Liu <hong.liu@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
10e89b1bb0d08ad3d037691125908641a914b58e 07-Feb-2014 lychenx <liy.x.chen@intel.com> Set the blending capability correctly

BZ: 169245

Merrifield constant alpha feature of display hardware can't support the android HWC_BLENDING_PREMULI completely, so
hwcomposer should not set as supported

HWC_BLENDING_PREMULI requirement :
dst_pixel.rgb = src_pixel.rgb * planeAlpha / 255
dst_pixel.a = src_pixel.a * planeAlpha / 255

Merrifield constant alpha implementation :
dst_pixel.rgb = src_pixel.rgb * planeAlpha / 255
dst_pixel.a = planeAlpha

Change-Id: Ic368cfc10adb21e40661870af0823d727225015d
Signed-off-by: lychenx <lix.y.chen@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp
a4c0ccca7945e0fc1e350aad1d555fda5c0816ae 26-Jan-2014 Jackie Li <yaodong.li@intel.com> hwc: created MOFD specific plane capabilities

BZ: 167881

Change-Id: Ifae8330eb3300ee3ad8c14b7230dd72c440b7153
Signed-off-by: Jackie Li <yaodong.li@intel.com>
/hardware/intel/img/hwcomposer/ips/anniedale/PlaneCapabilities.cpp