summaryrefslogtreecommitdiff
path: root/hwc3
AgeCommit message (Collapse)Author
2024-02-04hwc: Depend on qti kernel headersMichael Bestas
Change-Id: If1b72ad7b36d658bc85587bbea6caf85e520519d
2023-03-31Merge "Remove references to MULTI_THREADED_PRESENT" into udc-devBrian Johnson
2023-03-23Remove references to MULTI_THREADED_PRESENTLeon Scroggins III
This feature isn't yet used, so remove it until we actually use it in the next release. Bug: 274954820 Test: make Change-Id: I960b3cce292e07b3b7e601e2bdd5019acf34dafc
2023-03-15Update IComposer to V2Midas Chien
Bug: 271221392 Test: run vts -m vts_treble_vintf_vendor_test Change-Id: Icedbf13d591a14caba7eecf61c7b7b50a348af9a
2023-03-06libhwc2.1: don't check SKIP_VALIDATE in HWC3Midas Chien
SKIP_VALIDATE is deprecated in HWC3, so we don't need to check it when executing PresentOrValidateDisplay. Bug: 271531314 Test: scroll Change-Id: Iebc97333d773943a3c89b1756743d0459c66129d
2023-03-02hwc3: add support for refresh rate indicator callbackWiwit Rifa'i
This will add support in HWC to expose the refresh rate in panel to SF using HWC3 callback API so that SF can update the refresh rate overlay indicator to the actual refresh rate in the panel. HWC will monitor the panel refresh rate based on some sysfs nodes. Bug: 267825022 Test: enable refresh rate indicator, wait for idle, AOD Change-Id: Ibc80d66eae6b21c3cf84d35fa819e97ccc509ede
2023-02-15Merge "Update setHdrConversionStrategy to return the preferredHdrOutput type"Kriti Dang
2023-02-13[HWC3] native implementation forramindani
setRefreshRateChangedCallbackDebugEnabled Add onRefreshRateChangedDebug Test: Device boots BUG: 202734676 Change-Id: I079e13fcf2bd0872c8f29468fc2ef311b9774d10
2023-02-09Update setHdrConversionStrategy to return the preferredHdrOutput typeKriti Dang
Bug: 268336382 Test: m Change-Id: I790733b9fcdb5e4c4724a512528023a3daa95a53
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: I25efdf56da4c9de6ccbced641c952b1c550bdd50
2023-01-17Merge "Add HDR output control APIs implementation in hwc3"Kriti Dang
2023-01-17Merge "hwc3: Primary displays supports MULTI_THREADED_PRESENT"Joen Chen
2023-01-12Add HDR output control APIs implementation in hwc3Kriti Dang
Bug: 251168514 Test: m Change-Id: I95710e1a0a1caed2974520ae2b61eafafa2d3cf2
2023-01-06Support for querying supported formats and dataspacesKaruna Ramkumar
Bug: 245570131 Change-Id: Ie906f6c27a7dd88f962db7a992527b661919b40a
2022-12-27libhwc2.1: support display panel operation rate featureShiyong Li
Bug: 202181466 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I3362c868bdee34369513b2a6ccbc9abe5b8beb59
2022-12-12hwc3: add display param to function traces and debug logsWiwit Rifa'i
To support debugging and tracing for multi-displays, it would be easier if we include the display parameter in function traces and debug logs. Bug: 245533789 Test: Perfetto trace and logcat Change-Id: I783937175ff1de84d7139acba04676fa31408cc8
2022-12-01hwc3: Primary displays supports MULTI_THREADED_PRESENTjoenchen
After primary displays supports this capability, SurfaceFlinger can run executeCommands(presentDisplay) for this display concurrently with other displays with the same capability. Bug: 247074458 Test: switch applications Change-Id: I55c4fe2d38f412f0e98b46502a99c90943cefbcc
2022-12-01hwc3: Make the ComposerCommandEngine as local variablejoenchen
A race condition exists because HWC uses only one ComposerCommandEngine::Writer for all displays. The writer takes responsibility to package AIDL functions’ return values and deliver the package to SF. When a thread is packaging the return value of the inner display by Writer, another thread may call Writer::reset() for the outer display. Bug: 247074458 Test: switch applications Change-Id: I7393bd6d01008b09ac4f4a733fc7d024aaf05352
2022-10-13Merge "hwc3: Add getOverlaySupport()"Sally Qi
2022-10-13Merge "hwc: dim brightness support" into tm-qpr-dev am: e5a1c3940d am: ↵TreeHugger Robot
f2a17101d6 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/common/+/19967518 Change-Id: I25d0a500d3a5546c86bf1f90e32dac51eba8e955 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-03hwc3: Add getOverlaySupport()Sally Qi
Bug: 242588489 Test: atest VtsHalGraphicsComposer3_TargetTest Change-Id: I505a76213549c3ff613c93c707cd01777801455d
2022-10-03hwc: dim brightness supportlinpeter
Bug: 241969007 test: enable/disable dim brightness mode adb shell vndservice call Exynos.HWCService 1009 i32 0 i32 1 adb shell vndservice call Exynos.HWCService 1009 i32 0 i32 0 Change-Id: I2d5a3c75ef78c18779b4fe4b51c9e6b23c023cf8
2022-08-24hwc3: move mustValidateDisplay() to executePresentOrValidateDisplay() am: ↵Wiwit Rifa'i
faac12043d am: 55684b5114 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/common/+/19632602 Change-Id: I1ae7305b95803c481894e52925d84b187ba1f9a6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23hwc3: move mustValidateDisplay() to executePresentOrValidateDisplay()Wiwit Rifa'i
mustValidateDisplay() should only be checked in executePresentOrValidateDisplay(), not in executePresentDisplay(). This is according to the behaviour in HWC 2.x. Otherwise, validateDisplay() could be called without calling presentDisplay() afterward. Bug: 241060812 Test: open/close apps Change-Id: I4a210b95bee76384a1fce8b8fec2d02c8c1311d2
2022-07-12libhwc2.1: add displaycolor loaderLong Ling
Move DisplayColorLoader to common and generalize it. Bug: 237804887 Change-Id: Iaffaa63b338de5bf3f48845100de3a4b4775589a
2022-05-31libhwc2.1: expose panel calibration statusJeremy DeHaan
A function to get a panel's calibration status was added to HWC. This is exposed over an AIDL interface to other services. Bug: 228113713 Change-Id: I1c276226b510c772410e619a62812afa4f6fb680
2022-05-24libhwc2.1: histogram aidl backendsusi_su
This patch contains 1. stogram_mediator aidl backend code (synchronous call) 2. return power-off error code when screen is off 3. return secure-playing error code when there is any secure layer on screen 4. histogramSample timeout at 50ms 5. support histogram sample position at : PRE-DQE and POST-DQE 6. simple client test code for histogram_mediator aidl 7. cherry pick histogram HWC DRM patches The histogram_mediator aidl code is tested by a simple client program aidl_hist_client Bug: 176922790, 225171544 test: local test with a histogram client program Change-Id: I923d66e45cca03901277bb9fc6d829dd026f455b
2022-05-17hwc: change composer loggerMidas Chien
Composer init log can't be found in logcat. Change it looger to allow us to check composer init log. Bug: 232721840 Test: check hwc3 log during booting Change-Id: Ica0426b7a729123800bfdffef0e42384c5378925
2022-04-19Merge "Use service writer in ComposerCommandEngine." into tm-devTreeHugger Robot
2022-04-11Merge "hwc3: implement VsyncIdle callback for HWC3" into tm-devMidas Chien
2022-04-08Use service writer in ComposerCommandEngine.Rachel Lee
Cleanup using the shared ComposerServiceWriter. Bug: 216204575 Test: for oriole, cherrypick hwc3. Test: m; flashall Change-Id: I112d8928c3753d8c0e03535be76a62dca8243385
2022-04-08HWC supports boot config APIjoenchen
Test: to change resolution and check logcat log Bug: 223463247 Change-Id: I96953ec23ddf85974c82191914e6a1e4a0b9c69a
2022-04-08hwc3: implement VsyncIdle callback for HWC3Yichi Chen
The patch creates the new method to register the HWC3 callback function. The corresponding VsyncIdle callback function will be called when idle TE vrefresh is changed in the idle. Bug: 194068871 Test: switch refresh rates, enable panel idle at 60hz Change-Id: I4876fdfd341366ca2012a3ce6704a2c8de5866d2
2022-03-02hwc3: fix null dereference of outDimmingStage in validateDisplay()Wiwit Rifa'i
We should not pass nullptr to outDimmingStage parameter to validateDisplay() since it will eventually be dereferenced inside validateDisplay(). Bug: 222153332 Test: build Change-Id: I510eb3ef5525cb148cbc9bad116acbadc2fa0f5f
2022-03-01Merge "hwc3: return OK for getDisplayPhysicalOrientation" into tm-devTreeHugger Robot
2022-03-01hwc3: return OK for getDisplayPhysicalOrientationLong Ling
Bug: 221885596 Test: atest PerInstance/GraphicsComposerAidlTest#GetDisplayPhysicalOrientation/0_android_hardware_graphics_composer3_IComposer_default Change-Id: I91d4a42f92e9d41573a1ad2b75c7be28c170141c
2022-03-01Merge "hwc3: support SDR dimming in linear or gamma space" into tm-devLong Ling
2022-02-25hwc3: support SDR dimming in linear or gamma spaceLong Ling
Move SDR dimming to displaycolor. Report dimming stage to SF. Bug: 218954037 Change-Id: Ieacbd427e0d5894c6b0754574af08631d5859f92
2022-02-25hwc3: add support of blocking region for RCD layersYichi Chen
Blocking region for RCD is supported to save the memory bandwidth. The patch creates basic support to store the value in exynos_win_config_data. Bug: 214560831 Test: VtsHalGraphicsComposer3_TargetTest Change-Id: I5b350ec4736f60b49fed5db3756169a156bb42dd
2022-02-24Merge "Composer reports dimming ratio for client composition instead of ↵Alec Mouri
nits" into tm-dev
2022-02-23Composer reports dimming ratio for client composition instead of nitsAlec Mouri
Hal interface is changing to remove nits from the composer interface, and instead operate on a ratio of the current brightness. Bug: 217961164 Test: builds, boots Change-Id: Ia27a6038ba98d51bbdf5127ee7e8f9ef99e8c119 Merged-In: Ia27a6038ba98d51bbdf5127ee7e8f9ef99e8c119
2022-02-22hwc3: remove IComposer.dumpDebugInfoAdy Abraham
aidl already have a dump funciton, so there is no need to expose a custom dumpDebugInfo from IComposer. Bug: 220171623 Test: atest VtsHalGraphicsComposer3_TargetTest Test: adb shell dumpsys SurfaceFlinger Test: adb shell dumpsys android.hardware.graphics.composer3.IComposer/default Change-Id: Ifaf91e74b01230c5926fc43619cada80deaa1630
2022-02-18hwc3: update count of PerFrameMetadataKeysLong Ling
count should be index + 1 Bug: 216393140 Test: check hdr10+ playback Change-Id: Iecd6d85b754139145588f8dcdebd44a32ca528ea
2022-02-17Revert "Revert "libhwc2.1: support setIdleTimerEnabled""Midas Chien
This reverts commit 13c602ef2fa6ec36e9ec02633ec7727fd4427d3c. Reason for revert: avc denied is addressed in another patch Bug: 219857957 Bug: 198808492 Test: composer access panel_idle withou avc denied Change-Id: If1753cde988d8e2c755168bbc174da9faf138b91
2022-02-16Merge "hwc3: simplify dumpDebugInfo to avoid duplicated dump calls"TreeHugger Robot
2022-02-17hwc3: simplify dumpDebugInfo to avoid duplicated dump callsYichi Chen
In HWC3, AIDL implementation can directly access string output. Hence, it is not necessary for dumpDebugInfo to operate char[] with buffer size reallocated as before. In addition, the patch also corrects a strange character at the end of the output string due to wrong length in string copy. Test: dumpsys SurfaceFlinger Bug: 198808492 Change-Id: I05474d7d49986e46dfbf6038d28ae8e5530ea067
2022-02-16Merge "Revert "libhwc2.1: support setIdleTimerEnabled""Shubham Dubey
2022-02-16Revert "libhwc2.1: support setIdleTimerEnabled"Shubham Dubey
This reverts commit 91700d7c6e6cea728e3d8525745ddbf8a0517c98. Reason for revert: Introduced untracked linux denials BUG: 219857957 Change-Id: I924352333ff3c36e971c11a8f48831ab5cac75b3
2022-02-16Merge "libhwc2.1: support setIdleTimerEnabled"Midas Chien
2022-02-15Merge "hwc3: do not check weak reference for client alive"Long Ling