[PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2016-08-03 Thread David Herrmann
Hey On Wed, Aug 3, 2016 at 5:04 PM, Chris Wilson wrote: > In addition to the last-in/first-out stack for accessing drm_mm nodes, > we occasionally and in the future often want to find a drm_mm_node by an > address. To do so efficiently we need to track the nodes in an interval > tree - lookups

[PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2016-08-03 Thread Chris Wilson
In addition to the last-in/first-out stack for accessing drm_mm nodes, we occasionally and in the future often want to find a drm_mm_node by an address. To do so efficiently we need to track the nodes in an interval tree - lookups for a particular address will then be O(lg(N)), where N is the

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-22 Thread Daniel Vetter
On Wed, Oct 21, 2015 at 5:14 PM, David Herrmann wrote: > On Wed, Oct 21, 2015 at 5:11 PM, Daniel Vetter wrote: >> On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: >>> In addition to the last-in/first-out stack for accessing drm_mm nodes, >>> we occasionally and in the future often

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-21 Thread David Herrmann
Hi On Wed, Oct 21, 2015 at 5:11 PM, Daniel Vetter wrote: > On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: >> In addition to the last-in/first-out stack for accessing drm_mm nodes, >> we occasionally and in the future often want to find a drm_mm_node by an >> address. To do so

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-21 Thread Daniel Vetter
On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: > In addition to the last-in/first-out stack for accessing drm_mm nodes, > we occasionally and in the future often want to find a drm_mm_node by an > address. To do so efficiently we need to track the nodes in an interval > tree -

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-16 Thread Daniel Vetter
> > To: Chris Wilson; Daniel Vetter; Intel Graphics Development; dri- > > devel at lists.freedesktop.org > > Subject: Re: [Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an > > interval > > tree > > > > Hi > > > > On Tue, Oct 6, 2015 at

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-16 Thread Daniel, Thomas
top.org > Subject: Re: [Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval > tree > > Hi > > On Tue, Oct 6, 2015 at 1:19 PM, Chris Wilson > wrote: > > On Tue, Oct 06, 2015 at 01:11:56PM +0200, Daniel Vetter wrote: > >> On Tue, Oct 06, 2015 at

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-07 Thread David Herrmann
Hi On Tue, Oct 6, 2015 at 1:19 PM, Chris Wilson wrote: > On Tue, Oct 06, 2015 at 01:11:56PM +0200, Daniel Vetter wrote: >> On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: >> > In addition to the last-in/first-out stack for accessing drm_mm nodes, >> > we occasionally and in the

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-06 Thread Daniel Vetter
On Tue, Oct 06, 2015 at 12:19:43PM +0100, Chris Wilson wrote: > On Tue, Oct 06, 2015 at 01:11:56PM +0200, Daniel Vetter wrote: > > On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: > > > In addition to the last-in/first-out stack for accessing drm_mm nodes, > > > we occasionally and in

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-06 Thread Daniel Vetter
On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: > In addition to the last-in/first-out stack for accessing drm_mm nodes, > we occasionally and in the future often want to find a drm_mm_node by an > address. To do so efficiently we need to track the nodes in an interval > tree -

[Intel-gfx] [PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-06 Thread Chris Wilson
On Tue, Oct 06, 2015 at 01:11:56PM +0200, Daniel Vetter wrote: > On Tue, Oct 06, 2015 at 11:53:09AM +0100, Chris Wilson wrote: > > In addition to the last-in/first-out stack for accessing drm_mm nodes, > > we occasionally and in the future often want to find a drm_mm_node by an > > address. To do

[PATCH 1/3] drm: Track drm_mm nodes with an interval tree

2015-10-06 Thread Chris Wilson
In addition to the last-in/first-out stack for accessing drm_mm nodes, we occasionally and in the future often want to find a drm_mm_node by an address. To do so efficiently we need to track the nodes in an interval tree - lookups for a particular address will then be O(lg(N)), where N is the