[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-09 Thread Christian König
On 08.05.2012 16:55, Jerome Glisse wrote: > Still i don't want to loop more than necessary, it's bad, i am ok with : > http://people.freedesktop.org/~glisse/reset5/0001-drm-radeon-multiple-ring-allocator-v3.patch > > If there is fence signaled it will retry 2 times at most, otherwise it > will go t

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-09 Thread Christian König
On 08.05.2012 16:55, Jerome Glisse wrote: Still i don't want to loop more than necessary, it's bad, i am ok with : http://people.freedesktop.org/~glisse/reset5/0001-drm-radeon-multiple-ring-allocator-v3.patch If there is fence signaled it will retry 2 times at most, otherwise it will go to wait

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-08 Thread Christian König
On 07.05.2012 23:28, Jerome Glisse wrote: > On Mon, May 7, 2012 at 4:38 PM, Christian K?nig > wrote: >> On 07.05.2012 20:52, Jerome Glisse wrote: >>> On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse >>> wrote: > On 07.05.2012 17:23, Jerome Glisse wrote: >> Your patch here can enter in in

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-08 Thread Jerome Glisse
On Tue, May 8, 2012 at 6:23 AM, Christian K?nig wrote: > On 07.05.2012 23:28, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 4:38 PM, Christian K?nig >> ?wrote: >>> >>> On 07.05.2012 20:52, Jerome Glisse wrote: On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse ?wrote: >> >>

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-08 Thread Jerome Glisse
On Tue, May 8, 2012 at 6:23 AM, Christian König wrote: > On 07.05.2012 23:28, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 4:38 PM, Christian König >>  wrote: >>> >>> On 07.05.2012 20:52, Jerome Glisse wrote: On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse  wrote: >> >> O

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-08 Thread Christian König
On 07.05.2012 23:28, Jerome Glisse wrote: On Mon, May 7, 2012 at 4:38 PM, Christian König wrote: On 07.05.2012 20:52, Jerome Glisse wrote: On Mon, May 7, 2012 at 1:59 PM, Jerome Glissewrote: On 07.05.2012 17:23, Jerome Glisse wrote: Your patch here can enter in infinite loop and never re

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
On 07.05.2012 20:52, Jerome Glisse wrote: > On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse wrote: >>> On 07.05.2012 17:23, Jerome Glisse wrote: On Mon, May 7, 2012 at 7:42 AM, Christian K?nig wrote: > A startover with a new idea for a multiple ring allocator. > Should perform as

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
On 07.05.2012 17:23, Jerome Glisse wrote: > On Mon, May 7, 2012 at 7:42 AM, Christian K?nig > wrote: >> A startover with a new idea for a multiple ring allocator. >> Should perform as well as a normal ring allocator as long >> as only one ring does somthing, but falls back to a more >> complex al

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 4:38 PM, Christian K?nig wrote: > On 07.05.2012 20:52, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse ?wrote: On 07.05.2012 17:23, Jerome Glisse wrote: > > On Mon, May 7, 2012 at 7:42 AM, Christian > K?nig > ?wrote: >>

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse wrote: >> On 07.05.2012 17:23, Jerome Glisse wrote: >>> >>> On Mon, May 7, 2012 at 7:42 AM, Christian K?nig >>> ?wrote: A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring allocator as long

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 4:38 PM, Christian König wrote: > On 07.05.2012 20:52, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse  wrote: On 07.05.2012 17:23, Jerome Glisse wrote: > > On Mon, May 7, 2012 at 7:42 AM, Christian > König >  wrote: >>

Fwd: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
> On 07.05.2012 17:23, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 7:42 AM, Christian K?nig >> ?wrote: >>> >>> A startover with a new idea for a multiple ring allocator. >>> Should perform as well as a normal ring allocator as long >>> as only one ring does somthing, but falls back to a more

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring allocator as long as only one ring does somthing, but falls back to a more complex algorithm if more complex things start to happen. We store the last allocated bo in last, we always try to allocate

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
On 07.05.2012 20:52, Jerome Glisse wrote: On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse wrote: On 07.05.2012 17:23, Jerome Glisse wrote: On Mon, May 7, 2012 at 7:42 AM, Christian König wrote: A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 1:59 PM, Jerome Glisse wrote: >> On 07.05.2012 17:23, Jerome Glisse wrote: >>> >>> On Mon, May 7, 2012 at 7:42 AM, Christian König >>>  wrote: A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring allocator as long

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 7:42 AM, Christian K?nig wrote: > A startover with a new idea for a multiple ring allocator. > Should perform as well as a normal ring allocator as long > as only one ring does somthing, but falls back to a more > complex algorithm if more complex things start to happen. >

Fwd: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
> On 07.05.2012 17:23, Jerome Glisse wrote: >> >> On Mon, May 7, 2012 at 7:42 AM, Christian König >>  wrote: >>> >>> A startover with a new idea for a multiple ring allocator. >>> Should perform as well as a normal ring allocator as long >>> as only one ring does somthing, but falls back to a more

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
On 07.05.2012 17:23, Jerome Glisse wrote: On Mon, May 7, 2012 at 7:42 AM, Christian König wrote: A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring allocator as long as only one ring does somthing, but falls back to a more complex algorithm if mor

Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Jerome Glisse
On Mon, May 7, 2012 at 7:42 AM, Christian König wrote: > A startover with a new idea for a multiple ring allocator. > Should perform as well as a normal ring allocator as long > as only one ring does somthing, but falls back to a more > complex algorithm if more complex things start to happen. > >

[PATCH 14/20] drm/radeon: multiple ring allocator v2

2012-05-07 Thread Christian König
A startover with a new idea for a multiple ring allocator. Should perform as well as a normal ring allocator as long as only one ring does somthing, but falls back to a more complex algorithm if more complex things start to happen. We store the last allocated bo in last, we always try to allocate