No subject

2010-05-11 Thread
invaluable for delving into and fixing some obnoxious driver bugs. I suspect its honeymoon period is now over - those bugs that it could detect easily have been fixed (I hope). In order to capture the relevant information for later chipset generations, we will need to parse the command stream and

DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Tue, 11 May 2010 12:10:01 -0700, Andrew Morton wrote: > On Tue, 11 May 2010 19:52:31 +0100 > Chris Wilson wrote: > > > On Tue, 11 May 2010 11:35:55 -0400, Andrew Morton > linux-foundation.org> wrote: > > > No, io_mapping_map_atomic_wc() cannot be used from [soft]irq context: > > > it

[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

DRM Error on Acer Aspire One

2010-05-11 Thread Jaswinder Singh Rajput
Hello, With latest git kernel, I am getting following DRM error and not getting XWindows : [ 45.269075] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [ 45.269111] [ cut here ] [ 45.269139] WARNING: at mm/highmem.c:453

DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Tue, 11 May 2010 11:35:55 -0400, Andrew Morton wrote: > No, io_mapping_map_atomic_wc() cannot be used from [soft]irq context: > it hardwires use of KM_USER0. I suggest that io_mapping_create_wc(), > io_mapping_map_atomic_wc() etc be changed so that the caller passes in the > KM_foo kmap slot

[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 ---

DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Tue, 11 May 2010 10:48:18 -0400, Andrew Morton wrote: > > On Tue, 11 May 2010 17:10:53 +0100 Chris Wilson > wrote: > > > On Tue, 11 May 2010 20:30:07 +0530, Jaswinder Singh Rajput > at gmail.com> wrote: > > > Hello, > > > > > > With latest git kernel, I am getting following DRM error and

DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Tue, 11 May 2010 20:30:07 +0530, Jaswinder Singh Rajput wrote: > Hello, > > With latest git kernel, I am getting following DRM error and not > getting XWindows : [snip] Hmm, there are still patches for capturing error state that haven't gone upstream, shame on me. That error is a secondary

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Wed, 12 May 2010 09:17:09 +1000 Dave Airlie wrote: > >> >> and > >> >> this codepath is called from non-irq contexts just as much as irq > >> >> contexts. > >> > > >> > That's fine. __As long as we do a local_irq_disable(), KM_IRQ0 can be > >> > used from both irq- and non-irq contexts. __All

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Wed, 12 May 2010 08:51:05 +1000 Dave Airlie wrote: > On Wed, May 12, 2010 at 8:32 AM, Andrew Morton > wrote: > > On Wed, 12 May 2010 08:22:49 +1000 > > Dave Airlie wrote: > > > >> On Wed, May 12, 2010 at 5:57 AM, Chris Wilson >> chris-wilson.co.uk> wrote: > >> > On Tue, 11 May 2010

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Wed, 12 May 2010 08:22:49 +1000 Dave Airlie wrote: > On Wed, May 12, 2010 at 5:57 AM, Chris Wilson > wrote: > > On Tue, 11 May 2010 12:10:01 -0700, Andrew Morton > linux-foundation.org> wrote: > >> On Tue, 11 May 2010 19:52:31 +0100 > >> Chris Wilson wrote: > >> > >> > On Tue, 11 May 2010

[PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info

2010-05-11 Thread Dave Airlie
On Sat, May 8, 2010 at 1:18 AM, Jerome Glisse wrote: > Userspace need to know the hw crtc id (0, 1, 2, ...) from the drm > crtc id. Bump the minor version so userspace can enable conditionaly > features depend on this. > > Signed-off-by: Jerome Glisse > --- > ?drivers/gpu/drm/radeon/radeon_drv.c

fb+drm: possible circular locking dependency detected

2010-05-11 Thread Clemens Ladisch
With radeon KMS, after using a program accessing the framebuffer, I started X and got this: === [ INFO: possible circular locking dependency detected ] 2.6.34-rc6 #117 --- X/1846 is trying to

[Bug 28069] New: maniadrive - smooth play with LIBGL_ALWAYS_INDIRECT=true, (almost) unplayable otherwise

2010-05-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28069 Summary: maniadrive - smooth play with LIBGL_ALWAYS_INDIRECT=true, (almost) unplayable otherwise Product: DRI Version: XOrg CVS Platform: Other OS/Version:

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Tue, 11 May 2010 19:52:31 +0100 Chris Wilson wrote: > On Tue, 11 May 2010 11:35:55 -0400, Andrew Morton linux-foundation.org> wrote: > > No, io_mapping_map_atomic_wc() cannot be used from [soft]irq context: > > it hardwires use of KM_USER0. I suggest that io_mapping_create_wc(), > >

[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 =

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Tue, 11 May 2010 19:19:26 +0100 Chris Wilson wrote: > On Tue, 11 May 2010 10:48:18 -0400, Andrew Morton linux-foundation.org> wrote: > > > > On Tue, 11 May 2010 17:10:53 +0100 Chris Wilson > chris-wilson.co.uk> wrote: > > > > > On Tue, 11 May 2010 20:30:07 +0530, Jaswinder Singh Rajput

DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Tue, 11 May 2010 17:10:53 +0100 Chris Wilson wrote: > On Tue, 11 May 2010 20:30:07 +0530, Jaswinder Singh Rajput gmail.com> wrote: > > Hello, > > > > With latest git kernel, I am getting following DRM error and not > > getting XWindows : > > [snip] > > Hmm, there are still patches for

[Bug 27722] [865] no compiz after upgrade from 7.7.1 to 7.8.1

2010-05-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27722 Gordon Jin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

fb+drm: possible circular locking dependency detected

2010-05-11 Thread Clemens Ladisch
With radeon KMS, after using a program accessing the framebuffer, I started X and got this: === [ INFO: possible circular locking dependency detected ] 2.6.34-rc6 #117 --- X/1846 is trying to

DRM Error on Acer Aspire One

2010-05-11 Thread Jaswinder Singh Rajput
Hello, With latest git kernel, I am getting following DRM error and not getting XWindows : [ 45.269075] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [ 45.269111] [ cut here ] [ 45.269139] WARNING: at mm/highmem.c:453

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Andrew Morton
On Wed, 12 May 2010 08:22:49 +1000 Dave Airlie airl...@gmail.com wrote: On Wed, May 12, 2010 at 5:57 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, 11 May 2010 12:10:01 -0700, Andrew Morton a...@linux-foundation.org wrote: On Tue, 11 May 2010 19:52:31 +0100 Chris Wilson