[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-14 Thread Jaswinder Singh Rajput
Hello Chris, On Wed, May 12, 2010 at 8:01 PM, Jaswinder Singh Rajput wrote: > Hello Chris, > > On Wed, May 12, 2010 at 7:20 PM, Chris Wilson > wrote: >> On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput > at gmail.com> wrote: >>> Hello Chris, >>> >>> With this patch after XWindows

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris, On Wed, May 12, 2010 at 7:20 PM, Chris Wilson wrote: > On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput gmail.com> wrote: >> Hello Chris, >> >> With this patch after XWindows freezes, I get : > [snip] >> freeze dmesg : >>

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris, On Wed, May 12, 2010 at 1:23 AM, Chris Wilson wrote: > On Wed, 12 May 2010 01:08:23 +0530, Jaswinder Singh Rajput gmail.com> wrote: >> Hello Chris and Andrew, >> >> I did further testing and noticed that this patch fixes the boot >> errors and warnings and I get the XWindows. >>

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Chris Wilson
On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput wrote: > Hello Chris, > > With this patch after XWindows freezes, I get : [snip] > freeze dmesg : > http://userweb.kernel.org/~jaswinder/acer_netbook/dmesg_2634_chris_hang.txt > > freeze Xorg.log : >

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris, On Wed, May 12, 2010 at 1:35 AM, Jaswinder Singh Rajput wrote: > Hello Chris, > > On Wed, May 12, 2010 at 1:23 AM, Chris Wilson > wrote: >> On Wed, 12 May 2010 01:08:23 +0530, Jaswinder Singh Rajput > at gmail.com> wrote: >>> Hello Chris and Andrew, >>> >>> I did further testing

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris, On Wed, May 12, 2010 at 1:23 AM, Chris Wilson wrote: > On Wed, 12 May 2010 01:08:23 +0530, Jaswinder Singh Rajput gmail.com> wrote: >> Hello Chris and Andrew, >> >> I did further testing and noticed that this patch fixes the boot >> errors and warnings and I get the XWindows. >>

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris and Andrew, I did further testing and noticed that this patch fixes the boot errors and warnings and I get the XWindows. But XWindows freezes after some time. Thanks, -- Jaswinder Singh. On Wed, May 12, 2010 at 12:52 AM, Jaswinder Singh Rajput wrote: > Hello Chris and Andrew, > >

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-12 Thread Jaswinder Singh Rajput
Hello Chris and Andrew, On Tue, May 11, 2010 at 11:52 PM, Chris Wilson wrote: > Directly read the GTT mapping for the contents of the batch buffers > rather than relying on possibly stale CPU caches. Also for completeness > scan the flushing/inactive lists for the current buffers - we are >

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-11 Thread Chris Wilson
On Wed, 12 May 2010 01:08:23 +0530, Jaswinder Singh Rajput wrote: > Hello Chris and Andrew, > > I did further testing and noticed that this patch fixes the boot > errors and warnings and I get the XWindows. > > But XWindows freezes after some time. The BUG you were hitting before is on the

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-11 Thread Chris Wilson
On Tue, 11 May 2010 11:37:22 -0400, Andrew Morton wrote: > On Tue, 11 May 2010 19:22:14 +0100 Chris Wilson > wrote: > > > + reloc_offset = src_priv->gtt_offset; > > for (page = 0; page < page_count; page++) { > > - void *s, *d = kmalloc(PAGE_SIZE, GFP_ATOMIC); > > +

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-11 Thread Chris Wilson
Directly read the GTT mapping for the contents of the batch buffers rather than relying on possibly stale CPU caches. Also for completeness scan the flushing/inactive lists for the current buffers - we are collecting error state after all. Signed-off-by: Chris Wilson ---

[PATCH] drm/i915: Record error batch buffers using iomem

2010-05-11 Thread Andrew Morton
On Tue, 11 May 2010 19:22:14 +0100 Chris Wilson wrote: > + reloc_offset = src_priv->gtt_offset; > for (page = 0; page < page_count; page++) { > - void *s, *d = kmalloc(PAGE_SIZE, GFP_ATOMIC); > + void __iomem *s; > + void *d; > + > + d =