Re: [Intel-gfx] [PATCH] [RFC] drm/i915: Restore LRU evict order, with a twist!

2010-05-15 Thread Chris Wilson
On Fri, 14 May 2010 18:37:46 +0100, Chris Wilson wrote: > When we need to clear some space in the GTT in order to pin a new > buffer, scan through the inactive list amalgamating objects in LRU order > until we find a large enough contiguous space to fit the new buffer. > > ... > This is benchmar

Re: [Intel-gfx] [PATCH] drm/i915: Kill dangerous pending-flip debugging

2010-05-15 Thread Jesse Barnes
On Sat, 15 May 2010 09:57:03 +0100 Chris Wilson wrote: > We can, by virtue of a vblank interrupt firing in the middle of > setting up the unpin work (i.e. after we set the unpin_work field and > before we write to the ringbuffer) enter intel_finish_page_flip() > prior to receiving the pending fli

Re: [Intel-gfx] [PATCH 2/2] x86 platform driver: intelligent power sharing driver

2010-05-15 Thread Jesse Barnes
On Sat, 15 May 2010 01:54:56 -0700 Andy Isaacson wrote: > On Mon, May 10, 2010 at 10:00:46PM -0400, Andrew Morton wrote: > > > + int i; > > > + u16 avg; > > > + > > > + for (i = 0; i < IPS_SAMPLE_COUNT; i++) > > > + total += (u64)(array[i] * 100); > > > > Actually, that does work. Someh

Re: [Intel-gfx] Picture quality on laptop LCD with i915GM chipset.

2010-05-15 Thread SD
--- On Sat, 5/15/10, Clemens Eisserer wrote: > From: Clemens Eisserer > Subject: Re: [Intel-gfx] Picture quality on laptop LCD with i915GM chipset. > To: "intel-gfx" > Date: Saturday, May 15, 2010, 12:56 PM > Hi, > > Why don't you record a video or take a screenshot to make > at least > clea

Re: [Intel-gfx] [PATCH 2/2] x86 platform driver: intelligent power sharing driver

2010-05-15 Thread Andy Isaacson
On Mon, May 10, 2010 at 10:00:46PM -0400, Andrew Morton wrote: > > + int i; > > + u16 avg; > > + > > + for (i = 0; i < IPS_SAMPLE_COUNT; i++) > > + total += (u64)(array[i] * 100); > > Actually, that does work. Somehow the compiler will promote array[i] > to u64 _before_ doing the

[Intel-gfx] [PATCH] drm/i915: Kill dangerous pending-flip debugging

2010-05-15 Thread Chris Wilson
We can, by virtue of a vblank interrupt firing in the middle of setting up the unpin work (i.e. after we set the unpin_work field and before we write to the ringbuffer) enter intel_finish_page_flip() prior to receiving the pending flip notification. Therefore we can expect to hit intel_finish_page_

Re: [Intel-gfx] Picture quality on laptop LCD with i915GM chipset.

2010-05-15 Thread Clemens Eisserer
Hi, Why don't you record a video or take a screenshot to make at least clear to us whats going on? - Clemens > I have tried OpenSuse 11.2, which is with newer kernel and it shows the same > bad like Fedora 12. So I decided to shift on fedora, but unfortunately > although Fedora 13 shows screen