1
0
Fork 0
No description
Find a file
Drew Davenport c75316c28e drm_hwcomposer: Return DrmKmsPlan from Backend
DrmKmsPlan lifetime is used to manage ownership of drm planes that have
affinity for multiple crtcs. As such, the DrmKmsPlan lifetime needs to
persist from a Validate call to when the composition is Presented to
ensure that such planes aren't stolen by another display.

Rather than stashing the DrmKmsPlan as part of TestComposition, return
the DrmKmsPlan as part of the Backend's Validate. HwcDisplay::Validate
then becomes responsible for lifetime management of the resulting
DrmKmsPlan as before.

Change-Id: I14ae115b2eed5c9b27e70f0b695fbbc4f3a4faa6
2025-08-26 09:27:21 -06:00
.ci drm_hwcomposer: CI: Update CTS test names 2025-08-19 15:22:58 -07:00
backend drm_hwcomposer: Return DrmKmsPlan from Backend 2025-08-26 09:27:21 -06:00
bufferinfo drm_hwcomposer: Cleanup ANDROID_API references 2025-07-25 13:41:23 -04:00
compositor drm_hwcomposer: Move CompositionType out of HwcLayer struct 2025-08-19 09:16:22 -06:00
drm drm_hwcomposer: Make HwcLayer const in Backend 2025-08-19 09:16:22 -06:00
hwc drm_hwcomposer: Return DrmKmsPlan from Backend 2025-08-26 09:27:21 -06:00
hwc2_device drm_hwcomposer: Move CompositionType out of HwcLayer struct 2025-08-19 09:16:22 -06:00
hwc3 drm_hwcomposer: CI: Update to Android 16 2025-08-19 14:52:08 -07: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: Re-enable MRR on AL devices 2025-07-29 16:14:12 -04:00
.clang-format drm_hwcomposer: clang-format: Derive pointer alignment 2025-08-19 09:16:22 -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: Update to Android 16 2025-08-19 14:52:08 -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: CI: Update to Android 16 2025-08-19 14:52:08 -07:00
meson.options drm_hwcomposer: CI: Update to Android 16 2025-08-19 14:52:08 -07: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!