commit | 65c988de054ffa494ffcfebc71c41044ed7a2a25 | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Wed Feb 27 23:34:53 2019 -0800 |
committer | John Stultz <john.stultz@linaro.org> | Thu Feb 28 09:22:05 2019 -0800 |
tree | 014826093a85c323fe5a74acb806fdb8f9aedb22 | |
parent | cc5fca4f9410b39c64900ea627841dfd9ea0dedb [diff] |
drm_hwcomposer: platformhisi: Conditionalize some of the AFBC support Unfortunately with the AFBC support patches, I validated with the hikey960 (which has a gralloc that supports AFBC), but not with the original hikey board (which does not support AFBC). Since we use the same importer for both boards, conditionalize the AFBC logic if those values are not defined. This patch will also need a tweak to the hikey gralloc to add support for the handle->internal_format reference (which doesn't currently exist on hikey's gralloc). Change-Id: I31aea82b321ff7dd7608c6a3522cbc93bb629319 Signed-off-by: John Stultz <john.stultz@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!