commit | 54589d28d0b1ed8e4ea9b20bee25258e2918eb3d | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Fri Aug 24 16:58:35 2018 -0400 |
committer | Sean Paul <seanpaul@chromium.org> | Mon Aug 27 14:13:37 2018 -0400 |
tree | 997f34e751ac4d6c84f23eb07cfc215fe6574b14 | |
parent | f72cccd72a35f36e18674255c1886ecc30abb781 [diff] |
drm_hwcomposer: Fix HiSi import fail log spam hikey can only display layers which do not have gralloc usage HW_FB (hint: that leaves just the client target layer). As such, there's no benefit trying to import them since it'll just fail. So if we encounter a layer such as this, fake the import (the release will be a noop since gem_handles will be 0). Also, as a belt-and-suspenders move, replace the greedy planner with one that only displays (usage != HW_FB) to be doubly sure that we don't try to display the no-op layers Change-Id: I7bf88cfb7bda1dd5f47b741709619494431558a2 Signed-off-by: Sean Paul <seanpaul@chromium.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-3.5 -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!