commit | b3d817815fad5476db178bf336282ed9f6a195b8 | [log] [tgz] |
---|---|---|
author | Lowry Li (Arm Technology China) <lowry.li@arm.com> | Wed Dec 18 14:28:22 2019 +0800 |
committer | John Stultz <john.stultz@linaro.org> | Sat Jan 04 00:50:05 2020 +0000 |
tree | c69b584ffb20ff262602eca4c9648706bbda59f2 | |
parent | 4163efcb37b8e7a6bf00acec60ea9f9be2a5969a [diff] |
drm_hwcomposer: Add GetDisplayCapabilities and getDisplayIdentificationData Implement GetDisplayCapabilities() to get a list of supported capabilities. The drm core doesn't support layer CTM property yet and CRTC not having the CTM property member neither. So for this patch, we just return 0 for now. It can fix the segment fault while booting the Android on HWC2.3, caused by lack of this API. Implement getDisplayIdentificationData() to get the EDID blob data along with the size and port. Add edid property in DrmConnector. Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.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-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!