[PATCH 2/2] vga_switcheroo: initial implementation (v8)

2010-02-24 Thread Dave Airlie
From: Dave Airlie Many new laptops now come with 2 gpus, one to be used for low power modes and one for gaming/on-ac applications. These GPUs are typically wired to the laptop panel and VGA ports via a multiplexer unit which is controlled via ACPI methods. 4 combinations of systems typically exi

[PATCH 1/2] fb: for framebuffer handover don't exit the loop early.

2010-02-24 Thread Dave Airlie
From: Dave Airlie An offb machine has been seen in the fields which adds two offb nodes, so continue scanning the list after removing one. Signed-off-by: Dave Airlie --- drivers/video/fbmem.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/fbmem.c b/drive

fb + vga switcher patches (THE CORRECT ONES)

2010-02-24 Thread Dave Airlie
Oops send an old junk patch last time. Here we go again, fb patch + vga switcher patch affects fb as well I'm happy to put this all via drm-2.6 tree any objections? Dave. -- Download Intel® Parallel Studio Eval Try the

[PATCH 2/2] vga switch: hi my name is race condition

2010-02-24 Thread Dave Airlie
From: Dave Airlie This adds a delayed switch mode, and also changes the debugfs file to accept different parameters. It also adds switch blocking by the drm if any devices are in use echo: DIS - immediate change to discrete IGD - immediate change to IGD DDIS - delayed change to discrete DIGD - d

[PATCH 1/2] fb: for framebuffer handover don't exit the loop early.

2010-02-24 Thread Dave Airlie
From: Dave Airlie An offb machine has been seen in the fields which adds two offb nodes, so continue scanning the list after removing one. Signed-off-by: Dave Airlie --- drivers/video/fbmem.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/fbmem.c b/drive

fb fix + laptop gpu switching support

2010-02-24 Thread Dave Airlie
The first patch is a trivial change to the fb handover code. The second adds initial support framework for laptops with GPU switching features, it has some changes to fb code, along with changes to dri drivers. I'm happy to deal with these patches via drm-2.6 for this merge window if nobody has a

Re: [PATCH] drm/radeon: use ALIGN instead of open coding it

2010-02-24 Thread Corbin Simpson
On Wed, Feb 24, 2010 at 8:23 PM, Matt Turner wrote: > CC: Jerome Glisse > CC: Alex Deucher > CC: Dave Airlie > Signed-off-by: Matt Turner > --- >  drivers/gpu/drm/radeon/r600_blit.c     |    2 +- >  drivers/gpu/drm/radeon/r600_blit_kms.c |    4 ++-- >  2 files changed, 3 insertions(+), 3 delet

[PATCH] drm/vmwgfx: use ALIGN instead of open coding it

2010-02-24 Thread Matt Turner
CC: Jakob Bornecrantz Signed-off-by: Matt Turner --- drivers/gpu/drm/vmwgfx/svga_overlay.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/svga_overlay.h b/drivers/gpu/drm/vmwgfx/svga_overlay.h index f753d73..55b7627 100644 --- a/drivers/gp

[PATCH] drm/radeon: use ALIGN instead of open coding it

2010-02-24 Thread Matt Turner
CC: Jerome Glisse CC: Alex Deucher CC: Dave Airlie Signed-off-by: Matt Turner --- drivers/gpu/drm/radeon/r600_blit.c |2 +- drivers/gpu/drm/radeon/r600_blit_kms.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_blit.c b/drivers/g

[Bug 26745] New: mach64 driver missing 32-bit ioctl compatibility routines

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26745 Summary: mach64 driver missing 32-bit ioctl compatibility routines Product: DRI Version: XOrg CVS Platform: SPARC OS/Version: Linux (All) Status: NEW Sever

[Bug 15276] latest git kernel: general protection fault: 0000 [#1]

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15276 --- Comment #46 from Andreas Wallberg 2010-02-24 23:44:04 --- Well, having tried git apply on 2.6.33 stable all the way back to rc5 with this result: git apply ttm_fix.patch error: patch failed: drivers/gpu/drm/ttm/ttm_tt.c:467 error: driver

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26639 --- Comment #12 from Tobias Jakobi 2010-02-24 14:42:34 PST --- No, just applied the fix to my tree but the issue stays the same. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

Re: [PATCH][RFC] time: add wait_interruptible_timeout macro to sleep (w. timeout) until wake_up

2010-02-24 Thread Rafał Miłecki
Ping? Can I interpret lack of objections as permission for committing that? If so, by which tree should we get this patch mainline? Dave: this patch is needed for radeon driver. Can we get this through drm-2.6 maybe? -- Rafał ---

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #10 from Alex Deucher 2010-02-24 13:57:49 PST --- Does it render properly without that patch? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You ar

[Bug 26051] Regression in 7.6, glxgears locks the machine (rv280)

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26051 ken moffat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #9 from Rafał Miłecki 2010-02-24 13:21:35 PST --- Can be (partially?) duplicate of bug #24818 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You a

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #8 from Török Edwin 2010-02-24 13:10:01 PST --- You can get the test blender file from here (too big to attach here): http://www.fileden.com/files/2009/9/1/2561232/test.blend It is based on the blend file from this article: htt

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #7 from Török Edwin 2010-02-24 13:05:58 PST --- Created an attachment (id=33538) --> (http://bugs.freedesktop.org/attachment.cgi?id=33538) screenshot2_swref -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #6 from Török Edwin 2010-02-24 13:05:45 PST --- Created an attachment (id=33537) --> (http://bugs.freedesktop.org/attachment.cgi?id=33537) screenshot1_swref -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #5 from Török Edwin 2010-02-24 13:05:30 PST --- Created an attachment (id=33536) --> (http://bugs.freedesktop.org/attachment.cgi?id=33536) screenshot2_r600 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #4 from Török Edwin 2010-02-24 13:05:15 PST --- Created an attachment (id=33535) --> (http://bugs.freedesktop.org/attachment.cgi?id=33535) screenshot1_r600 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #3 from Török Edwin 2010-02-24 13:05:00 PST --- Created an attachment (id=33534) --> (http://bugs.freedesktop.org/attachment.cgi?id=33534) Linux .config -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=emai

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #2 from Török Edwin 2010-02-24 13:04:48 PST --- Created an attachment (id=33533) --> (http://bugs.freedesktop.org/attachment.cgi?id=33533) Xorg.0.log -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Bug 26735] r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 --- Comment #1 from Török Edwin 2010-02-24 13:04:35 PST --- Created an attachment (id=33532) --> (http://bugs.freedesktop.org/attachment.cgi?id=33532) dmesg -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --

[Bug 26735] New: r600: rendering artifacts

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26735 Summary: r600: rendering artifacts Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drive

[Bug 15276] latest git kernel: general protection fault: 0000 [#1]

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15276 --- Comment #44 from Michał Witkowski 2010-02-24 17:42:08 --- Well, first of all I haven't touched the ttm_tt patch yet. However, after upgrading userland mesa, libdrm, glproto and xf86-video-ati to latest git from 20100217 to 20100222 I sto

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 Marcin Slusarz changed: What|Removed |Added Attachment #33527|text/x-log |text/plain mime type|

[Bug 15276] latest git kernel: general protection fault: 0000 [#1]

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15276 --- Comment #45 from Michał Witkowski 2010-02-24 18:35:03 --- (In reply to comment #44) > Well, first of all I haven't touched the ttm_tt patch yet. > > However, after upgrading userland mesa, libdrm, glproto and xf86-video-ati to > latest g

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 Marcin Slusarz changed: What|Removed |Added Attachment #33529|text/x-log |text/plain mime type|

[PATCH] drm/radeon/kms: update new pll algo

2010-02-24 Thread Alex Deucher
>From bcfed52f2cffc02b554fce20897ef2201d3f54a6 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 23 Feb 2010 03:24:38 -0500 Subject: [PATCH] drm/radeon/kms: update new pll algo - add support for pre-avivo chips - add support for fixed post/ref dividers - add support for non-fractional fb div

[Bug 14535] Memory corruption detected in low memory

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=14535 --- Comment #31 from Alex Deucher 2010-02-24 17:24:59 --- The drm has a command stream checker to keep this from happening, but there can be obscure cases like this one that are not immediately obvious. -- Configure bugmail: http://bugzilla

[Bug 14535] Memory corruption detected in low memory

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=14535 --- Comment #30 from Henrique de Moraes Holschuh 2010-02-24 17:16:54 --- Ouch. Dave, Is there any possibility of userspace-generated content (GL requests, textures, whatever) influence the bogus DMA details, so that it could be used to, e.g

Re: Two problems with system sleep

2010-02-24 Thread Alan Stern
On Wed, 24 Feb 2010, Rafael J. Wysocki wrote: > > > Well, so the KMS suspend-resume doesn't work on your system. > > > > > > I guess that would require some detailed debugging, so it may be a good > > > idea to > > > open a Bugzilla entry for this issue. > > > > Okay, I'll set it up later. Cre

Re: Unmappable VRAM patchset V3

2010-02-24 Thread Thomas Hellstrom
Jerome Glisse wrote: > On Wed, Feb 24, 2010 at 01:37:42PM +0100, Thomas Hellstrom wrote: > >> Jerome Glisse wrote: >> >>> On Tue, Feb 23, 2010 at 02:05:50PM +0100, Thomas Hellstrom wrote: >>> Jerome Glisse wrote: > On Mon, Feb 22, 2010 at 08:58:28PM +0100, Thom

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 --- Comment #5 from Sundtek 2010-02-24 08:43:55 PST --- Created an attachment (id=33529) --> (http://bugs.freedesktop.org/attachment.cgi?id=33529) valgrind of the application without resizing it -- Configure bugmail: http://bugs.freedeskt

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 --- Comment #4 from Sundtek 2010-02-24 08:29:17 PST --- Created an attachment (id=33528) --> (http://bugs.freedesktop.org/attachment.cgi?id=33528) test.c -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 --- Comment #3 from Sundtek 2010-02-24 08:28:48 PST --- Created an attachment (id=33527) --> (http://bugs.freedesktop.org/attachment.cgi?id=33527) extensive valgrind logfile The memory leak only happens during the application runtime, when

Re: Unmappable VRAM patchset V3

2010-02-24 Thread Jerome Glisse
On Wed, Feb 24, 2010 at 01:37:42PM +0100, Thomas Hellstrom wrote: > Jerome Glisse wrote: > >On Tue, Feb 23, 2010 at 02:05:50PM +0100, Thomas Hellstrom wrote: > >>Jerome Glisse wrote: > >>>On Mon, Feb 22, 2010 at 08:58:28PM +0100, Thomas Hellstrom wrote: > Jerome Glisse wrote: > >On Mon, Feb

[Bug 26708] libdrm-intel leaks memory when resizing window

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26708 --- Comment #2 from Sundtek 2010-02-24 06:44:45 PST --- We also experience the same bug with Intel, our application works well with NVidia though. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

Re: Unmappable VRAM patchset V3

2010-02-24 Thread Thomas Hellstrom
Jerome Glisse wrote: > On Tue, Feb 23, 2010 at 02:05:50PM +0100, Thomas Hellstrom wrote: > >> Jerome Glisse wrote: >> >>> On Mon, Feb 22, 2010 at 08:58:28PM +0100, Thomas Hellstrom wrote: >>> Jerome Glisse wrote: > On Mon, Feb 22, 2010 at 06:30:24PM +0100, Thom

[Bug 15293] Flash video laggy inside Firefox only with KMS

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15293 --- Comment #24 from Michel Dänzer 2010-02-24 10:30:20 --- (In reply to comment #15) > If anything that has been leaked about flash video playback is true > then flash is using DFS to get video frmes for postprocessing (adding > UI elements).

[Bug 26051] Regression in 7.6, glxgears locks the machine (rv280)

2010-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26051 --- Comment #30 from Michel Dänzer 2010-02-24 02:22:45 PST --- Do the lockups still happen with mesa Git as of commit 3f5bac8960a5c6d1f08f0dc849676139b9d6ce5c (master) or bc7e12e5e3c063b8f29fecad43d85b09fa6b205d (mesa_7_7_branch)? -- Conf

Re: Unmappable VRAM patchset V3

2010-02-24 Thread Jerome Glisse
On Tue, Feb 23, 2010 at 02:05:50PM +0100, Thomas Hellstrom wrote: > Jerome Glisse wrote: > >On Mon, Feb 22, 2010 at 08:58:28PM +0100, Thomas Hellstrom wrote: > >>Jerome Glisse wrote: > >>>On Mon, Feb 22, 2010 at 06:30:24PM +0100, Thomas Hellstrom wrote: > Jerome Glisse wrote: > >Thomas i th

[Bug 14535] Memory corruption detected in low memory

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=14535 --- Comment #29 from Dave Airlie 2010-02-24 09:25:42 --- mesa fixes are now in the mesa master and mesa 7.7 branches. Simon in comment #28, yes any GL app that causes low memory corruption should be fixed by this. It'll go in to stable kernel

[Bug 13170] Macbook 5,2 only boots with acpi=off, or nosmp, or maxcpus=1

2010-02-24 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=13170 --- Comment #50 from Alejandro Valenzuela 2010-02-24 08:01:43 --- And gentoo, and every other linux that does not include an efi-grub bootloader in their liveCD? Supposing booting from CD does not automatically set bios emulation mode.. Als