summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-09Implement display blank function.android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseAustin Hu
Bug: 37908039 BZ: 51478 Test: netflix, youtube, play movies Regardless of the early_suspend system call. Change-Id: Ib72396260b7532482923c33c890573dbfd40aa00 Signed-off-by: Austin Hu <austin.hu@intel.com> (cherry picked from commit 89ee4ad98fb679a8b69c31b6034c229e05716d5c)
2017-05-08Fixed Klocwork warnings.Lang Dai
BZ: IMINAN-51481 Fixes: 38135184 Test: Netflix, play movies, youtube Change-Id: I67c5f1353f008035afa2492937a12818c1bff1a1 Signed-off-by: Austin Hu <austin.hu@intel.com> (cherry picked from commit fe3bb5afb0875ca02b6232ec860ae2e33b0b4d17)
2017-04-17Fixed the screen freeze issue for any frame with only FBT layer.Austin Hu
Bug: 33487853 Fixed by going through the normal post procedure, and creating the corrsponding retire fence for the frame. But actually display driver won't do real page flip by updating the register(s) of Display Controller, to display the black screen. Because, Anniedale Display Controller used in Fugu has a HARDWARE bug that its pipe would hang if all of the attached RGB/YUV planes are off. Test: netflix, play movies, youtube Change-Id: I9911c5e159c86fb46c02c958cb68d5c9e83856ae Signed-off-by: Austin Hu <austin.hu@intel.com> (cherry picked from commit eb65cfa1356880438b59009d585ebcb35ec1030f)
2017-04-06Do not reset layer type when it is FORCE_FRAMEBUFFERAustin Hu
BZ: IMINAN-51402 Author: Hao Liu <hao.liu@intel.com> It fixes the regression caused by patch https://partner-android-review.googlesource.com/#/c/759127/. After HwcLayerList::initialize(), layers are attached with planes. Then HwcLayerList::update() is invoked, it will DOUBLE-CHECK whether planes are assigned properly. If not, the relevant layer's type is set to FORCE_FRAMEBUFFER, which means it is attached to a wrong plane or it should not be assigned to any plane at all. Then, we re-invoke initialize() to assign planes for the 2nd time. In that case, we should not reset the FORCE_FRAMEBUFFER layers' type. Although the case above rarely happens, here's an example: When we play some INTERLACED video, the real height of the video is only half of its original label. It may trigger the planes assigned to be invalid, then we need to withdraw the plane and do the "FORCE_FRAMEBUFFER" stuff. Test: netflix, playmovies, youtube Change-Id: I730fa11ff1541a9e383778811607155c765b48e9 Signed-off-by: Austin Hu <austin.hu@intel.com>
2017-04-03Remove useless GraphicBuffer() constructorMathias Agopian
Test: compiled & run Bug: 36869708 Change-Id: If83078847fb3516ae4a972e19bc788007090b585
2017-03-06Revert "Revert "Update the DDK interface and add support for gralloc1.""Alistair Strachan
This reverts commit be5caddb7d82f64ce765752e7451240f6a11a589. Bug: 35427231 Test: netflix, youtube, play movies Change-Id: Ifde1ce1fa2dcc52367c158208cb68feaa257a672
2017-02-23Merge "Revert "Update the DDK interface and add support for gralloc1.""TreeHugger Robot
2017-02-23Revert "Update the DDK interface and add support for gralloc1."Daniel Cardenas
This reverts commit 7a141a8d91c694a65c0d191ef15f9c1e350263cf. Change-Id: I2730fb82a20d5211aef85475337f0539b2910285
2017-02-21Fixed the plane assignment issue for HWC2On1 Adaptor.Austin Hu
Bug: 33487853 BZ: IMINAN-51296 Author: Hao Liu <hao.liu@intel.com> And fixed the screen flickering issue when switching frames with different FRAMEBUFFER_TARGET layers, by updating the arguments (including gralloc buffer handle) of FBT layer. Test: Invoked youtube video Change-Id: Ib3eeb273526e51352dbd1fc574e0993698150c9c Signed-off-by: Austin Hu <austin.hu@intel.com>
2017-02-21Merge "Revert "Fix plane assignment issue for HWC2On1Adaptor.""TreeHugger Robot
2017-02-21Revert "Fix plane assignment issue for HWC2On1Adaptor."Fabien Sanglard
This reverts commit a65b73f7ceada366254fb2fd8fd4b9f24dc870f4. Change-Id: I1cb7e7874ddd49b07ad02c404e731ec390277531
2017-02-14Merge "Update the DDK interface and add support for gralloc1."TreeHugger Robot
2017-02-14Fix plane assignment issue for HWC2On1Adaptor.Fabien Sanglard
Bug: 33487853 Change-Id: Ied2bc3577d8961abfdf8e6435f5fdad626480a7a
2017-02-14Update the DDK interface and add support for gralloc1.Alistair Strachan
This change updates the headers imported from the Imagination PowerVR Rogue DDK to the latest versions. The new headers are fully backwards compatible with the older GPU DDKs. Support for gralloc1 (v1) has also been added. This is implemented as runtime detection of the HAL version, rather than a compile flag, to enable the GPU DDK to be swapped out without a full platform rebuild. The plan is that the runtime checks will be removed in a subsequent change once the import of DDK 1.8 has stabilized. The headers updated by this change are used by other projects so this change will break the build unless it is merged in tandem with other changes. Test: Manual, youtube video worked Bug: 34625842 Change-Id: I700bc8845674135ff7a2b137c04a07c9945e28f7
2017-01-30display: fix up TTM dependency by setting ov# to 0 am: 088aa2e96c am: 9356d26309Victor Tasayco Loarte
am: 8c2ae7ccfd Change-Id: Iba720bcb04e650545d28af884fa3013611ee0e60
2017-01-30display: fix up TTM dependency by setting ov# to 0 am: 088aa2e96c am: a4a351be03Victor Tasayco Loarte
am: fd1a04c8fd Change-Id: I32f19c36b84e5056f43da18a327a56cb2cf12091
2017-01-30display: fix up TTM dependency by setting ov# to 0 am: 088aa2e96candroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-iot-preview-5android-n-iot-preview-4o-iot-preview-5n-iot-preview-4Victor Tasayco Loarte
am: 9356d26309 Change-Id: I5d8d4d8915c1a3687420435a23544d12c85e2273
2017-01-30display: fix up TTM dependency by setting ov# to 0 am: 088aa2e96cVictor Tasayco Loarte
am: a4a351be03 Change-Id: Ib4751684de41f94fad9c583edc09fe4d77774e4b
2017-01-30display: fix up TTM dependency by setting ov# to 0android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devVictor Tasayco Loarte
am: 088aa2e96c Change-Id: I79b532e510609f0f5eab2570d36509734efc9369
2017-01-30display: fix up TTM dependency by setting ov# to 0Victor Tasayco Loarte
am: 088aa2e96c Change-Id: I6b6dfa2064cd1850c6cf9e640d9c35fce76eb75d
2017-01-24Fix incorrect use of the ! operator. am: b5a6873157 am: 44bf9cda81 am: ↵Stephen Hines
41f681bad0 am: 1ef94cc544 Change-Id: I95b520f9b14206235e23f9c3e334ac98e3c15c91
2017-01-24Fix incorrect use of the ! operator. am: b5a6873157 am: 44bf9cda81Stephen Hines
am: 41f681bad0 Change-Id: I32f943bc9caaa330c2b1b96325767ee26925d379
2017-01-24Fix incorrect use of the ! operator. am: b5a6873157Stephen Hines
am: 44bf9cda81 Change-Id: I3a2e8de017918d43f9c575700b0c14c958025da1
2017-01-24Fix incorrect use of the ! operator.Stephen Hines
am: b5a6873157 Change-Id: Ied23369a03f2438ed49cdd0c5180f06736c1070c
2017-01-17display: fix up TTM dependency by setting ov# to 0Victor Tasayco Loarte
this is to fix TTM dependency which back video use case investigations have been done to prove the innocence, 1. Overlay plane is only capable for video data format 2. watch HwcLayer::attachPlane, there is no overlay plane used 3. watch TTM apis in kernel, there is no use case besides video Change-Id: I8263cb0a2f53db1b38081fb3d1193819fad92e71 Tracked-On: https://jira01.devtools.intel.com/browse/AW-3488 Signed-off-by: wentaoli <kevin.liu@intel.com> (cherry picked from commit 0682b313abefa21fa5155593945c4d20be378c17)
2017-01-13Fix incorrect use of the ! operator.android-o-preview-1android-n-mr2-preview-2o-previewStephen Hines
Bug: http://b/31532493 Operator precedence means that the unary ! will apply to hwcLayer->getUsage() before applying the unary & operator with GRALLOC_USAGE_HW_COMPOSER. This means that these checks will always fail (because it is defined as 0x00000800U). This code has either never executed, or just chose a fallback path to continue working. Test: Built without errors/warnings using new compiler. Change-Id: Ie5d67369edd801d3944be2dba9b3cc4ec289949a
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵Victor Tasayco Loarte
780caf6cb8 am: 2816fafd20 am: cc73821479 am: c0898b42da am: bacd482317 Change-Id: I70b2d2e2dea56446d1a7b8edc76494bd24ced9c7
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵Victor Tasayco Loarte
780caf6cb8 am: f5b262ecb7 am: d92bf3b8c4 Change-Id: I2a9189adae341f179a9f760e9d6e8340a837b38c
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵android-n-mr2-preview-1Victor Tasayco Loarte
780caf6cb8 am: 2816fafd20 am: cc73821479 am: c0898b42da Change-Id: I3b1d53ff6f2b237bc6009e823e7168543687180b
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵Victor Tasayco Loarte
780caf6cb8 am: 2816fafd20 am: cc73821479 Change-Id: I344c0f1158a9a828a675537da8b5f4de5ff806b8
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵Victor Tasayco Loarte
780caf6cb8 am: f5b262ecb7 Change-Id: Iab93a3b50b04314055855096911bbe6514f43df1
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53d am: ↵android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releaseVictor Tasayco Loarte
780caf6cb8 am: 2816fafd20 Change-Id: Ica4bc68d3fecf769822df5bb941722a358757a14
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53dVictor Tasayco Loarte
am: 780caf6cb8 Change-Id: I61598ff00892a2a44b1790504fbe90584e75cd89
2016-08-25display: invert touch cursor coordinate am: 71806925d3 am: c7456da53dVictor Tasayco Loarte
am: 780caf6cb8 Change-Id: I37e12c441d088868ab219866f39d5e667ee889c2
2016-08-25display: invert touch cursor coordinate am: 71806925d3Victor Tasayco Loarte
am: c7456da53d Change-Id: Idad3e9a5a1bc0c15c30e317e16c2c0a0e89a16c0
2016-08-25display: invert touch cursor coordinateVictor Tasayco Loarte
am: 71806925d3 Change-Id: Iaa7bc428b328059c7c1d3203795b23dd39ff22dc
2016-08-24display: invert touch cursor coordinateVictor Tasayco Loarte
Currently sprite plane and primary plane both rotate 180 to adapte AUO panel. Touch cursor coordinate also should be shifted to the position of cursor lower right corner relative to the end of plane in the unmirrored oritentation. Bug: 31058136 Change-Id: I51b2e23c2155f63694f3724defdd9be389ed914f Tracked-On: https://jira01.devtools.intel.com/browse/AW-1169 Signed-off-by: wenshelx <wenshengx.wang@intel.com>
2016-07-11Merge \"Merge \\\\\"gfx: change VSYNC from 60fps to 30fps\\\\\" into ↵Andriy Naborskyy
cw-e-dev am: 2b28f717ce am: 0de801ec62 am: b87fdd911a am: ca936c659d\" into nyc-mr1-dev-plus-aosp am: d6cb2ce994 Change-Id: I8a0400e335d03c5d1b4e72bd296ed3a1f8aa5596
2016-07-11Merge \\\\\"gfx: change VSYNC from 60fps to 30fps\\\\\" into cw-e-dev am: ↵Victor Tasayco Loarte
2b28f717ce am: 0de801ec62 am: b87fdd911a am: c80519c895 am: a592a325eb Change-Id: Id2e6b720b55ee238efcdcfc936674d64787501f9
2016-07-09Merge "Merge \\\\"gfx: change VSYNC from 60fps to 30fps\\\\" into cw-e-dev ↵Android Build Merger (Role)
am: 2b28f717ce am: 0de801ec62 am: b87fdd911a am: ca936c659d" into nyc-mr1-dev-plus-aosp
2016-07-09Merge \\\\"gfx: change VSYNC from 60fps to 30fps\\\\" into cw-e-dev am: ↵Andriy Naborskyy
2b28f717ce am: 0de801ec62 am: b87fdd911a am: c80519c895 Change-Id: I847a19602a01d589fa6b7a6ab0f5f91ce0be0e5e
2016-07-09Merge \\\\"gfx: change VSYNC from 60fps to 30fps\\\\" into cw-e-dev am: ↵Andriy Naborskyy
2b28f717ce am: 0de801ec62 am: b87fdd911a am: ca936c659d Change-Id: I6f64381526dcfd9053aa49de3097b556f41c3479
2016-07-09Merge \\\"gfx: change VSYNC from 60fps to 30fps\\\" into cw-e-dev am: ↵Victor Tasayco Loarte
2b28f717ce am: 0de801ec62 am: b87fdd911a Change-Id: Ic80c53e9bad1c2e3534a491a3e8e2c6229e8601d
2016-07-09Merge \\\"gfx: change VSYNC from 60fps to 30fps\\\" into cw-e-dev am: ↵Victor Tasayco Loarte
2b28f717ce am: 0de801ec62 am: b87fdd911a Change-Id: Ib163756b74b272f28c92ac38a4f34b173efcab2f
2016-07-09Merge \\"gfx: change VSYNC from 60fps to 30fps\\" into cw-e-dev am: 2b28f717ceAndriy Naborskyy
am: 0de801ec62 Change-Id: Ie972172a09b6c413e11b599c0a38264d6e773630
2016-07-09Merge \"gfx: change VSYNC from 60fps to 30fps\" into cw-e-devVictor Tasayco Loarte
am: 2b28f717ce Change-Id: I4cc853163ff72165e3818b9ef0faa66d215ac5cd
2016-07-09Merge "gfx: change VSYNC from 60fps to 30fps" into cw-e-devAndriy Naborskyy
2016-07-08Merge \\\\\"gfx: support external display\\\\\" into cw-e-dev am: e3e49cc873 ↵Victor Tasayco Loarte
am: 56b8c3132c am: 59b023a4d9 am: ae5896850b am: 1e29b25fd3 Change-Id: I215826bafb673011411dacf0048f99f16327276b
2016-07-08Merge \\\\\"gfx: support external display\\\\\" into cw-e-dev am: e3e49cc873 ↵Victor Tasayco Loarte
am: 56b8c3132c am: 59b023a4d9 am: 920769ebb9 am: b59cc055c8 Change-Id: I1ba3c32ca924cea3b6a6be124f429a21b034eb5f
2016-07-08Merge \\\\"gfx: support external display\\\\" into cw-e-dev am: e3e49cc873 ↵Andriy Naborskyy
am: 56b8c3132c am: 59b023a4d9 am: ae5896850b Change-Id: If6447500d7cabfdd970e803155afb0ae44eb6873