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
> ---
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;
> +
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 ++