Re: [Intel-gfx] [PATCH] drm/dp-mst: Remove branches before dropping the reference

2014-12-09 Thread David Airlie
> On 8 December 2014 at 22:55, Daniel Vetter wrote: > > When we unplug a dp mst branch we unreference the entire tree from > > the root towards the leaves. Which is ok, since that's the way the > > pointers and so also the refcounts go. > > > > But when we drop the reference we must make sure tha

Re: [Intel-gfx] [PATCH] drm/dp-mst: Remove branches before dropping the reference

2014-12-09 Thread Daniel Martin
On 8 December 2014 at 22:55, Daniel Vetter wrote: > When we unplug a dp mst branch we unreference the entire tree from > the root towards the leaves. Which is ok, since that's the way the > pointers and so also the refcounts go. > > But when we drop the reference we must make sure that we remove t

[Intel-gfx] [PATCH] drm/dp-mst: Remove branches before dropping the reference

2014-12-08 Thread Daniel Vetter
When we unplug a dp mst branch we unreference the entire tree from the root towards the leaves. Which is ok, since that's the way the pointers and so also the refcounts go. But when we drop the reference we must make sure that we remove the branches/ports from the lists/pointers before dropping th