commit | a9ed46acc12d7e7bb0cdaf5b53ff175156589dc9 | [log] [tgz] |
---|---|---|
author | Victor Chong <victor.chong@linaro.org> | Thu Apr 11 06:23:28 2019 +0100 |
committer | Victor Chong <victor.chong@linaro.org> | Thu Apr 11 06:49:42 2019 +0100 |
tree | edd0b7e1dc3c03b2eeb6618cbb20da2c8c71b3a6 | |
parent | cce1278a890b8fcdb831dd8a2ba0a8826eb290c4 [diff] |
drm_hwcomposer: platformhisi: extend conditional of AFBC support The AFBC modifiers in [1] are defined in aosp bionic's drm headers only if it has been updated to v4.19 kernel headers [2]. If the version used is older, drm_hwcomposer build will fail, so we extend the conditional of the AFBC logic to include one of these modifiers. [1] cc5fca4f ("drm_hwcomposer: Add support for Arm Framebuffer Compression (AFBC) modifiers.") [2] https://android.googlesource.com/platform/bionic/+/9ce28844db7cf80ee8cf7c88dab23b666eaab739 Signed-off-by: Victor Chong <victor.chong@linaro.org>
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-5.0 -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!