summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-08Snap for 11192287 from 135784805878ef8e4bf77e1a88dc1a08a1ffaac5 to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-releaseAndroid Build Coastguard Worker
Change-Id: I205d1f69f8c7ed58a5fe32e7391ab5f9e045b50a
2023-12-07libhwc2.1: use const for getTargetOperationRate()Chris Lu
Bug: 296163848 Test: build pass Change-Id: I5bf4143db67448d5ed2c581c61985f7e2ac21ddc
2023-12-02Snap for 11171107 from acf6c72f6579eaf0f497df2d8550431ace2a30dd to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ib829c6303eece92ae2c068d112f2deb1b95025b0
2023-12-02libhwc2.1: Use the new getPanelSysfsPath overloadSergey Volk
Bug: 288608645 Test: presubmit Change-Id: I74bfa5aec2cbc6dc4ff3c6b92a96a55fd4bc3baf
2023-11-23Snap for 11135477 from 39343c0828fafab7994686a88c0a3960490975f0 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ife5c97f041cf5b0eb72226ecfbb1f3b599af98ac
2023-11-22Revert "libhwc2.1: remove the if defined guard for histogram"Alessio Balsini
This reverts commit 04178834b22eda6e2a5cd5a2d8759ef403cf94e3. Reason for revert: b/312699412 Change-Id: I8b94e99467790af5d7e3ce1dac35d5be988c19b2
2023-11-22libhwc2.1: remove the if defined guard for histogramLeo Chen
When landing the multi channel histogram, we use the if defined guard to prevent the build breakage due to older kernel. Now all the kernel prebuilts are merged, the if defined guard can be removed. Bug: 295990513 Test: build pass Change-Id: If65f9cee656d9181fbbef5f6bd8ea2bb414d5c5e Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-11-22Snap for 11130229 from e9f84c15beaf7f4fb48d0a7a97921dd7a1211ec3 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ib7ac9e679ce8bf284e63393f15a7a75fbe25525e
2023-11-20libhwc2.1: supply composer interface informationWeiChungChang
Bug: 310742462 Test: verify the accurate retrieval of composer interface information expected results. Change-Id: I3d5423e40a723ff13784c2e32ae599386b1db0da
2023-10-28Snap for 11017726 from 9a55565eed10c80ce6b0f8d9262dd977d08b18e9 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ie210df453f40f726feae11744c50135c0c455cb7
2023-10-27libhwc2.1: Add histogram blocking roi support in HistogramControllerLeo Chen
Bug: 299410182 Test: adb shell aidl_hist_client Change-Id: I5ef88e0c3a4bed8bfdcb9e31b884f8b94949e98a Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-10-25Snap for 10998418 from fe2cdb7b3d0718e4a6792efc31954b74f6cdf0f0 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ia960b44d6f2105e1f7e3bc9c06a1939c2b4808d9
2023-10-06libhwc2.1: add missing pragma once for HistogramControllerLeo Chen
Bug: 299410182 Test: Build pass Change-Id: I394efeff5735e998645bf3ea08aa024876eca4e1 Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-10-06libhwc2.1: Apply the clang-format for HistogramControllerLeo Chen
Bug: 299410182 Test: Build pass Change-Id: Ic1ddf8cc3c08b3b9a3c5b35f337d97bed2cdbc34 Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-09-27Snap for 10865348 from d9e834bf324c04d1ee67b790809b2d4ad1e8c9e8 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: I7ae082b8983d9fe81b25445eb42773f1380ae3ba
2023-09-26Snap for 10860171 from 217a860d244440fff5a4766668fcf990084db93e to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: I0630fa79cefe94ddd13089220640b6a05591bab0
2023-09-25[automerger skipped] Use String8/16 c_str am: 265e1f7c97 -s ours am: ↵Tomasz Wasilczyk
fa84ce021e -s ours am: cd4997f542 -s ours am skip reason: Merged-In I83f24914c9db7cab6d00256dd1b849c8cd077b4a with SHA-1 ba7ce88f55 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24775018 Change-Id: I53a12e41f1bf0c45427de6d5232962806aa8c112 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25[automerger skipped] Use String8/16 c_str am: 265e1f7c97 -s ours am: ↵Tomasz Wasilczyk
fa84ce021e -s ours am skip reason: Merged-In I83f24914c9db7cab6d00256dd1b849c8cd077b4a with SHA-1 ba7ce88f55 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24775018 Change-Id: I32ee165b9af71ca2966268199e274b9644d3cdbb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25[automerger skipped] Use String8/16 c_str am: 265e1f7c97 -s oursTomasz Wasilczyk
am skip reason: Merged-In I83f24914c9db7cab6d00256dd1b849c8cd077b4a with SHA-1 ba7ce88f55 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24775018 Change-Id: I93f279655c60934f8348e903d752a0de70c18491 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25[automerger skipped] Use String8/16 c_str am: ba7ce88f55 -s ours am: ↵Tomasz Wasilczyk
4f6d36b0f8 -s ours am skip reason: Merged-In I83f24914c9db7cab6d00256dd1b849c8cd077b4a with SHA-1 684102a39b is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24773946 Change-Id: I45b834835dabd8597a53de2e378c62b1ddefd262 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25[automerger skipped] Use String8/16 c_str am: ba7ce88f55 -s oursTomasz Wasilczyk
am skip reason: Merged-In I83f24914c9db7cab6d00256dd1b849c8cd077b4a with SHA-1 684102a39b is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24773946 Change-Id: Ibdcc76ed1871773b3c858e944faa7e36b42faefe Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21Snap for 10843824 from be43cacb792906890ad2e60e8120c0ed6f3fea93 to 24Q1-releaseAndroid Build Coastguard Worker
Change-Id: Ic405a84d99acf276da766194474131bbebf8b968
2023-09-21Merge changes from topic "optimize-instructions-count-b295892886" into ↵Wiwit Rifa'i
udc-qpr-dev am: 98b3c1884d am: 7a659c79a5 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24754397 Change-Id: I7ff78e5ec9dcf1d1080e20ac9c1c523bedd949ca Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21Merge changes from topic "optimize-instructions-count-b295892886" into ↵Wiwit Rifa'i
udc-qpr-dev am: 98b3c1884d Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24754397 Change-Id: I5d4fa0ec77160d6e128e79684d12a2ef4d7c458f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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-19clang-format: add IncludeBlocks Preserve & PointerAlignment Left am: ↵Wiwit Rifa'i
83c9109add am: 18835f1cbb Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24787180 Change-Id: Ice3181ea17dcbe8713aa5ebf0736129e707aabf0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-19clang-format: add IncludeBlocks Preserve & PointerAlignment Left am: 83c9109addWiwit Rifa'i
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24787180 Change-Id: Ia7e83722a94e84373b7be0c2e60da1b24bf21cdb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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-16Use String8/16 c_str am: 684102a39bTomasz Wasilczyk
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24774930 Change-Id: I20c7dbd00e1c7ab8d70c1b9a31119378d43b249f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15Use String8/16 c_strTomasz Wasilczyk
Bug: 295394788 Test: m libexynosdisplay Change-Id: I83f24914c9db7cab6d00256dd1b849c8cd077b4a Merged-In: I83f24914c9db7cab6d00256dd1b849c8cd077b4a
2023-09-15Use String8/16 c_strTomasz Wasilczyk
Bug: 295394788 Test: m libexynosdisplay Change-Id: I83f24914c9db7cab6d00256dd1b849c8cd077b4a
2023-09-15Use String8/16 c_strTomasz Wasilczyk
Bug: 295394788 Test: m libexynosdisplay Change-Id: I83f24914c9db7cab6d00256dd1b849c8cd077b4a Merged-In: I83f24914c9db7cab6d00256dd1b849c8cd077b4a
2023-09-06libhwc2.1: don't construct string if debug log is disabled am: afbc2293eb ↵Wiwit Rifa'i
am: 55aba26701 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24581795 Change-Id: Idfc9c282005100d70e2f5bfb5cf4fe6463ef8b0d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06libhwc2.1: don't construct string if debug log is disabled am: afbc2293ebWiwit Rifa'i
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24581795 Change-Id: I72202d0be25344fec75e1aff3496d4d0027de3df Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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-29libhwc2.1: enter ns mode after boot when smooth display off am: 237752a978 ↵Safayat Ullah
am: 48c94a6ec6 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23918193 Change-Id: I997e6e8da4b4c54c275cdffd3d23e0a9ceb5f679 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29libhwc2.1: enter ns mode after boot when smooth display off am: 237752a978Safayat Ullah
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23918193 Change-Id: Ia9360ffd33e8674717a7d404f7cdd38476eeffb6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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-25libhwc2.1: libdisplayinterface: override sendHistogramChannelIoctl am: ↵Leo Chen
2ccf04c16d am: 5a124a58ee Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24428372 Change-Id: I099d3f2f1c8b0eb8ce2163f50d9bf8720e4700d6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25libhwc2.1: Add HistogramController class am: 573d3753c8 am: d437e2c90eLeo Chen
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23655883 Change-Id: I57f5dd87185a11d93bef396e96da8b214c299dbe Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25libhwc2.1: libdisplayinterface: override sendHistogramChannelIoctl am: ↵Leo Chen
2ccf04c16d Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24428372 Change-Id: If0a3946d40de5b3931b19109cb54d49dfa89300f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25libhwc2.1: Add HistogramController class am: 573d3753c8Leo Chen
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23655883 Change-Id: Ifd6df2c26d223278189136d6f83359e7e674a417 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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-07Add chiungfu@ to OWNERS am: b21fac0c04 am: 5b6199a8a9Chiung-fu Chen
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24309813 Change-Id: Idacdbd67d11de1fa47ebc8d15d40bfc34cf969b9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-07Add chiungfu@ to OWNERS am: b21fac0c04Chiung-fu Chen
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/24309813 Change-Id: I218f062cdb31bc6387d4cdbbefbbbcb1bd287fe0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-04Add chiungfu@ to OWNERSChiung-fu Chen
Bug: 294345293 Test: none Change-Id: Ib9d63275997bba7d985cfa91cc44fed44ca82404
2023-07-18[automerger skipped] libhwc2.1: OperationRateManager: save target operation ↵Chris Lu
rate am: abd1d92d70 am: 9c19807714 -s ours am: 496f987c88 -s ours am skip reason: Merged-In I106de21ec0bb4094542aefc7b7109ab4dd9f304c with SHA-1 abd1d92d70 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/zuma/+/23844793 Change-Id: I84611f694d1cb664dfb9a9692f5b4ed3a3948446 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>