summaryrefslogtreecommitdiff
path: root/libhwc2.1
AgeCommit message (Collapse)Author
2023-09-12Merge "hwc: move updateBrightnessState into updateColorConversionInfo" into ↵Long Ling
udc-qpr-dev
2023-09-05hwc: move updateBrightnessState into updateColorConversionInfoLong Ling
Bug: 297294268 Change-Id: I22b1d9f13018d2af080e7bbf8f688373bdf9be14
2023-08-15libhwc2.1: Add HistogramController classLeo Chen
Bug: 255986866 Bug: 227384721 Test: Build pass Change-Id: I8ddfd605ac1c6a85dd17c9c551e8c25ef429988c Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-08-05Merge "libhwc2.1: Support NS mode regamma" into udc-qpr-devTreehugger Robot
2023-07-25Update layer data to indicate client targetKaruna Ramkumar
Layer 0 is now always client target (ag/22031511). Dataspace for client layer is incorrect when Update() is called which is causing color differences when switching between DPU and GPU compositions Bug: 281802256 Change-Id: Iff7aa6441a8b3fe0ba087dbe71cdca11b9a66cf8
2023-07-24libhwc2.1: Support NS mode regammaJeremy Nei
Bug: 284844244 Test: build success Change-Id: I0048d5cc9ea91fcaec4d55f27341e273a4860bfe
2023-06-15libhwc2.1: update render intent for backlight controllerPeter Lin
Bug: 254404119 test: cat sys/class/backlight/panel0-backlight/acl_mode Change-Id: I1f1b55e3b30c139ed295bb348742a9344bf5a569
2023-06-07libhwc2.1: provide resetColorMappingInfo()joenchen
When layer composition type is client composition, HWC should call resetColorMappingInfo() to reset the plane id. Bug: 280033400 Test: Play HDR video and then go back to the home screen. Change-Id: Ia242c2a40608da310c6db5f98fe1f5b04f4ee6c7
2023-05-22libhwc2.1: add MALI_GRALLOC_FORMAT_INTERNAL_P010 formatJeremy Nei
Bug: 279803577 Test: check video comp type during camera preview with HDR enabled Change-Id: I2a9537d82a3900ecf89bc611f63435cdca5ab2f3
2023-05-10Merge "libhwc2.1: enable ACL if renderIntent as COLORIMETRIC" into udc-d1-devTreehugger Robot
2023-05-02Merge "libhwc2.1: move ppc_table_map under soc namespace" into udc-d1-devWiwit Rifa'i
2023-04-17libhwc2.1: apply namespace for display unitsYongWook Shin
As projects, display units can be different. To support this, namespace is applied for display units. Bug: 238373061 Bug: 272184398 Test: manual unit test Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Signed-off-by: Petri Gynther <pgynther@google.com> Change-Id: Ie5d55d7ca53561b1635b7dc57afc92e603a888d4
2023-04-10libhwc2.1: move ppc_table_map under soc namespaceWiwit Rifa'i
Move G2D ppc_table_map under soc namespace so that we can modify the table for specific soc. Bug: 263454363 Test: build Change-Id: Ib4ebe262d4439de6484b94912186f94dfd3ff011
2023-03-31libhwc2.1: enable ACL if renderIntent as COLORIMETRIClinpeter
Bug:275482594 test: cat sys/class/backlight/panel0-backlight/acl_mode Change-Id: I26018b1fc341914109371ab1b1650e6cb8a27f3c
2023-03-30libhwc2.1: support HDR10+ full metadata am: 616748aae7Taehwan Kim
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/22299683 Change-Id: I54483a037432c03d56b7af544609376d1ebac888 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30libhwc2.1: support HDR10+ full metadataandroid14-devTaehwan Kim
Bug: 233398860 Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.EncoderHDRInfoTest Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.DecoderHDRInfoTest Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.HDRDecoderTest Signed-off-by: Taehwan Kim <t_h.kim@samsung.com> Change-Id: I0d30aedaee43657dcb70f53ffc541fe76bec9ec5 Signed-off-by: wenchangliu <wenchangliu@google.com>
2023-03-29Support non-linear brightness transition.Jeremy Nei
Bug: 255903789 Test: build success Change-Id: Ibe023f8b92f1738ae8cddf9e0997e8e4be89df90
2023-03-21Merge "libhwc2.1: put client target as the first elem for display color" ↵Joen Chen
into udc-d1-dev
2023-03-16libhwc2.1: put client target as the first elem for display colorjoenchen
HWC puts the client target data as the first element of display layer color data. It makes sure all devices have the same layer data sequence for displaycolor. (i.e. client target at the first element, and then mLayers data). Hence, display color does not need to care about device differences in the future. Bug: 271771611 Test: to take screenshots when multiple layers Change-Id: I5b16e76b8619b5e0a0e54fd2bd287ce632e1168d
2023-03-13Reduce the logs of setColorTransformKen Lin
- Only print the log on change Bug: 263169503 Test: manual atest Change-Id: I3677be9eb4285e7894728f9bd013e25c68efb1be
2023-02-02Merge "libhwc2.1: add display id for onRefresh" into tm-qpr-dev am: ↵TreeHugger Robot
66abbbebef am: 3516ef8bbc Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/20605910 Change-Id: Ie869d6e5ad2dba2075c6df6d3c99c97c23e62bbe Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02Merge "libhwc2.1: add display id for onRefresh" into tm-qpr-devandroid-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseTreeHugger Robot
2023-01-26HWC: unify Android log tagsPetri Gynther
Use "hwc-" log tag prefix for all HWC subcomponents. Bug: 266842425 Test: boot to home, check logcat logs Change-Id: I1b24928cee8ce63b0c60c9090834ac1e3cc9d796
2023-01-12libhwc2.1: add HAL_PIXEL_FORMAT_EXYNOS_YCbCr_P010_SPN supportwenchangliu
Bug: 229547170 Test: HEVC/VP9 HDR playback Change-Id: I58833faad550c557ade8e0af6a1d5b5426418c5e Signed-off-by: wenchangliu <wenchangliu@google.com>
2022-12-12Merge "libhwc2.1: add display name as constructor param"TreeHugger Robot
2022-12-06Merge "libhw2.1: change mIDLHistogram to shared_ptr" into tm-qpr-dev am: ↵Susi Su
48a8ee8241 am: df63dd053b Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/19465161 Change-Id: I340c835df23d72c683a9e9b95bdda5be71c75d34 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06Merge "libhw2.1: change mIDLHistogram to shared_ptr" into tm-qpr-devSusi Su
2022-12-01libhwc2.1: add display id for onRefreshlinpeter
Bug: 257422563 test: check on refresh call Change-Id: I5accda3ad08dd1aec0e5a14058dd9e36b62aac44
2022-11-17libhwc2.1: add display name as constructor paramWiwit Rifa'i
Bug: 245533789 Test: build Change-Id: I3ba47edc342f2f3d57d2835724c53024fd9aa37f
2022-10-14Merge "gs101 : set mPendingAtcOff as false when enable Lbe" into tm-qpr-dev ↵Gil Liu
am: d837805216 am: 660ad62c47 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/19594475 Change-Id: Icaa782240fca5ab5ce736e6c02d1ad7c8c972235 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14Merge "gs101 : set mPendingAtcOff as false when enable Lbe" into tm-qpr-devGil Liu
2022-10-13libhwc2.1: support TDM based resource allocationjoenchen
To support TDM based resource allocation, MPP structure is required to be extended. Bug: 191421040 Test: boot to home Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Change-Id: I0328aa074defff174bc18dc8a2d0318556dbab34
2022-10-05libhw2.1: change mIDLHistogram to shared_ptrsusi_su
change mIDLHistogram to shared_ptr to avoid memory error when destructing ExynosDisplayDrmInterfaceModule add lock when dealing with roi, weights, thresholds to avoid race between set and use of these data bug: b/240292495 test: tested by a histogram client program locally Change-Id: I08e60dfc787b046d922ba1abc17745695b5034a7
2022-09-20libhwc2.1: change mPowerModeState as optional am: 2a9c3daaa5 am: 681e885cfelinpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/19851855 Change-Id: I11de4c1741b43ffcc7a1e666278956b30f57fe9d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-05libhwc2.1: change mPowerModeState as optionallinpeter
Bug: 237745199 test: check display power state during booting Change-Id: Icd1fc52b19c45b712baaf91a25656b9f29ee706a
2022-08-26libhwc2.1 : Add setOutdoorVisibility function am: e3e4d3bb93 am: 9a3b487f69Gil
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/19272893 Change-Id: I1eafd8ee059aa0c93d9188d7f999c6924c303a7c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26libhwc2.1 : Add setOutdoorVisibility functionGil
for setLbeState trigger updateCABC flag Bug: 201379838 Test: CABC / LBE manual test Change-Id: I5f8fbfec90945f5421add59d27691537e5594f09
2022-08-17gs101 : set mPendingAtcOff as false when enable LbeGil
set mPendingAtcOff as false when Lbe enabling Bug: 240535525 Test: Lbe stress test and self test Change-Id: I420e0de001bed5d39f58f55e7d3cadabd49028e9
2022-07-27libhwc2.1: use namespace to identify SOC specific early wakeup nodeShiyong Li
Bug: 239493348 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I1a57603ba8fae6c3025ebf071bd18851ad864e48
2022-07-27Merge "Use namespace instead of macro for array overriding"Shiyong Li
2022-07-26Use namespace instead of macro for array overridingShiyong Li
Bug: 228647959 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I0dc50d87aad231bdac2d58aaf227aebfe929ef06
2022-07-22Merge "libhwc2.1: refactor displaycolor code"Long Ling
2022-07-22libhwc2.1: refactor displaycolor codeLong Ling
Move DisplayColorLoader to common. Move soc specific code to DisplayColorModule. Use displaycolor type alias name in shared code. Bug: 237804887 Change-Id: Iafdfc0f86f2586eac2520dfbac654f94524bc7db
2022-07-21gs101: isLbeSupported function implement am: e1900292dd am: d9dc4b9f17linpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/18665110 Change-Id: I879a225285332ea989134c1f5f7615f85c6b38c0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-19libhwc2.1: allow different enum and array definition per socShiyong Li
- conditionally include decon_idma_type enum definition - Use macro definition to allow some array overriding Bug: 228647959 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I19f7c84249741188235c99aac74c4ef1a86e0234
2022-07-14gs101: isLbeSupported function implementlinpeter
Bug: 210380703 test: lbe on/off Change-Id: I8368278e1b5cafa8783d4243976a206ab0366523
2022-06-14Merge "libhwc2.1: move getDisplayTypeFromIndex to common" into tm-qpr-devTreeHugger Robot
2022-06-01libhwc2.1: determine panel calibration status am: e8ad90586dJeremy DeHaan
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/18606872 Change-Id: Ie5131a2e65cec1fd064f08b63826f4e1e3cda772 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01libhwc2.1: determine panel calibration statusandroid13-devJeremy DeHaan
A function to calculate a panel's calibration status was added to HWC. This is exposed over an AIDL interface to other services. Bug: 228113713 Change-Id: Ib14589ac8bb5e56d4fb24d837f1721b49f2c5d55
2022-05-27libhwc2.1: reuse plane id only when assigned dpp index is the sameLong Ling
Bug: 233709545 Test: rotate 4k HDR video in YT Change-Id: I584f7d25268c3e82e25023fe5335a3922bf03185