commit | b9ae59025f9930fa8b4c24b51633149871d63bb8 | [log] [tgz] |
---|---|---|
author | Vilas Bhat <vilasbhat@google.com> | Wed Mar 27 18:17:45 2024 +0000 |
committer | Vilas Bhat <vilasbhat@google.com> | Thu Mar 28 22:26:52 2024 +0000 |
tree | 844a2f7b44038798833ec9ebb6a6591e8d4c8f20 | |
parent | 2bf19950431dba01daf1e6c8687fadc55e36180f [diff] |
drm_hwcomposer: Remove hardcoded PAGE_SIZE usage in gralloc_helper Use getpagesize() to make drm_hwcomposer work with multiple page sizes. This benefits Android as AOSP no longer relies on bionic's PAGE_SIZE macro. Bug: 310232825 Test: Presubmit Signed-off-by: Vilas Bhat <vilasbhat@google.com> Change-Id: I9af7436ac9ca6c052f67cdd296a960b51b8ba67a
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!