Merge lp:~kdub/mir/fix-1331769 into lp:mir
Status: | Merged |
---|---|
Approved by: | Kevin DuBois |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1752 |
Proposed branch: | lp:~kdub/mir/fix-1331769 |
Merge into: | lp:mir |
Prerequisite: | lp:~kdub/mir/hwc-layers-cleanup |
Diff against target: |
193 lines (+63/-22) 3 files modified
src/platform/graphics/android/hwc_device.cpp (+9/-5) tests/unit-tests/graphics/android/test_hwc_device.cpp (+54/-15) tests/unit-tests/graphics/android/test_hwc_layers.cpp (+0/-2) |
To merge this branch: | bzr merge lp:~kdub/mir/fix-1331769 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Robert Carr (community) | Approve | ||
Alan Griffiths | Needs Fixing | ||
Alexandros Frantzis (community) | Approve | ||
Review via email: mp+224337@code.launchpad.net |
Commit message
android: only dup the fence for the FRAMEBUFFER_TARGET layer when the HWC has indicated in prepare that it is interested in that layer
fixes: lp: #1331769
Description of the change
android: only dup the fence for the FRAMEBUFFER_TARGET layer when the HWC has indicated in prepare that it is interested in that layer.
fixes: lp: #1331769
So the reason this was only a problem on the nexus 10 is that the other drivers seem to guarantee that they close all acquireFenceFd's, whereas the nexus10 driver will only close those that they are interested in, causing us to leak fd's in overlay scenarios. This scenario would not be hit in the system image.
testing:
20+ min render_to_fb: nex4, nex7, nex10, mx3
20+ min render_overlays: nex4, nex7, nex10, mx3
tear testing with full u8 stack: nex4, nex7, nex10, mx3
PASSED: Continuous integration, rev:1734 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/1989/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 686 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 692 jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/686 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 510 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 510/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 507 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 507/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/2022 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/2022/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/1862 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 8807
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/1989/ rebuild
http://