Re: [PATCH weston v6 69/73] compositor-drm: head attach requires a modeset

2018-04-18 Thread Daniel Stone
Hi, On 18 April 2018 at 13:37, Pekka Paalanen wrote: > On Wed, 18 Apr 2018 12:09:45 +0300 Pekka Paalanen wrote: >> Sure, I'll see about adding that. > > looks like I would get into a bit of pickle in > drm_pending_state_apply_atomic() if struct drm_output has heads_dirty > flag. > > Currently th

Re: [PATCH weston v6 69/73] compositor-drm: head attach requires a modeset

2018-04-18 Thread Pekka Paalanen
On Wed, 18 Apr 2018 12:09:45 +0300 Pekka Paalanen wrote: > On Thu, 12 Apr 2018 14:55:01 +0200 > Daniel Stone wrote: > > > On 16 February 2018 at 15:57, Pekka Paalanen wrote: > > > For the attach on an enabled output to have an effect, we need to go > > > through drmModeSetCrtc or ATOMIC_ALLO

Re: [PATCH weston v6 69/73] compositor-drm: head attach requires a modeset

2018-04-18 Thread Pekka Paalanen
On Thu, 12 Apr 2018 14:55:01 +0200 Daniel Stone wrote: > On 16 February 2018 at 15:57, Pekka Paalanen wrote: > > For the attach on an enabled output to have an effect, we need to go > > through drmModeSetCrtc or ATOMIC_ALLOW_MODESET. > > > > Signed-off-by: Pekka Paalanen > > --- > > libweston/

Re: [PATCH weston v6 69/73] compositor-drm: head attach requires a modeset

2018-04-12 Thread Daniel Stone
On 16 February 2018 at 15:57, Pekka Paalanen wrote: > For the attach on an enabled output to have an effect, we need to go > through drmModeSetCrtc or ATOMIC_ALLOW_MODESET. > > Signed-off-by: Pekka Paalanen > --- > libweston/compositor-drm.c | 15 +++ > 1 file changed, 15 insertions(

[PATCH weston v6 69/73] compositor-drm: head attach requires a modeset

2018-02-16 Thread Pekka Paalanen
From: Pekka Paalanen For the attach on an enabled output to have an effect, we need to go through drmModeSetCrtc or ATOMIC_ALLOW_MODESET. Signed-off-by: Pekka Paalanen --- libweston/compositor-drm.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libweston/compositor-drm.c