The atomic API can allow us to test state before we apply it, to see if it will be valid. Use this when we construct a plane configuration, to see if it has a chance of ever working. If not, we can fail assign_planes early.
This will be used in later patches to incrementally build state by proposing and testing potential configurations one at a time.
bb6c19f7 compositor-drm: Add test-only mode to state application
libweston/compositor-drm.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)