commit | 1f41ac783ccf11e8e2643ba287b66e85b58c0d27 | [log] [tgz] |
---|---|---|
author | Yongqin Liu <yongqin.liu@linaro.org> | Tue Oct 29 09:30:13 2024 +0800 |
committer | Yongqin Liu <yongqin.liu@linaro.org> | Tue Oct 29 09:30:13 2024 +0800 |
tree | 4cfbe28d646a16e760d2caccfdf2aafdf55f2569 | |
parent | f4563dc85be3de154fa7c155baa864628238668b [diff] |
drm_hwcomposer: Fix DrmConnector log build failure This fix is the same as the previous commit on DrmProperty: 2c36651af0ad ("drm_hwcomposer: Fix DrmProperty log build failure") So copy the commit message of it here for reference convenience. DrmConnector logs the uint64_t property value if it is unrecognized. However, this type can be represented multiple ways: * unsigned long (%lu) * unsigned long long (%llu) This generates build errors when the wrong type is used. The correct way to log the value is with |PRIu64|. Change-Id: Ie59ac6930919f77c16c064f3d5becfa794ed37a3 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
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!