commit | c184bc15e023ae8ab804fe95d2d8f9229b9188d5 | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <r.stratiienko@gmail.com> | Tue Jan 21 01:33:46 2025 +0200 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Tue Jan 21 17:39:01 2025 +0200 |
tree | dded9bfcbd96aaaea9f0de0d92806a7968b9a5d9 | |
parent | b50482dbf55a1e464e4b7f13ac8f234f3b282a82 [diff] |
drm_hwcomposer: hwc3: Check if the field is initialized before accessing it This is to prevent a null dereference crash when Init() fails. Change-Id: I93c1961d29598b872c6e7203bc681ae5b8b21232 Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.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-19 -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!