commit | 7c6e6f737296463c6e465853197c02c307176b65 | [log] [tgz] |
---|---|---|
author | Normunds Rieksts <normunds.rieksts@arm.com> | Mon Mar 11 14:11:01 2024 +0000 |
committer | Drew Davenport <ddavenport@chromium.org> | Fri Aug 30 22:15:14 2024 +0000 |
tree | e8e46059b18b49d9d4d3d96d566d5f08c2112bd8 | |
parent | 1a96620dc4c346d7fd32990570aab8638b7d3757 [diff] |
drm_hwcomposer: Fix bug where DrmDevice can be released early DrmFbImporter can outlive DrmDevice which will cause issues when resources are released. Addressing this would require a restructure on how ResourceManager stores DrmDevices and DrmFbImporter to make sure they depend on each other. For now, just acquire the DRM fd from the DrmDevice to make sure it is not closed. Change-Id: If46ca0f879bee4a5da2f93d341b6f1278e593010 Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com> Signed-off-by: Drew Davenport <ddavenport@google.com>
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-15 -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!