commit | b8526058c78ac083990612f81882e279d7dc8fb9 | [log] [tgz] |
---|---|---|
author | Drew Davenport <ddavenport@google.com> | Wed Aug 28 10:24:33 2024 -0600 |
committer | Drew Davenport <ddavenport@chromium.org> | Fri Aug 30 22:15:14 2024 +0000 |
tree | f608f35f64310b5e9bd883ad7a6bffe905804f10 | |
parent | 0bf6c2be65353cc15123f1b58bb602bca9897689 [diff] |
drm_hwcomposer: Stop UEvent thread in ResourceManager destructor When the ResourceManager is destructed, the UEvent thread continues to run in the background. Change the blocking read call to poll, and create an eventfd on which to poll as well. When ResourceManager is destructed, write to the eventfd to wake the UEvent thread, which can then exit cleanly. Reported-by: Normunds Rieksts <normunds.rieksts@arm.com> Change-Id: I18d92173165f31fcd01570e65a6ffd840c8cd138 Signed-off-by: Drew Davenport <ddavenport@google.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-15 -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!