[next] Null pointer dereference in nouveau_vm_map_sg

2012-01-15 Thread Martin Nyhus
In some cases mem will be null in nouveau_vm_map_sg, resulting in a crash at drivers/gpu/drm/nouveau/nouveau_vm.c:84. It seems to be easy enough to reproduce, so I can test patches if needed. Martin [ 216.546584] BUG: unable to handle kernel NULL pointer dereference at 00d

[next] Null pointer dereference in nouveau_vm_map_sg

2012-01-15 Thread Martin Nyhus
In some cases mem will be null in nouveau_vm_map_sg, resulting in a crash at drivers/gpu/drm/nouveau/nouveau_vm.c:84. It seems to be easy enough to reproduce, so I can test patches if needed. Martin [ 216.546584] BUG: unable to handle kernel NULL pointer dereference at 00d

[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36918 --- Comment #4 from almos 2012-01-15 12:53:47 PST --- Now I tried it with mesa master on a barts pro, and soft particles don't cause any noticeable slowdown. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42117] R200 driver performance, UMS, all mesa versions from 7.6

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42117 --- Comment #16 from smoki 2012-01-15 11:34:36 PST --- I tried etracer also with 7.5.2 UMS and have problems with 1024x1024 textures and run in a few fps. But current KMS with 8.0-devel mesa haven't that problem and etracar (with defaut textur

[patch] drm/nouveau/dp: nouveau_dp_link_train() returns bool

2012-01-15 Thread Dan Carpenter
The caller doesn't check the return value, but this function returns a bool so static checkers complain when we return a negative error code. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index 9b93b70..dcffd13 100644 --- a

[patch] gma500: change logical negate to bitwise

2012-01-15 Thread Dan Carpenter
Logical negate is always false here. This was found by Sparse: drivers/gpu/drm/gma500/psb_irq.c:407:17: warning: dubious: x & !y Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index 7be802b..4ce680f 100644 --- a/drivers/gpu/drm/gma5

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 Marko Kohtala changed: What|Removed |Added Attachment #55600|application/octet-stream|text/plain mime type|

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #6 from Marko Kohtala 2012-01-15 06:13:16 PST --- Created attachment 55604 --> https://bugs.freedesktop.org/attachment.cgi?id=55604 X server log, before panic if I remember right -- Configure bugmail: https://bugs.freedesktop.org

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #4 from Marko Kohtala 2012-01-15 05:58:36 PST --- Created attachment 55600 --> https://bugs.freedesktop.org/attachment.cgi?id=55600 lspci -vvnn -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #3 from Marko Kohtala 2012-01-15 05:57:38 PST --- Created attachment 55599 --> https://bugs.freedesktop.org/attachment.cgi?id=55599 A kernel panic To test the card, I usually booted with "text" on kernel command line to prevent gd

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #2 from Alex Deucher 2012-01-15 05:56:22 PST --- Please attach your xorg log and dmesg output. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #1 from Marko Kohtala 2012-01-15 05:55:53 PST --- Created attachment 55598 --> https://bugs.freedesktop.org/attachment.cgi?id=55598 Artefacts in text console The artefacts seem to come during scrolling. If scrolling a lot, like in

[Bug 44800] New: Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 Bug #: 44800 Summary: Radeon HD 6450 CAICOS screen corruption and kernel crashes Classification: Unclassified Product: DRI Version: unspecified Platform: x86-64 (AMD64

[patch] drm/nouveau/dp: nouveau_dp_link_train() returns bool

2012-01-15 Thread Dan Carpenter
The caller doesn't check the return value, but this function returns a bool so static checkers complain when we return a negative error code. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index 9b93b70..dcffd13 100644 --- a

[patch] gma500: change logical negate to bitwise

2012-01-15 Thread Dan Carpenter
Logical negate is always false here. This was found by Sparse: drivers/gpu/drm/gma500/psb_irq.c:407:17: warning: dubious: x & !y Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/gma500/psb_irq.c b/drivers/gpu/drm/gma500/psb_irq.c index 7be802b..4ce680f 100644 --- a/drivers/gpu/drm/gma5

Re: [git pull] dma-buf tree

2012-01-15 Thread Sumit Semwal
Hi Dave, On 13 January 2012 14:38, Dave Airlie wrote: > On Mon, Jan 9, 2012 at 6:44 AM, Sumit Semwal wrote: >> On 9 January 2012 03:38, Linus Torvalds >> wrote: >>> However, I ask myself whether it's ever sane to ask the user to enable >>> this? Isn't this very much a "drivers will use 'selec

[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36918 --- Comment #4 from almos 2012-01-15 12:53:47 PST --- Now I tried it with mesa master on a barts pro, and soft particles don't cause any noticeable slowdown. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 27314] displayport link training fails on certain panels (channel equalization fails)

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27314 --- Comment #64 from J?r?my Lal 2012-01-15 04:16:02 PST --- FYI, linux 3.2-rc7 on iMac12,2 (27" 2011 model) has radeon kms running without any glitch, and even with pretty good performance ! I'm EFI-booting with default debian/experimental kerne

[Bug 26891] Radeon KMS on Macs with EFI boot

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #10 from J?r?my Lal 2012-01-15 04:09:51 PST --- linux 3.2-rc7 is working without any patch, just radeon kms, on iMac12,2 EFI boot. (grub-efi-amd64) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[Bug 42117] R200 driver performance, UMS, all mesa versions from 7.6

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42117 --- Comment #16 from smoki 2012-01-15 11:34:36 PST --- I tried etracer also with 7.5.2 UMS and have problems with 1024x1024 textures and run in a few fps. But current KMS with 8.0-devel mesa haven't that problem and etracar (with defaut textur

[Bug 42580] New: [radeon RS690] resume fails when radeon firmware is not available

2012-01-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42580 URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=65593 4 Summary: [radeon RS690] resume fails when radeon firmware is not available Product: Drivers Versio

[PATCH] drm/radeon/kms: Add an MSI quirk for Dell RS690

2012-01-15 Thread alexdeuc...@gmail.com
From: Alex Deucher Interrupts only work with MSIs. https://bugs.freedesktop.org/show_bug.cgi?id=37679 Reported-by: Dmitry Podgorny Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_irq_kms.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 Marko Kohtala changed: What|Removed |Added Attachment #55600|application/octet-stream|text/plain mime type|

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #6 from Marko Kohtala 2012-01-15 06:13:16 PST --- Created attachment 55604 --> https://bugs.freedesktop.org/attachment.cgi?id=55604 X server log, before panic if I remember right -- Configure bugmail: https://bugs.freedesktop.org

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #5 from Marko Kohtala 2012-01-15 06:00:41 UTC --- Created attachment 55601 --> https://bugs.freedesktop.org/attachment.cgi?id=55601 dmesg output to text console -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #5 from Marko Kohtala 2012-01-15 06:00:41 UTC --- Created attachment 55601 --> https://bugs.freedesktop.org/attachment.cgi?id=55601 dmesg output to text console -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #4 from Marko Kohtala 2012-01-15 05:58:36 PST --- Created attachment 55600 --> https://bugs.freedesktop.org/attachment.cgi?id=55600 lspci -vvnn -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #3 from Marko Kohtala 2012-01-15 05:57:38 PST --- Created attachment 55599 --> https://bugs.freedesktop.org/attachment.cgi?id=55599 A kernel panic To test the card, I usually booted with "text" on kernel command line to prevent gd

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #2 from Alex Deucher 2012-01-15 05:56:22 PST --- Please attach your xorg log and dmesg output. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are t

[Bug 44800] Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 --- Comment #1 from Marko Kohtala 2012-01-15 05:55:53 PST --- Created attachment 55598 --> https://bugs.freedesktop.org/attachment.cgi?id=55598 Artefacts in text console The artefacts seem to come during scrolling. If scrolling a lot, like in

[Bug 44800] New: Radeon HD 6450 CAICOS screen corruption and kernel crashes

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44800 Bug #: 44800 Summary: Radeon HD 6450 CAICOS screen corruption and kernel crashes Classification: Unclassified Product: DRI Version: unspecified Platform: x86-64 (AMD64

[PATCH] drm/radeon/kms: Add an MSI quirk for Dell RS690

2012-01-15 Thread alexdeucher
From: Alex Deucher Interrupts only work with MSIs. https://bugs.freedesktop.org/show_bug.cgi?id=37679 Reported-by: Dmitry Podgorny Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_irq_kms.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)

[Bug 27314] displayport link training fails on certain panels (channel equalization fails)

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27314 --- Comment #64 from Jérémy Lal 2012-01-15 04:16:02 PST --- FYI, linux 3.2-rc7 on iMac12,2 (27" 2011 model) has radeon kms running without any glitch, and even with pretty good performance ! I'm EFI-booting with default debian/experimental kernel

[Bug 42580] New: [radeon RS690] resume fails when radeon firmware is not available

2012-01-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42580 URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=65593 4 Summary: [radeon RS690] resume fails when radeon firmware is not available Product: Drivers Versio

[Bug 26891] Radeon KMS on Macs with EFI boot

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #10 from Jérémy Lal 2012-01-15 04:09:51 PST --- linux 3.2-rc7 is working without any patch, just radeon kms, on iMac12,2 EFI boot. (grub-efi-amd64) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Y

[Bug 43829] Resuming my AMD A4-3300 based laptop leaves the screen black

2012-01-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43829 --- Comment #6 from Zolt?n B?sz?rm?nyi 2012-01-14 19:14:30 PST --- Same for me - black screen. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee

[PATCH] gpu, drm, sis: Don't return uninitialized variable from sis_driver_load()

2012-01-15 Thread Daniel Vetter
On Sat, Jan 14, 2012 at 09:20:37PM +0100, Jesper Juhl wrote: > In sis_driver_load(), the only use of 'ret' is as the return value > from the function, unfortunately it is never initialized, so the > function just returns garbage when it succeeds. > To fix that, remove the variable and just return 0