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

2010-05-11 Thread bugzilla-daemon
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 ac

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 debug_kmap_atomic+0xa9

Re: 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

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Jaswinder Singh Rajput
Hello Chris, On Tue, May 11, 2010 at 9:40 PM, Chris Wilson wrote: > 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 capturin

Re: 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 > wrote: > > Hello, > > > > With latest git kernel, I am getting following DRM error and not > > getting XWindows : > > [snip] > > Hmm, there are still patches for capturing e

Re: 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 > > wrote: > > > Hello, > > > > > > With latest git kernel, I am getting following DRM error and not > > >

[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 --- drivers/gpu/drm/i915/i91

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Jaswinder Singh Rajput
Hello Andrew, On Tue, May 11, 2010 at 8:18 PM, 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 >> wrote: >> > Hello, >> > >> > With latest git kernel, I am getting following DRM error and not >> >

Re: 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 > 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 > > > wrote: > > > > Hello, > > > >

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

Re: [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); > > + v

Re: 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

Re: 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 > 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()

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

2010-05-11 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 > colle

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

2010-05-11 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, > > O

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

2010-05-11 Thread bugzilla-daemon
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:

Re: [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 err

Re: 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 > > wrote: > > > No, io_mapping_map_atomic_wc() cannot be used from [soft]irq context: > > > it hardwires use of KM_USER0

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

2010-05-11 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 > 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 XWin

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

2010-05-11 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 >> wrote: >>> Hello Chris and Andrew, >>> >>> I did further testing and noticed t

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Dave Airlie
On Wed, May 12, 2010 at 5:57 AM, Chris Wilson wrote: > 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 >> > wrote: >> > > No, io_mapping_map_atomic_wc() cannot be

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Wed, 12 May 2010 08:22:49 +1000, Dave Airlie wrote: > I'd rather we just backout the hangcheck stuff touching copies at all > at this point, and try again doing it properly with a slow work or > something for later. >From my point of view, the information provided by the hangcheck has been inv

Re: 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 > > wrote: > >> On Tue, 11 May 2010 19:52:31 +0100 > >> Chris Wilson wrote: > >> > >> > On Tue, 11 May 2010 11:35:55 -0400, And

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Dave Airlie
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 >> wrote: >> > On Tue, 11 May 2010 12:10:01 -0700, Andrew Morton >> > wrote: >> >> On Tue, 11 May 2010 19:52:31 +0100 >> >> Chris

Re: DRM Error on Acer Aspire One

2010-05-11 Thread Dave Airlie
On Wed, May 12, 2010 at 8:56 AM, Andrew Morton wrote: > 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

Re: 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 > >> wrote: > >> > On Tue, 11 May 2010 12:10:01 -0700, Andrew Mo

Re: 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

[Bug 27211] endless PROTECTION_FAULT logs, Nouveau drm, TNT card

2010-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27211 --- Comment #7 from Brent 2010-05-11 23:35:47 PDT --- Tried the above patch against the stock 2.6.33.3 kernel, with acceleration turned on, and got "(EE) [drm] failed to open device" in Xorg.0.log. But it did give me a 80x50 text console, so it

[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

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

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 debug_kmap_atomic+0xa9

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 Jaswinder Singh Rajput
Hello Chris, On Tue, May 11, 2010 at 9:40 PM, 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

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 cap

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

[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 --- drivers/gpu/drm/i915/i91

DRM Error on Acer Aspire One

2010-05-11 Thread Jaswinder Singh Rajput
Hello Andrew, On Tue, May 11, 2010 at 8:18 PM, 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 an

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 >

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

[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); > > + vo

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 i

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(), > > io_mappi

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

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

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 hardwir

DRM Error on Acer Aspire One

2010-05-11 Thread Chris Wilson
On Wed, 12 May 2010 08:22:49 +1000, Dave Airlie wrote: > I'd rather we just backout the hangcheck stuff touching copies at all > at this point, and try again doing it properly with a slow work or > something for later.

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 i

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

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 12:10:01

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

[Bug 27211] endless PROTECTION_FAULT logs, Nouveau drm, TNT card

2010-05-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27211 --- Comment #7 from Brent 2010-05-11 23:35:47 PDT --- Tried the above patch against the stock 2.6.33.3 kernel, with acceleration turned on, and got "(EE) [drm] failed to open device" in Xorg.0.log. But it did give me a 80x50 text console, so i