1
0
Fork 0
No description
Find a file
Drew Davenport de45e91269 drm_hwcomposer: Check for IStats service as needed
IStats service is started by system_server which is not running during
VTS tests. In this case, the IStats service is declared, but not
started, which may result in a hang when calling AServiceManager_waitForService.

Acquire the IStats client lazily when reporting atoms, and log an error
upon failure to do so. If IStats is declared, we should expect that the
service will be available under normal operation.

Another benefit of this approach is that acquiring the IStats service is
no longer blocking service initialization.

Change-Id: Ib7a38930b1a3cbcaa629e576f601d7a05980e257
2025-06-25 08:06:33 -06:00
.ci drm_hwcomposer: CI: Build and swap apex package 2025-06-23 09:10:55 -07:00
backend drm_hwcomposer: Move GetBackendOverride to Properties 2025-06-12 01:51:29 +00:00
bufferinfo drm_hwcomposer: Add adjustments for cursor plane commits 2025-03-14 13:33:39 +00:00
compositor drm_hwcomposer: Update DrmKmsPlan to position cursor plane with highest z-pos 2025-06-25 13:14:34 +00:00
drm drm_hwcomposer: Remove cursor buffor validity check 2025-06-20 15:43:33 +00:00
hwc drm_hwcomposer: Move common files out of hwc2_device directory 2025-05-23 09:01:32 -06:00
hwc2_device drm_hwcomposer: Move common files out of hwc2_device directory 2025-05-23 09:01:32 -06:00
hwc3 Revert "drm_hwcomposer: Initialize stats asynchronously" 2025-06-25 08:06:32 -06:00
stats drm_hwcomposer: Check for IStats service as needed 2025-06-25 08:06:33 -06:00
tests drm_hwcomposer: Enable performance-avoid-endl clang-tidy check 2025-01-24 23:44:00 +02:00
utils drm_hwcomposer: Move properties stuff to cpp 2025-06-12 01:51:29 +00:00
.clang-format drm_hwcomposer: clang-format: Preserve header blocks 2024-10-14 14:23:24 -06:00
.clang-tidy drm_hwcomposer: CI: Use aospext to provide headers for clang-tidy 2023-11-21 18:50:58 +02:00
.gitignore Add .gitignore 2024-10-14 12:32:10 -06:00
.gitlab-ci.yml drm_hwcomposer: CI: Make ANDROID_SDK_VERSION global 2025-06-23 09:10:55 -07:00
Android.bp drm_hwcomposer: Move atom reporter dependency 2025-06-11 22:36:26 +00:00
Makefile drm_hwcomposer: Fix build_deploy script and switch it to hwc3 2024-11-27 23:23:57 +02:00
meson.build drm_hwcomposer: Report composition stats as vendor atoms 2025-06-10 06:59:51 +00:00
MODULE_LICENSE_APACHE2 drm_hwcomposer: License NOTICE file and metadata from AOSP 2018-05-04 10:46:10 -07:00
NOTICE drm_hwcomposer: License NOTICE file and metadata from AOSP 2018-05-04 10:46:10 -07:00
README.md drm_hwcomposer: CI: Upgrade Ubuntu and clang version 2024-10-17 02:13:14 +03:00

drm_hwcomposer

Patches to drm_hwcomposer are very much welcome, we really want this to be the universal HW composer implementation for Android and similar platforms. So please bring on porting patches, bugfixes, improvements for documentation and new features.

A short list of contribution guidelines:

  • Submit changes via gitlab merge requests on gitlab.freedesktop.org.

  • drm_hwcomposer is Apache 2.0 Licensed and we require contributions to follow the developer's certificate of origin: http://developercertificate.org/.

  • When submitting new code please follow the naming conventions documented in the generated documentation. Also please make full use of all the helpers and convenience macros provided by drm_hwcomposer. The below command can help you with formatting of your patches:

    git diff | clang-format-diff-19 -p 1 -style=file
    
  • Hardware specific changes should be tested on relevant platforms before committing.

If you need inspiration, please checkout our TODO issues.

Happy hacking!