Re: [PATCH v14 37/41] compositor-drm: Add test-only mode to state application

2018-01-29 Thread Pekka Paalanen
On Wed, 20 Dec 2017 12:26:54 + Daniel Stone wrote: > The atomic API can allow us to test state before we apply it, to see if > it will be valid. Add support for this, which we will later use in > assign_planes to ensure our plane configuration is valid. > > Signed-off-by: Daniel Stone > ---

Re: [PATCH v14 37/41] compositor-drm: Add test-only mode to state application

2018-01-03 Thread Philipp Zabel
On Wed, 2017-12-20 at 12:26 +, Daniel Stone wrote: > @@ -2424,9 +2453,16 @@ drm_pending_state_apply_atomic(struct > drm_pending_state *pending_state, > case DRM_STATE_APPLY_ASYNC: > flags |= DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK; > break; > +

[PATCH v14 37/41] compositor-drm: Add test-only mode to state application

2017-12-20 Thread Daniel Stone
The atomic API can allow us to test state before we apply it, to see if it will be valid. Add support for this, which we will later use in assign_planes to ensure our plane configuration is valid. Signed-off-by: Daniel Stone --- libweston/compositor-drm.c | 176 ++