summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-21Snap for 10844344 from 98b3c1884d78a4e906b31e3be54b3e98cf6acf48 to ↵android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16android14-qpr1-s2-releaseandroid14-qpr1-releaseAndroid Build Coastguard Worker
udc-qpr1-release Change-Id: I427f92853b670b31d11ed7d53101becd930f171a
2023-09-21Merge changes from topic "optimize-instructions-count-b295892886" into ↵Wiwit Rifa'i
udc-qpr-dev * changes: libhwc2.1: avoid finding std::map element twice libhwc2.1: change small std::map to std::array
2023-09-19Snap for 10832001 from 83c9109add0dc05b67ab7ea99400c698a2339343 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ic8be4a0abc5f6806382543569eb76fd70bb430c7
2023-09-19clang-format: add IncludeBlocks Preserve & PointerAlignment LeftWiwit Rifa'i
We usually follow the same code style from framework/native. This will add some new rules that have been added to framework/native but not added here yet. Bug: 295892886 Test: git-clang-format Change-Id: I2a33fb9cbb8b4b9471d78de7708e9f4087b1e48d
2023-09-18libhwc2.1: avoid finding std::map element twiceWiwit Rifa'i
We should not use std::map::at() after calling std::map::find() for the same key. Otherwise, it would find the same element twice and it's unnecessary. Bug: 295892886 Test: trigger assignResource using hwc-tester & check simpleperf Change-Id: I971965a8b2a84120c989e55b87e223225ea32456
2023-09-18libhwc2.1: change small std::map to std::arrayWiwit Rifa'i
Constructing and accessing a map are more expensive than a fixed-size array for small container with small indices. Bug: 295892886 Test: trigger assignResource using hwc-tester & check simpleperf Change-Id: I9b059a4de276f9906e9361dff6520628965054ae
2023-09-06Snap for 10770143 from afbc2293eb633e0dbfac32d8e4ef712fc6aa94b8 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Id3866bee767c877c7174d42ba5302cdb483e0464
2023-09-05libhwc2.1: don't construct string if debug log is disabledWiwit Rifa'i
In ExynosResourceManagerModule::otfMppReordering, we still construct the debug string even though it's not used because the debug log is disabled by default. So, we should only construct the debug string if the debug log is enabled. Bug: 295892886 Test: trigger assignResource using hwc-tester & check simpleperf Test: adb shell vndservice call Exynos.HWCService 105 i32 16777216 Change-Id: Id319a2e8ac0a762f0da924597bf6b5763b839655
2023-08-29Snap for 10732685 from 237752a978a1b06a880ae01e323bfa2aef6c188a to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ida24d85acd3f84cb37eb5a4b56c6afa4c365d1ee
2023-08-29libhwc2.1: enter ns mode after boot when smooth display offSafayat Ullah
If smooth display is disabled, after reboot device will enter NS mode without a suspend-resume first if For first boot: vendor.primarydisplay.op.peak_refresh_rate=60 For later boot: persist.vendor.primarydisplay.op.peak_refresh_rate=60 Bug: 290162920 Test: The following scenarios 1. Set smooth display on/off and reboot 2. After turn on and off smooth display, device will enter ns after suspend-resume 3. Factory reset Change-Id: I7154bbdd47c1a773c2a5ddbf7395ebc875226562 Signed-off-by: Safayat Ullah <safayat@google.com>
2023-08-26Snap for 10719298 from 2ccf04c16d30086931e02220fd24ed38f341c181 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I997aa06d1f86bc284a781f9384e36f16ffafae85
2023-08-23libhwc2.1: libdisplayinterface: override sendHistogramChannelIoctlLeo Chen
If control is REQUEST, call histogram_channel_request_ioctl which creates the drm event to request the histogram data. If control is CANCEL, call histogram_channel_cancel_ioctl which frees the drm event to cancel the histogram data request. Bug: 255986866 Bug: 227384721 Test: use aidl_hist_client to test multi channel histogram Change-Id: I2d87aa7e92128ac0430ae12ad3a913fc4db960b4 Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-08-23libhwc2.1: Add HistogramController classLeo Chen
Bug: 255986866 Bug: 227384721 Test: use aidl_hist_client to test multi channel histogram Change-Id: If9372091533d882edcb9dbb7fd94801f64dc4c74 Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-08-07Snap for 10622798 from b21fac0c042ab14b33dde8b44a7d8102efb65db6 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ifca4b2f8e7f75587669f2a11d7f108faf33d0a40
2023-08-04Add chiungfu@ to OWNERSChiung-fu Chen
Bug: 294345293 Test: none Change-Id: Ib9d63275997bba7d985cfa91cc44fed44ca82404
2023-07-18Snap for 10515480 from 9c198077143fcdcab2c0534f89fd0aa0ff2a60a3 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I485b1cd561e3a49a43bddb08604f0eaa1fcdd2dd
2023-07-14libhwc2.1: OperationRateManager: save target operation rate am: abd1d92d70Chris Lu
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23844793 Change-Id: Id3c4602aa249a59a92cc2b10f7b5c7061e276f0a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-13libhwc2.1: OperationRateManager: save target operation rateChris Lu
Save target operation rate instead of writing to the sysfs node since we will change it via atomic commit path. Bug: 284094183 Bug: 289042122 Test: change operation rate via brightness/config/power mode Change-Id: I106de21ec0bb4094542aefc7b7109ab4dd9f304c Merged-In: I106de21ec0bb4094542aefc7b7109ab4dd9f304c
2023-06-17Snap for 10341497 from e2fd6c48f6fb7ed2ffbb9697306cb10722f48252 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Iee4692d5a6216b73473b36ae4d167c035183fb29
2023-06-16libhwc2.1: get active operation rate from kerenl when power on am: c8122475f8Midas Chien
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23659932 Change-Id: Ib2823a20eebc0e79d6d3b383c62891166a128b1c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15libhwc2.1: get active operation rate from kerenl when power onMidas Chien
Reading data from kernel sysfs node takes time. To avoid do it frequently, update active operation rate from kernel when power on display. Bug: 287042355 Test: NS/HS switch, AOD Change-Id: I0e9f0c8dec3c55ca3c13ed52105293c1ef0de62d
2023-05-24Snap for 10186302 from da109c0e53cc04879238f4dea6bc8a863b7870f9 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I3e1c38d75785e189a19b4127645da5f0f0c37d86
2023-05-23libhwc2.1: add MALI_GRALLOC_FORMAT_INTERNAL_P010 format am: 3b71590c81Jeremy Nei
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23368976 Change-Id: I697d3c5397c123112bc29076f90043866bb02977 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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: I292d8060fb0735584918dd490cb076a1af132ab1
2023-05-11Snap for 10109327 from d0bb6da6a0ead85718ae5fb1927b871db590b6f9 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I455f56e68542415e3f9719b18779dced997b90f6
2023-05-10libhwc2.1: modify a WCG constraint by DPUF+AXI am: 813a151148joenchen
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22789265 Change-Id: I54cb0e6c67b5758273b48f226d5529d6b3bb4de4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-05libhwc2.1: modify a WCG constraint by DPUF+AXIjoenchen
HWC must consider DPUF and AXIPort for WCG constraints because WCG engines do not support HW load sharing. All DPPs are divided into 4 groups by DPUF+AXI, and each group supports at most 4 WCG layers. Therefore, HWC adds and modifies the HWResourceTable to consider the AXI Port factor, and then sets up the mDisplayTDMInfo. In checkTDMResource(), there are two different ways to load sharing: LS_DPUF and LS_DPUF_AXI. When the TDM attribute is LS_DPUF, HWC only sums all layer requirements from the same DPUF. When the attribute is LS_DPUF_AXI, HWC needs to consider the AXI port as well. Bug: 191421040 Bug: 278001221 Test: unlock screen when full resolution Change-Id: Idc771fc47eabcf89a45d6fc18eeb543043f2c613
2023-05-04Snap for 10063449 from 43ed8abb852bdd565762ec1e679ba458159db542 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I7136b6495fe3824b35cae7f6942d9a4a6cc5deed
2023-05-03Merge "libhwc2.1: OperationRateManager: correct HS switching condition" into ↵Treehugger Robot
udc-d1-dev am: 6d177968f7 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22922175 Change-Id: I7b7bb11347a2fbfc991975edd40a55e78e624819 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-03Merge "libhwc2.1: OperationRateManager: correct HS switching condition" into ↵Treehugger Robot
udc-d1-dev
2023-05-03Snap for 10054401 from 170e6a0725d7f163e6d263a88b23d01d4b6436f2 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I248432267953fdb385b7d1bb27882a634fa634f4
2023-05-02Merge "libhwc2.1: move & update ppc_table_map" into udc-d1-dev am: 8689a8a2daWiwit Rifa'i
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22178647 Change-Id: I5dd0ee0711d1750a9b88104a7253280e6e86336f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-02Merge "libhwc2.1: move & update ppc_table_map" into udc-d1-devWiwit Rifa'i
2023-04-28libhwc2.1: OperationRateManager: correct HS switching conditionShiyong Li
Switch to desired HS immediately even if DVB delta < 10. Bug: 277682793 Bug: 277713157 Test: auto suspend/resume, cover als, check op rate Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: Iace928b73f9ec70d38a3945e2caa9e3b94b555a9
2023-04-28Snap for 10017868 from ac2244a3bb63910006021ed3eaf3b78bd6bf6ecb to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I572d927ba2fb26e7cc1c276687d4bd9552d617ee
2023-04-26Merge "libhwc2.1: move getRefreshRate() out of class OperationRateManager" ↵Treehugger Robot
into udc-dev am: 62db04ddf0 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22539519 Change-Id: Icce6cc2a0bde14017900a406261a232ccf71705a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25Merge "libhwc2.1: move getRefreshRate() out of class OperationRateManager" ↵Treehugger Robot
into udc-dev
2023-04-24libhwc2.1: skip to check preblending when no display colorjoenchen
HWC skips to check preblending when no display color to avoid null pointer dereference Bug: 272567106 Test: remove display color and boot up Change-Id: I0e66014b79e0cc4dded128c54d648c915b0789ba
2023-04-19Merge changes from topic "dp-dev-merge-hwc" into udc-d1-devPetri Gynther
* changes: libhwc2.1: Assign 3 DPPs for external display libhwc2.1: apply namespace for display units
2023-04-19libacryl_plugins: fix swapped offset-value for setEotfScalar am: a7bfd6bd39Wiwit Rifa'i
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22699045 Change-Id: I19c2f4722ec81282fb3f39aaeed64554af9b2ce1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18libacryl_plugins: fix swapped offset-value for setEotfScalarWiwit Rifa'i
Bug: 277871672 Test: play HDR video Change-Id: I9b5f07418ea125e49d90d6cd026267d7e1ad1d55
2023-04-17libhwc2.1: Assign 3 DPPs for external displayPetri Gynther
External display will use these DPPs: DPP_GFS6, DPP_GFS7, DPP_VGRFS5 All of them in DPUF1, connected with AXI0 port. Bug: 238373481 Bug: 272157718 Bug: 272184398 Test: manual DP unit test Change-Id: I92739abca0ecc816e2f43cffdab352ae77254582
2023-04-17libhwc2.1: apply namespace for display unitsPetri Gynther
As projects, display units can be different. To support this, namespace is applied for display units. It supports additional External Display. Bug: 238373481 Bug: 272184398 Test: manual DP unit test Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Signed-off-by: Petri Gynther <pgynther@google.com> Change-Id: I88697ab41c5b92af856bbe490823144a95e600ab
2023-04-10libhwc2.1: move & update ppc_table_mapWiwit Rifa'i
Move G2D ppc_table_map under soc namespace so that we can modify the table for specific soc. And, update ppc_table_map according to the latest measurement for zuma. Bug: 263454363 Test: play some videos that needs G2D Test: simulate various scenarios with hwc-tester Change-Id: I0ccdfff532568001cab94b6357a874cc534ba25b
2023-04-08libhwc2.1: move getRefreshRate() out of class OperationRateManagerShiyong Li
Bug: 250979028 Change-Id: I52f98dd23d728259681700bb122d24111310b5d8 Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-03-31Revert "zuma: Disable G2D HDR temporarily"Karuna Ramkumar
This reverts commit 44733ca767702fa1ad09d109775f6b22e835d80c. Bug: 225772892 Change-Id: I1aa5c9844b449868cb2d7754bb635985019afc40
2023-03-31Merge "libhwc2.1: update compression info" into udc-d1-devWiwit Rifa'i
2023-03-29Merge "libhwc2.1: The client target needs preblending" into udc-d1-devJoen Chen
2023-03-28libhwc2.1: The client target needs preblendingjoenchen
checkPreblendingRequirement() missing the preblending Requirement of client target Bug: 274931940 Test: Go -1 screen and try to capture BR or screenshot Change-Id: Ibfb5720ac01b2e81105e812e37f54c3df0dbcecb
2023-03-22zuma: enable colorfill layer check for hdr am: bb21716ba6Karan Bhagoji
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/22187930 Change-Id: Ia2ee83fbc0f69b4ddff4bf2bbf85ff7b076dfc93 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>