Commit Graph

4336 Commits

Author SHA1 Message Date
android-build-team Robot 7741952ce8 Snap for 4628106 from 3756b400ce to pi-release
Change-Id: I4b362d2f1a3e3fcbaef64b6622796eda100005b6
2018-03-01 08:28:19 +00:00
Alexey Polyudov 3756b400ce Use libhwui.so instead of libskia.so
Change-Id: Ie60ee11910f7e0b2da20e8634c38265e86b5742c
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2018-02-27 14:05:59 -08:00
android-build-team Robot f0430c2199 Snap for 4613997 from 8427dbeb79 to pi-release
Change-Id: I246011a412d3fde8b2517f167be89a04166043f0
2018-02-21 08:23:56 +00:00
Ch Ganesh Kumar 8427dbeb79 hwc2: avoid adding default color mode when display PP is unsupported.
For targets that do not support display post processing, setting of
color modes is a no-op. The inclusion of the default Identity color
mode in the color transform map will be avoided when the flag
TARGET_EXCLUDES_DISPLAY_PP is set in order to signify that no color
modes are supported when PP features are not supported in the target

Change-Id: If3929b38ec7a093498c404da1798eaccbc97a281
2018-02-20 17:09:34 -08:00
Rohit Kulkarni 8402b86cd9 hwc2: hwc: Validate input parcel values for few qclient methods.
Validate values read from input parcel as part of handling of
few qclient methods

Change-Id: Icf928f409a5c2ac76a73e95de58cb0ebc59d24d5
CRs-Fixed: 2114346
2018-02-20 17:09:34 -08:00
Ramkumar Radhakrishnan b85c4c7be2 hwc2: Fix NULL pointer dereference and out of bound access
Change-Id: Ib7a2ce818b1e6f5203f03138a95b2754ff446127
CRs-Fixed: 2114346
2018-02-20 17:09:34 -08:00
Saurabh Shah 4ab72fe774 gralloc1: Check input addresses for null
Change-Id: Iddfcc07e50d3503a69b3604e5bd7f025f2b20534
CRs-Fixed: 2114346
2018-02-20 17:09:34 -08:00
android-build-team Robot 9064717711 Snap for 4610834 from c348e7790e to pi-release
Change-Id: Icb626061bd679697a4ff057cb71b571876545e08
2018-02-18 08:27:53 +00:00
Chong Zhang c348e7790e Fix logic to use uncached for READ/WRITE_RARELY
bug: 72940776

Change-Id: I76a9abfa6295095fb1f1e8aa15066c79ab1c143b
2018-02-16 10:55:23 -08:00
android-build-team Robot 7aa562ae87 Snap for 4598635 from 9a2db0127f to pi-release
Change-Id: Ib87cdc9ab807afa60cfe263ac15217fd5834c589
2018-02-11 08:21:37 +00:00
Alain Vongsouvanh 9a2db0127f display: fix compilation issues for 3100.
* Add missing headers.
* Remove unused variables.
* Remove unknown dependencies.

BUG: 73113371
Change-Id: If15612aa6ac4a59db652e02d66355701e240d688
2018-02-09 01:33:39 +00:00
Rajavenu Kyatham a9869b043c sdm: block commits in doze_suspend state
Change-Id: I495cd9748f6dbdf7b1dd80cffa35759e529ff7cf
2018-02-08 14:32:12 -08:00
Rajavenu Kyatham 582ae2e02c sdm: Avoid rotator for MDP3
Change-Id: I9de7b904a36b419dd5516ff01051c84687bd0c78
CRs-Fixed: 2162502
2018-02-08 14:32:07 -08:00
Rajavenu Kyatham 5cc05e4d00 sdm: unify doze and doze_suspend on 8909w
- Legacy hal doesn't maintaining two different
  modes like doze and doze_suspend.
- Legacy hal uses FB_BLANK_VSYNC_SUSPEND.

CRs-Fixed: 2140924
Change-Id: I080b43089d335eff65c29de60c67112d5a4f1dd9
2018-02-08 14:32:01 -08:00
Sundara Vinayagam f2e9c44d62 libgralloc: Fix adding offset to the mapped base address
Change-Id: I16f0625af343f6a05ee54285cdca8b6a56fc511e
2018-02-08 14:31:57 -08:00
android-build-team Robot eb70eda630 Snap for 4574286 from ef09bce3c4 to pi-release
Change-Id: I84880917b615ba57bc4e1a5509ec48ca687d1bc5
2018-01-30 08:24:16 +00:00
gitbuildkicker 9623dcd1dd merge in pi-release history after reset to master 2018-01-29 14:54:45 -08:00
Naseer Ahmed ef09bce3c4 sdm: Fallback on scRGB layers
We don't know how to handle blending when scRGB layers show up.
Fallback entirely to GPU.

Bug: 72125973
Change-Id: Ib01ac0c920bd34f011f0a4d3e76e71d4c7b036e2
2018-01-29 12:28:14 -08:00
gitbuildkicker 7076b965e8 merge in pi-release history after reset to master 2018-01-29 11:54:42 -08:00
android-build-team Robot 8f8b34d3c4 Snap for 4571561 from 3c77a6bd38 to pi-release
Change-Id: I90a5e124d20415a4afbaed2911e910b5c45666b7
2018-01-28 08:27:16 +00:00
Adrian Salido 3c77a6bd38 Merge "hwc: Fix request flag reset and Present() bailout" 2018-01-26 19:11:26 +00:00
Jiyong Park 9f455f0d35 Explicitly export headers from gralloc.* and gralloc_headers
Publicly visible headers of the lib uses other headers from liblog and
libhardware. Therefore, explicitly export the required headers so that
the client that is using this library doesn't need to add additional
dependency.

Bug: 69526027
Test: mma -j under libgralloc1
Change-Id: I532bc43e0d8ff428008709d95983ec98342017d8
2018-01-26 15:15:44 +09:00
TreeHugger Robot 0e97d16da2 Merge "Make libqservice build with the VNDK." 2018-01-26 00:34:35 +00:00
TreeHugger Robot 1c7691da8f Merge "Make memtrack build with the VNDK." 2018-01-26 00:16:06 +00:00
TreeHugger Robot 8892e88da7 Merge "Import headers for enabling VNDK." 2018-01-26 00:11:33 +00:00
Steven Moreland d162d7f96b Make libqservice build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build libqservice with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: Id98bf5e2ecc6f514f1d4dd9580d25027f36e0d86
2018-01-25 14:25:09 -08:00
Steven Moreland 8be2ccb1ea Make memtrack build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build memtrack with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: Ie3cb9ffb72931fbb0cc816f5158a649e09f7bb43
2018-01-25 14:15:59 -08:00
Steven Moreland c0f68916f8 Make light build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build light with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: I8ad1da8aa2802a93493c877644266995c59f18ab
2018-01-25 14:11:24 -08:00
Steven Moreland 31174f4806 Import headers for enabling VNDK.
These modules don't explicitly declare their
dependence on hardware/gralloc1.h

Bug: 69526027
Test: mma -j BOARD_VNDK_VERSION=current
Change-Id: If9e5636635c7d039d7fa924cb51fa5f838ee6bca
2018-01-25 12:29:25 -08:00
Naseer Ahmed c9bb61606f hwc: Fix request flag reset and Present() bailout
The ClearRequestFlags() method iterates over layer_stack_ instead of
layer_set_. This causes a use-after-free since DestroyLayer() removes
layer from layer_set_ only. Besides that, the method need not be
virtual and has a redundant loop. This change removes the
ClearRequestFlags() method and clears flags in an existing loop.

Present() bails out if layer_set_ is empty or a shutdown is pending.
Since layers could have been destroyed before Present(), ideally
bailing out on re-validation has a higher priority over the rest.

Bug: 71538967
Change-Id: Ic7b31bbd07a22b8df47fccb2024b3415ab3a559b
CRs-fixed: 2165926
Acked-by:  Saurabh Shah <saurshah@codeaurora.org>
2018-01-24 16:37:49 -08:00
android-build-team Robot a0cd1ddd67 Snap for 4562879 from 0a489f6722 to pi-release
Change-Id: Ie30f551e9acf6227d04f9d6775e2f5f9cb71e1a4
2018-01-24 08:20:33 +00:00
gitbuildkicker 296d23aced merge in pi-release history after reset to master 2018-01-22 22:26:22 -08:00
Martin Brabham 0a489f6722 Include string.h
libgralloc: strerror needs string.h
libqdutils: strerror needs string.h
libcopybit: memcpy needs string.h

Bug: 72343089
Change-Id: I36226fd656d26c4d0486d1c99f2317376c0d08dd
2018-01-22 20:37:22 -08:00
gitbuildkicker 7d04c8d963 merge in pi-release history after reset to master 2018-01-22 16:03:20 -08:00
android-build-team Robot e67ba1120e Snap for 4557233 from 3cbaab7381 to pi-release
Change-Id: I6985574905b038deec78ebfd3d54036e0844ecb1
2018-01-21 08:21:50 +00:00
Dan Albert 3cbaab7381 Merge "Include what we use." am: c24cbf3829 am: 772a4baaa6
am: a90df9f941

Change-Id: I65af6fdca335304d9ea7ee2339fd89f3b42cd76b
2018-01-18 22:32:14 +00:00
Dan Albert a90df9f941 Merge "Include what we use." am: c24cbf3829
am: 772a4baaa6

Change-Id: I1178bfc3a3c3cfc70d1e8208a2492c4845b2d728
2018-01-18 22:29:47 +00:00
Dan Albert 772a4baaa6 Merge "Include what we use."
am: c24cbf3829

Change-Id: I00bb163c9089918188481ede0854acdfa69a1f80
2018-01-18 22:28:11 +00:00
Treehugger Robot c24cbf3829 Merge "Include what we use." 2018-01-18 22:20:19 +00:00
Dan Albert cd4a5d0fb6 Include what we use.
Bug: None
Test: mm
Change-Id: I664f436e233e284339fbab86701ac7279e8e8aa1
Exempt-From-Owner-Approval: Janitorial
2018-01-18 12:00:30 -08:00
Andreas Gampe fb7521d9eb Merge "Libgralloc: Fix missing include" am: ce46f1136d am: 0813333914
am: 78c8f17661

Change-Id: I3408214912a6fd1968879c43b5fd5c244caf9bb2
2018-01-18 10:45:25 +00:00
Andreas Gampe 78c8f17661 Merge "Libgralloc: Fix missing include" am: ce46f1136d
am: 0813333914

Change-Id: Id339c250ad620f1098a085bc7c9a9907115aa0f0
2018-01-18 10:37:42 +00:00
Andreas Gampe 0813333914 Merge "Libgralloc: Fix missing include"
am: ce46f1136d

Change-Id: If470781ccbcdc162725441bc385b2f9a3a0b7666
2018-01-18 10:35:42 +00:00
Treehugger Robot ce46f1136d Merge "Libgralloc: Fix missing include" 2018-01-18 10:26:27 +00:00
Andreas Gampe ac49d76787 Libgralloc: Fix missing include
strerror requires string.h.

Test: m
Change-Id: Ic28fa20a43c3bdee9a3f9d3678b95f6a4a5a9d2e
2018-01-17 21:34:06 -08:00
android-build-team Robot 6fe6fe5a90 Snap for 4531101 from 2efafb709f to pi-release
Change-Id: Ibb439e8f3e16e0eb36ef6463b16b7840b7478997
2018-01-07 08:33:00 +00:00
Chih-Hung Hsieh 2efafb709f Merge "Add -Wno-error to compile with global -Werror." am: ba84398b1f am: f88e27c6f7
am: 74b87d4300

Change-Id: Ie5030a1c99aaaea8636f84505a518dcf7281e191
2018-01-05 09:40:00 +00:00
Chih-Hung Hsieh 74b87d4300 Merge "Add -Wno-error to compile with global -Werror." am: ba84398b1f
am: f88e27c6f7

Change-Id: If016404dd83fba810e6ecd7db6d68a8cdb722b28
2018-01-05 09:37:29 +00:00
Chih-Hung Hsieh f88e27c6f7 Merge "Add -Wno-error to compile with global -Werror."
am: ba84398b1f

Change-Id: I71bead63b6c6eb41c12bd45927f0bc3be7175649
2018-01-05 09:34:55 +00:00
Treehugger Robot ba84398b1f Merge "Add -Wno-error to compile with global -Werror." 2018-01-05 09:28:29 +00:00