[PATCH] drm: Fix use-after-free in drm_gem_vm_close()

2011-03-17 Thread Chris Wilson
As we may release the last reference, we need to store the device in a local variable in order to unlock afterwards. [ 60.140768] BUG: unable to handle kernel paging request at 6b6b6b9f [ 60.140973] IP: [] __mutex_unlock_slowpath+0x5a/0x111 [ 60.141014] *pdpt = 24a54001 *pde = 00

Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Chris Wilson
On Thu, 17 Mar 2011 13:54:45 -0300, Herton Ronaldo Krzesinski wrote: > On Thu, Mar 17, 2011 at 01:46:34PM +, Chris Wilson wrote: > > This is the single chunk required. I had thought that the actual > > insertion/deletion was serialised under the struct mutex and the intention > > of the spinl

[PATCH] drm: Fix use-after-free in drm_gem_vm_close()

2011-03-17 Thread Chris Wilson
As we may release the last reference, we need to store the device in a local variable in order to unlock afterwards. [ 60.140768] BUG: unable to handle kernel paging request at 6b6b6b9f [ 60.140973] IP: [] __mutex_unlock_slowpath+0x5a/0x111 [ 60.141014] *pdpt = 24a54001 *pde = 00

Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Herton Ronaldo Krzesinski
On Thu, Mar 17, 2011 at 01:46:34PM +, Chris Wilson wrote: > On Thu, 17 Mar 2011 09:39:07 -0300, Herton Ronaldo Krzesinski > wrote: > > I don't know if it's the most correct fix, but perhaps the simple fix > > is needed in the code. It's against latest Linus tree. We may have an > > already re

[Bug 35396] New: [mesa] black window when running glxgears after resume from suspend on ATI Radeon X800 SE

2011-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35396 Summary: [mesa] black window when running glxgears after resume from suspend on ATI Radeon X800 SE Product: Mesa Version: 7.10 Platform: Other OS/Version: All Statu

[Bug 35396] New: [mesa] black window when running glxgears after resume from suspend on ATI Radeon X800 SE

2011-03-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35396 Summary: [mesa] black window when running glxgears after resume from suspend on ATI Radeon X800 SE Product: Mesa Version: 7.10 Platform: Other OS/Version: All Statu

Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Chris Wilson
On Thu, 17 Mar 2011 09:39:07 -0300, Herton Ronaldo Krzesinski wrote: > I don't know if it's the most correct fix, but perhaps the simple fix > is needed in the code. It's against latest Linus tree. We may have an > already removed client_list, or we didn't add any item to client_list > (file_priv

Re: Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Chris Wilson
On Thu, 17 Mar 2011 13:54:45 -0300, Herton Ronaldo Krzesinski wrote: > On Thu, Mar 17, 2011 at 01:46:34PM +, Chris Wilson wrote: > > This is the single chunk required. I had thought that the actual > > insertion/deletion was serialised under the struct mutex and the intention > > of the spinl

Re: Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Herton Ronaldo Krzesinski
On Thu, Mar 17, 2011 at 01:46:34PM +, Chris Wilson wrote: > On Thu, 17 Mar 2011 09:39:07 -0300, Herton Ronaldo Krzesinski > wrote: > > I don't know if it's the most correct fix, but perhaps the simple fix > > is needed in the code. It's against latest Linus tree. We may have an > > already re

Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Herton Ronaldo Krzesinski
(please CC me if replying) Hi, recently I saw a report about an oops in 2.6.38-rc7 in i915, attached at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/733780 Unfortunately the oops is cut (without call trace): [126167.230394] BUG: unable to handle kernel paging request at 00100104 [126167.

Re: Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Chris Wilson
On Thu, 17 Mar 2011 09:39:07 -0300, Herton Ronaldo Krzesinski wrote: > I don't know if it's the most correct fix, but perhaps the simple fix > is needed in the code. It's against latest Linus tree. We may have an > already removed client_list, or we didn't add any item to client_list > (file_priv

[Bug 34972] [nouveau] Screen blinking on dualhead

2011-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34972 --- Comment #1 from Nikolay Rysev 2011-03-17 05:54:36 PDT --- 2.6.38 — bug still present -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for t

[Bug 34972] [nouveau] Screen blinking on dualhead

2011-03-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34972 --- Comment #1 from Nikolay Rysev 2011-03-17 05:54:36 PDT --- 2.6.38 ? bug still present -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for t

Oops at i915_gem_retire_requests_ring

2011-03-17 Thread Herton Ronaldo Krzesinski
(please CC me if replying) Hi, recently I saw a report about an oops in 2.6.38-rc7 in i915, attached at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/733780 Unfortunately the oops is cut (without call trace): [126167.230394] BUG: unable to handle kernel paging request at 00100104 [126167.

[git pull] drm next tree

2011-03-17 Thread Dave Airlie
Hi Linus, since I see drm named in two other pull threads (staging + bkl) I suppose I should send my pull req. Highlights: core: drop i830 driver and BKL, add support to drm core to allow USB drm drivers, generic unaccelerated buffer create/map fns for simple fbdev applications (like plymouth

[Bug 34709] with r300 (rv530) kms loaded cannot suspend kernel 2.6.37+ with uswsusp

2011-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34709 --- Comment #5 from Michal Suchanek 2011-03-17 02:31:49 PDT --- hmm, so it does not happen on rv515gl hopefully can bisect with the rv530 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this

[Bug 34709] with r300 (rv530) kms loaded cannot suspend kernel 2.6.37+ with uswsusp

2011-03-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=34709 --- Comment #5 from Michal Suchanek 2011-03-17 02:31:49 PDT --- hmm, so it does not happen on rv515gl hopefully can bisect with the rv530 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this