summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-20hwcomposer: fix warningsHEADandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releasemastermainSimon Dubray
- remove unused variables and functions - avoid comparison between different types - fix old-style field designator extension - fix wrong print format - unhide an overloaded virtual function - add flag -Wno-unused-parameter to disable these ones Bug: 110425202 Change-Id: I37623d93c0e497c733532050c88644812c4d9bb7 Signed-off-by: Simon Dubray <simonx.dubray@intel.com>
2017-08-02Use frozen copy of ion.h for this code. am: ad2a78606b am: 627667649bandroid-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.7android-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7android-n-iot-release-ihome-igv1oreo-mr1-1.2-iot-releaseo-mr1-iot-preview-8o-mr1-iot-preview-7nougat-iot-releaseChristopher Ferris
am: 44c0ce2d4b Change-Id: I6ad3bdd5c5c0bc836e07100ee230f144f6418c01
2017-08-02Use frozen copy of ion.h for this code. am: ad2a78606bandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Christopher Ferris
am: 627667649b Change-Id: I15ad57f88c06de3064793cbc4c7b3bc09e04315a
2017-08-02Use frozen copy of ion.h for this code.Christopher Ferris
am: ad2a78606b Change-Id: I6a2f9de98e165fee6f8a3ea911b915393764dde6
2017-08-01Use frozen copy of ion.h for this code.android-o-mr1-preview-2android-o-mr1-preview-1Christopher Ferris
Use the ion.h copy in system/core/libion since it's frozen. Test: Builds. Change-Id: Iabbd89691a9ca6b25fde320180b80aba3769b6c7
2017-05-10fix circular dependency libnativewindow <-> libuioreo-mr1-devoreo-dr1-devMathias Agopian
Bug: 37647680 Bug: 37648355 Test: compile, manual Change-Id: I7e5f416f25852b59531dad929e93881533ddf5d8
2017-05-10fix circular dependency libnativewindow <-> libuiMathias Agopian
Bug: 37647680 Bug: 37648355 Test: compile, manual Change-Id: Idcf26a65cad5f6694118c68861e6d409ac187940
2017-05-10Implement display blank function. am: ddb9b7fce0Austin Hu
am: 5771ac857c Change-Id: I6bd70326e3cb394f8fe9cb7200d19d149e877bef
2017-05-10Implement display blank function.Austin Hu
am: ddb9b7fce0 Change-Id: I2a90a68a2363455e8bc4f5713accd1804c7a1fde
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-09Fixed Klocwork warnings. am: cc0ec6239aLang Dai
am: 7fe2b490b8 Change-Id: I7f14c1d607c052ca6245b99e093e525d8356a87a
2017-05-09Fixed Klocwork warnings.Lang Dai
am: cc0ec6239a Change-Id: I7008770de3ac554e4ff162795b3538219268ebcf
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-18Fixed the screen freeze issue for any frame with only FBT layer. am: b4a718c0d8Austin Hu
am: 4e326a4e05 Change-Id: I345be17706391e7e0a1537d812017d97a9945f25
2017-04-18Fixed the screen freeze issue for any frame with only FBT layer.Austin Hu
am: b4a718c0d8 Change-Id: I0a228bf5d022169fc2cba200026a610f9e2eefe4
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_FRAMEBUFFER am: e7759c7536Austin Hu
am: 8189283834 Change-Id: I0ee5fc85f95c330e26d8daf27a6def507a598e03
2017-04-06Do not reset layer type when it is FORCE_FRAMEBUFFERAustin Hu
am: e7759c7536 Change-Id: I51baef38c2f4a882474bc828ff822a955148d796
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-05Remove useless GraphicBuffer() constructor am: 56085c1fa6Mathias Agopian
am: ec8704c27f Change-Id: I6522a4d418c78c5571dc9ff72f01fae26e2b0400
2017-04-05Remove useless GraphicBuffer() constructorMathias Agopian
am: 56085c1fa6 Change-Id: Idf08a0d7575b530a256fac40a1702114cbf5799f
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