DrmKmsPlan lifetime is used to manage ownership of drm planes that have affinity for multiple crtcs. As such, the DrmKmsPlan lifetime needs to persist from a Validate call to when the composition is Presented to ensure that such planes aren't stolen by another display. Rather than stashing the DrmKmsPlan as part of TestComposition, return the DrmKmsPlan as part of the Backend's Validate. HwcDisplay::Validate then becomes responsible for lifetime management of the resulting DrmKmsPlan as before. Change-Id: I14ae115b2eed5c9b27e70f0b695fbbc4f3a4faa6 |
||
|---|---|---|
| .. | ||
| Backend.cpp | ||
| Backend.h | ||
| BackendClient.cpp | ||
| BackendClient.h | ||
| BackendManager.cpp | ||
| BackendManager.h | ||