[PATCH] drm/atomic: use connector references (v3)

2016-05-04 Thread Dave Airlie
From: Dave Airlie Take a reference when setting a crtc on a connecter, also take one when duplicating if a crtc is set, and drop one on destroy if a crtc is set. v2: take Daniel Stone's advice and simplify the ref/unref dances, also take care of NULL as connector to state reset. v3: remove need

[PATCH] drm/atomic: use connector references (v3)

2016-05-03 Thread Daniel Vetter
On Wed, May 04, 2016 at 06:03:05AM +1000, Dave Airlie wrote: > From: Dave Airlie > > Take a reference when setting a crtc on a connecter, > also take one when duplicating if a crtc is set, > and drop one on destroy if a crtc is set. > > v2: take Daniel Stone's advice and simplify the > ref/unref

[Intel-gfx] [PATCH] drm/atomic: use connector references (v3)

2016-05-03 Thread Daniel Stone
Hi, On 3 May 2016 at 21:09, Daniel Vetter wrote: > This patch series seems cursed with lots of embarrassement for reviewers. > I totally missed/forgot the FIXME in drm_atomic_state_default_clear(), > which this patch fixes. Anyway, I'm happy to burn my hands again ;-) Let's share the embarrassme