Re: [Intel-gfx] [PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 09:51:33PM +0200, Thomas Hellström wrote: > Daniel, > TTM releases the spinlock protecting the drm_mm manager in between > evictions to be able to wait (without holding locks) for bo idle. > That means that the lru list may have changed between the first > eviction and the n

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-19 Thread Simon Farnsworth
On Wednesday 19 May 2010, Eric Anholt wrote: > On Wed, 19 May 2010 10:00:10 +0100, Simon Farnsworth wrote: > > Bear in mind that I don't have to use VAAPI to call your ioctl; I can > > write evil code that calls it directly. On the other hand, you can't > > remove the ioctl later - users will wa

Re: [Intel-gfx] [PATCH 0/3] implement multiple ring buffer V1

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 05:33:28PM +0800, Zou Nan hai wrote: > The patch series try to abstruct ring buffer > structure, implement BSD (bit stream decoder) ring > buffer for H.264/VC1 VLD decoding. > > I mark this as V1 for review. Woot, we're (slowly) getting there. I'll do an in-depth revie

Re: [Intel-gfx] [PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Chris Wilson
On Wed, 19 May 2010 18:57:52 +0200, Daniel Vetter wrote: > On Wed, May 19, 2010 at 09:06:52AM +0100, Chris Wilson wrote: > > The next adaptation I did was to clean up evict_something to add objects > > from the inactive, active&&!pinned&&!write, flushing&&!pinned, > > active&&!pinned&&write lists.

Re: [Intel-gfx] [PATCH 3/9] drm: kill drm_mm_node->private

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 11:25:07AM +0200, Jerome Glisse wrote: > On Tue, May 18, 2010 at 11:11:45PM +0200, Daniel Vetter wrote: > > Only ever assigned, never used. > > > > Signed-off-by: Daniel Vetter > > NAK > > private was to be use when doing range restricted allocation > somehow the patch t

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-19 Thread Eric Anholt
On Wed, 19 May 2010 10:00:10 +0100, Simon Farnsworth wrote: > On Wednesday 19 May 2010, "Zou, Nanhai" wrote: > > Currently we do not find any regression or slowness. We have been > > testing > > full HD video test along with regression tests for more than 1 month. The > > only slowness we f

Re: [Intel-gfx] [PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Daniel Vetter
On Wed, May 19, 2010 at 09:06:52AM +0100, Chris Wilson wrote: > On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter > wrote: > > Hi all, > > > > This patch series implements the fair-lru eviction Chris Wilson already > > posted with a twist. It's essentially the same idea & algorithm. > > Differne

[Intel-gfx] [PATCH 3/3] implement BSD ring buffer V1

2010-05-19 Thread Zou Nan hai
implement BSD (bit stream decoder) ring buffer for H.264/VC1 VLD decoding on G45+ Signed-off-by: Zou Nan hai Signed-off-by: Xiang Hai hao --- drivers/gpu/drm/i915/i915_dma.c |2 + drivers/gpu/drm/i915/i915_drv.h |2 + drivers/gpu/drm/i915/i915_gem.c | 103 ++

[Intel-gfx] [PATCH 2/3] convert some gem structures to per-ring V1

2010-05-19 Thread Zou Nan hai
mark gem object on which ring with exec flag. request list and active_list were moved into intel_ring_buffer structure. Signed-off-by: Zou Nan hai Signed-off-by: Xiang Hai hao --- drivers/gpu/drm/i915/i915_debugfs.c | 12 +- drivers/gpu/drm/i915/i915_drv.c |2 +- drivers/gpu/drm/i91

[Intel-gfx] [PATCH 1/3] introduce intel_ring_buffer structure V1

2010-05-19 Thread Zou Nan hai
introduce intel_ring_buffer structure, convert render ring buffer to use the structure. Signed-off-by: Zou Nan hai Signed-off-by: Xiang Hai hao --- drivers/gpu/drm/i915/Makefile |1 + drivers/gpu/drm/i915/i915_debugfs.c |8 +- drivers/gpu/drm/i915/i915_dma.c | 153

[Intel-gfx] [PATCH 0/3] implement multiple ring buffer V1

2010-05-19 Thread Zou Nan hai
The patch series try to abstruct ring buffer structure, implement BSD (bit stream decoder) ring buffer for H.264/VC1 VLD decoding. I mark this as V1 for review. ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.or

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-19 Thread Simon Farnsworth
On Wednesday 19 May 2010, "Zou, Nanhai" wrote: > Currently we do not find any regression or slowness. We have been > testing > full HD video test along with regression tests for more than 1 month. The > only slowness we find now is with playing 2 1080p H.264 video. That was > caused by too

Re: [Intel-gfx] [PATCH 0/9] [RFC] fair-lru eviction

2010-05-19 Thread Chris Wilson
On Tue, 18 May 2010 23:11:42 +0200, Daniel Vetter wrote: > Hi all, > > This patch series implements the fair-lru eviction Chris Wilson already > posted with a twist. It's essentially the same idea & algorithm. > Differnences versus his patch: > - Doesn't do any allocations while scanning. > - Im