commit | 5070d51aa0b52566cb9c224a931f10274d9be16a | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <roman.o.stratiienko@globallogic.com> | Mon May 30 13:41:20 2022 +0300 |
committer | Roman Stratiienko <roman.o.stratiienko@globallogic.com> | Mon May 30 13:48:52 2022 +0300 |
tree | 5e147b57b9ad6442c80a230661aa8fc01ac8c159 | |
parent | a32f907c9dddc4d064b0bff7c68dddb910ad3812 [diff] |
drm_hwcomposer: Don't try to import client layer in headless mode Pipeline is null in the headless mode, therefore any attempt to import the buffer causes a null-pointer dereference crash. Fixes: 4b2cc484f9af ("drm_hwcomposer: Reorganize struct DrmHwcLayer") Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.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-14 -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!