| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
- Initialize transform matrix with an identity matrix.
- Use matrix when mode map is empty.
- Do not reapply mode if it is the same as before.
- Do not reapply hint if it is the same as before.
Bug: 68721781
Change-Id: Iac6d76ceded65b8527abf0b0f26ffc76479e5db9
|
| |\
| |
| |
| | |
into pi-dev
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
MSM8909W display HAL code copied from CAF release LW.BR.4.0-00800-8x09w.0.
Bug: 79356346
Test: build
Change-Id: Ie801976595c8ed9164b0d91737f5daf40764d8a6
Signed-off-by: Ben Fennema <fennema@google.com>
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* changes:
hwc2: Check for color modes support
sdm: allow commits in doze_suspend as well.
hwc: Fix request flag reset and Present() bailout
sdm: hwc2: Add support for TWM entry and exit.
hwc2: Determine virtual display presence based on target specific property
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check for color modes support by Display, before marking layer as HDR.
Bug: 79541227
CRs-Fixed: 2102517
Change-Id: Id8595dcb322900f98556c40fde94fa88e3ec4e39
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- revert of I495cd9748f6dbdf7b1dd80cffa35759e529ff7cf
Bug: 79541227
Change-Id: I50c4227d4855673e093fcba38a6454edaf0e1bf7
CRs-Fixed: 2140924
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: 79541227
CRs-Fixed: 2165926
Change-Id: Ic7b31bbd07a22b8df47fccb2024b3415ab3a559b
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Implement SET_STAND_BY_MODE binder support. SKGHAL
use this api to inform HWC about TWM entry/exit.
- Move to null display to drop all incoming calls
from surfaceflinger on TWM entry.
- Move to normal display on TWM exit.
- Add scope_lock for SET_STAND_BY_MODE API.
Bug: 79541227
CRs-Fixed: 2200577
Change-Id: I26ef3b1af53856f68f76b116988cc2a28c06b6ac
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GetMaxVirtualDisplayCount returns a hard-coded value. Return virtual
display count based on a property that is target specific.
Return a value of 1 by default when the property is not found in the
target device.
Bug: 79541227
Change-Id: I4c9727ad1687fc7e53c89ce5e41973628022acec
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| | |
Validate right roi before using them in when dumping
the frame information.
Bug: 73253473
Change-Id: Ifa75c83d33f3d76914b47c9c8168eb4061ac5f88
Acked-by: Gousemoodhin Nadaf <gnadaf@codeaurora.org>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Layers with gamma 2.8 were being marked as not supported
and falling back to GPU, report them as supported and
handle them for HW composition
bug:77471420
Test: Reproduce bug scenario. With the CLs, verified both video and audio
work as expected using all the video modes.
Merge from https://partner-android-review.googlesource.com/#/c/1063539
Bug: 77471420
Change-Id: I5a94cbfc1ac9be22a6165803a79f6dca5711db34
Crs-fixed: 2220717
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add missing BT601_6_625 handing
bug:77471420
Test: Reproduce bug scenario. With the CLs, verified both video and audio
work as expected using all the video modes.
Merge from: https://partner-android-review.googlesource.com/#/c/1063538
Change-Id: I10034f38c8ab2283f13556ddf37bea51e7356a79
CRs-fixed: 2129768
Acked-by: Saurabh Shah <saurshah@codeaurora.org>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Disable skip validation for solid fill during calibration.
* Require validation when the client changes the composition type
Bug: 77925367
CRs-Fixed: 2122072
Change-Id: I9ded200e5c15701f653c73d67c18c41de8278d52
|
| | |/
|/|
| |
| |
| |
| |
| |
| | |
Close acquire_fence_fd to avoid
fence fd leak.
Bug: 77140352
Change-Id: I32eacdf658f59c21f45955d34dd3de5751badbe4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Storage for six pollfd structs is allocated on the stack in a 2d array.
Subsequently, the address of the first element is passed to poll along
with the same total number of fds. At this point, the fortify dynamic
checker, considering only one of the dimensions of the array, throws an
error and warns that array is too small. Since the array is actually
sized appropriately, use a reinterpret_cast to subvert the checker.
Bug: 77323983
Change-Id: Ib88c5a00bc84b3d05be95baf57df5f522a769da4
|
| | |
| |
| |
| |
| | |
Bug: 68395248
Change-Id: I4ac93464aa2ccf416577b4067ed658b525089983
|
| |/
|
|
|
|
|
|
| |
This is a manual merge of CAF commit e7da5462bc8d7e8c2a8c1595ae12949237183979.
BUG: 76115647
Change-Id: I8b04ba1c130556613e2bf6b32affce4965f95b46
(cherry picked from commit a01e3f5f6d0905c14537cacebad296babc34b6d2)
|
| |
|
|
|
| |
Change-Id: Ie60ee11910f7e0b2da20e8634c38265e86b5742c
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Validate values read from input parcel as part of handling of
few qclient methods
Change-Id: Icf928f409a5c2ac76a73e95de58cb0ebc59d24d5
CRs-Fixed: 2114346
|
| |
|
|
|
| |
Change-Id: Ib7a2ce818b1e6f5203f03138a95b2754ff446127
CRs-Fixed: 2114346
|
| |
|
|
|
| |
Change-Id: Iddfcc07e50d3503a69b3604e5bd7f025f2b20534
CRs-Fixed: 2114346
|
| |
|
|
|
|
| |
bug: 72940776
Change-Id: I76a9abfa6295095fb1f1e8aa15066c79ab1c143b
|
| |
|
|
|
|
|
|
|
| |
* Add missing headers.
* Remove unused variables.
* Remove unknown dependencies.
BUG: 73113371
Change-Id: If15612aa6ac4a59db652e02d66355701e240d688
|
| |
|
|
| |
Change-Id: I495cd9748f6dbdf7b1dd80cffa35759e529ff7cf
|
| |
|
|
|
| |
Change-Id: I9de7b904a36b419dd5516ff01051c84687bd0c78
CRs-Fixed: 2162502
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
Change-Id: I16f0625af343f6a05ee54285cdca8b6a56fc511e
|
| |
|
|
|
|
|
|
| |
We don't know how to handle blending when scRGB layers show up.
Fallback entirely to GPU.
Bug: 72125973
Change-Id: Ib01ac0c920bd34f011f0a4d3e76e71d4c7b036e2
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
These modules don't explicitly declare their
dependence on hardware/gralloc1.h
Bug: 69526027
Test: mma -j BOARD_VNDK_VERSION=current
Change-Id: If9e5636635c7d039d7fa924cb51fa5f838ee6bca
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
libgralloc: strerror needs string.h
libqdutils: strerror needs string.h
libcopybit: memcpy needs string.h
Bug: 72343089
Change-Id: I36226fd656d26c4d0486d1c99f2317376c0d08dd
|
| |\
| |
| |
| |
| |
| | |
am: a90df9f941
Change-Id: I65af6fdca335304d9ea7ee2339fd89f3b42cd76b
|
| | |\
| | |
| | |
| | |
| | |
| | | |
am: 772a4baaa6
Change-Id: I1178bfc3a3c3cfc70d1e8208a2492c4845b2d728
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: c24cbf3829
Change-Id: I00bb163c9089918188481ede0854acdfa69a1f80
|
| | | | |\ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: None
Test: mm
Change-Id: I664f436e233e284339fbab86701ac7279e8e8aa1
Exempt-From-Owner-Approval: Janitorial
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 78c8f17661
Change-Id: I3408214912a6fd1968879c43b5fd5c244caf9bb2
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 0813333914
Change-Id: Id339c250ad620f1098a085bc7c9a9907115aa0f0
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: ce46f1136d
Change-Id: If470781ccbcdc162725441bc385b2f9a3a0b7666
|