commit | dd5e782d1f7b0b2b2ce2d7e539f7c3aceb0fe63d | [log] [tgz] |
---|---|---|
author | Roman Stratiienko <r.stratiienko@gmail.com> | Thu Nov 28 02:36:14 2024 +0200 |
committer | Roman Stratiienko <r.stratiienko@gmail.com> | Sun Dec 08 00:41:55 2024 +0200 |
tree | 48da98477eefda9e15524f86a2a4fcf6fe64475d | |
parent | 8cfa7ffaf1fd482e0cf6b9db612270023bdb382e [diff] |
drm_hwcomposer: Don't erase displays in the internal layer at hotplug ResourceManager is managing displays via bind/unbind/finalize calls. Additional erasing causes issues when transitioning from headless mode to real display and vice versa, where the display must remain. Fixes SurfaceFlinger crash when disconnecting the primary display. Change-Id: I39d0237f8e55417b11f0ba2e0c9b93e2e0ac7e26 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!