[git pull] drm brown paper bag

2010-05-28 Thread Dave Airlie
Hi Linus, I messed up this commit in 2.6.34, this is the urgent fix. Dave. The following changes since commit 2101d6f7ac791e87a274371a07a408f74e40ec49: Jiri Slaby (1): agp: amd64, fix pci reference leaks are available in the git repository at: ssh://master.kernel.org/pub/scm/linux

[PATCH] drm/radeon/kms/pm: enable SetVoltage on r7xx/evergreen

2010-05-28 Thread Alex Deucher
I missed these in the r6xx commit. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |5 + drivers/gpu/drm/radeon/rv770.c |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergr

[PATCH] drm/radeon/kms/evergreen: add initial CS parser

2010-05-28 Thread Alex Deucher
Advanced validation is not implemented yet. The mesa code that uses this will be released soon. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile |7 +- drivers/gpu/drm/radeon/evergreen_cs.c | 1356 + drivers/gpu/drm/radeon/evergreen_re

[PATCH] drm/radeon/kms/pm: enable SetVoltage on r7xx/evergreen

2010-05-28 Thread Alex Deucher
I missed these in the r6xx commit. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |5 + drivers/gpu/drm/radeon/rv770.c |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergr

[git pull] drm brown paper bag

2010-05-28 Thread Dave Airlie
Hi Linus, I messed up this commit in 2.6.34, this is the urgent fix. Dave. The following changes since commit 2101d6f7ac791e87a274371a07a408f74e40ec49: Jiri Slaby (1): agp: amd64, fix pci reference leaks are available in the git repository at: ssh://master.kernel.org/pub/scm/linux

[KMS] q: how is hotplug reported to fb?

2010-05-28 Thread Guennadi Liakhovetski
With the help from guys on IRC I found the location in the DRM code, where the users of /dev/dri/* are informed, using a uevent, when, for example, an HDMI monitor is connected: in drm_sysfs_hotplug_event(), called from a (delayed) work. But where do /dev/fbX users get informed about this? Than

[PATCH 13/13] drm/vmwgfx: Remove some leftover debug messages.

2010-05-28 Thread Thomas Hellstrom
Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index bdd87dc..7597323 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.

[PATCH 12/13] drm/vmwgfx: Print warnings in kernel log about bo pinning that fails.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |4 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c b/driv

[PATCH 11/13] drm/vmwgfx: Unpause overlay on update.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz The unpause codepath uses vmw_overlay_update() so we must unset the paused status. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dri

[PATCH 10/13] drm/vmwgfx: Some modesetting cleanups and fixes.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 17 - 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c

[PATCH 09/13] drm/vmwgfx: Don't use SVGA_REG_ENABLE in modesetting code.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz We should not use SVGA_REG_ENABLE anywhere but in the fifo setup code, since it controls whether the device is active. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |4 drivers/gpu/drm/vmwgfx/vmwgfx_ld

[PATCH 08/13] drm/vmwgfx: Remove duplicate member from struct vmw_legacy_display_unit.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index 8fde9b

[PATCH 07/13] drm/vmwgfx: Reserve first part of VRAM for framebuffer.

2010-05-28 Thread Thomas Hellstrom
The host may be touching this part of VRAM at modesetting, even if we never use it ourselves, since we blit screen updates from 3D surfaces. Make sure no DMA buffers are placed in this part of VRAM. V2: Fix an error check in vmw_surface_dmabuf_pin(). Signed-off-by: Thomas Hellstrom Signed-off-by

[PATCH 06/13] drm/vmwgfx: Support older hardware.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz V2: Fix a couple of typos. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |9 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |5 ++ drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 81 ---

[PATCH 05/13] drm/vmwgfx: Get connector status from detection function.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Also make sure the ldu::active member is properly initialized. Part of fix by Michel Daenzer . Signed-off-by: Jakob Bornecrantz Signed-off-by: Michel Daenzer Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 10 +++--- 1 files changed, 3

[PATCH 04/13] drm/vmwgfx: Add kernel throttling support. Bump minor.

2010-05-28 Thread Thomas Hellstrom
The throttle_us member in the execbuf argument is now honored. If the member is 0, no waiting for lag will occur, which guarantees backwards compatibility with well-behaved clients. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/Makefile |2 +- drivers/gpu/drm/vmwgfx/vmwg

[PATCH 03/13] drm/vmwgfx: Make sure to unpin old and pin new framebuffer.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c

[PATCH 02/13] drm/vmwgfx: Fix single framebuffer detection.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz V2: Fix a typo. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.

[PATCH 01/13] drm/vmwgfx: Assume larger framebuffer max size.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index bbc7c4c

[PATCH 0/13] vmwgfx update V2.

2010-05-28 Thread Thomas Hellstrom
This patch series basically brings vmwgfx up to date with the standalone repo. Mostly bug-fixes but some new features as well. Most notably the in-kernel time-based throttling support which is advertized by a minor version bump. Patches against drm-next as of 10-05-28. V2: Fix an error check and

[KMS] q: how is hotplug reported to fb?

2010-05-28 Thread Guennadi Liakhovetski
With the help from guys on IRC I found the location in the DRM code, where the users of /dev/dri/* are informed, using a uevent, when, for example, an HDMI monitor is connected: in drm_sysfs_hotplug_event(), called from a (delayed) work. But where do /dev/fbX users get informed about this? Than

[PATCH] Typos in Linux DRM Developer's Guide

2010-05-28 Thread Nicolas Kaiser
A few typos in the DRM Developer's Guide. Signed-off-by: Nicolas Kaiser Acked-by: Jesse Barnes --- --- Documentation-DocBook-drm.tmpl.orig 2010-05-06 15:15:31.759974209 +0200 +++ Documentation-DocBook-drm.tmpl 2010-05-06 15:36:41.111221911 +0200 @@ -389,7 +389,7 @@

[RFC] Avoid quadratic behavior in relocs/cs

2010-05-28 Thread Mathias Fröhlich
pe: text/x-patch Size: 9911 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100528/cb3d7a05/attachment-0001.bin>

Resend: [PATCH 0/2] drm/ttm: A couple of small fixes

2010-05-28 Thread Dave Airlie
On Thu, 2010-05-27 at 14:14 +0200, Thomas Hellstrom wrote: > Ping! > Ack! Should have been in 2.6.34. Dave.

[PATCH 12/13] drm/vmwgfx: Print warnings in kernel log about bo pinning that fails.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |4 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c b/driv

[PATCH 13/13] drm/vmwgfx: Remove some leftover debug messages.

2010-05-28 Thread Thomas Hellstrom
Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index bdd87dc..7597323 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.

[PATCH 10/13] drm/vmwgfx: Some modesetting cleanups and fixes.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 17 - 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c

[PATCH 11/13] drm/vmwgfx: Unpause overlay on update.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz The unpause codepath uses vmw_overlay_update() so we must unset the paused status. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dri

[PATCH 09/13] drm/vmwgfx: Don't use SVGA_REG_ENABLE in modesetting code.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz We should not use SVGA_REG_ENABLE anywhere but in the fifo setup code, since it controls whether the device is active. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_fb.c |4 drivers/gpu/drm/vmwgfx/vmwgfx_ld

[PATCH 08/13] drm/vmwgfx: Remove duplicate member from struct vmw_legacy_display_unit.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index 8fde9b

[PATCH 07/13] drm/vmwgfx: Reserve first part of VRAM for framebuffer.

2010-05-28 Thread Thomas Hellstrom
The host may be touching this part of VRAM at modesetting, even if we never use it ourselves, since we blit screen updates from 3D surfaces. Make sure no DMA buffers are placed in this part of VRAM. V2: Fix an error check in vmw_surface_dmabuf_pin(). Signed-off-by: Thomas Hellstrom Signed-off-by

[PATCH 06/13] drm/vmwgfx: Support older hardware.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz V2: Fix a couple of typos. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |9 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |5 ++ drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 81 ---

[PATCH 01/13] drm/vmwgfx: Assume larger framebuffer max size.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index bbc7c4c

[PATCH 05/13] drm/vmwgfx: Get connector status from detection function.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Also make sure the ldu::active member is properly initialized. Part of fix by Michel Daenzer . Signed-off-by: Jakob Bornecrantz Signed-off-by: Michel Daenzer Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 10 +++--- 1 files changed, 3

[PATCH 02/13] drm/vmwgfx: Fix single framebuffer detection.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz V2: Fix a typo. Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.

[PATCH 03/13] drm/vmwgfx: Make sure to unpin old and pin new framebuffer.

2010-05-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c

[PATCH 04/13] drm/vmwgfx: Add kernel throttling support. Bump minor.

2010-05-28 Thread Thomas Hellstrom
The throttle_us member in the execbuf argument is now honored. If the member is 0, no waiting for lag will occur, which guarantees backwards compatibility with well-behaved clients. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/Makefile |2 +- drivers/gpu/drm/vmwgfx/vmwg

[PATCH 0/13] vmwgfx update V2.

2010-05-28 Thread Thomas Hellstrom
This patch series basically brings vmwgfx up to date with the standalone repo. Mostly bug-fixes but some new features as well. Most notably the in-kernel time-based throttling support which is advertized by a minor version bump. Patches against drm-next as of 10-05-28. V2: Fix an error check and

[Bug 19366] [Ubuntu][Openarena 0.8.0]: When enabled BLOOM option, the FPS drops to 1 and system response is very less

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=19366 samit vats changed: What|Removed |Added CC||hysv...@gmail.com --- Comment #12 from sami

[Bug 28226] FPS drops to 1 on Disabling KMS while running Openarena

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28226 samit vats changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 19366] [Ubuntu][Openarena 0.8.0]: When enabled BLOOM option, the FPS drops to 1 and system response is very less

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=19366 samit vats changed: What|Removed |Added CC||hysvats at gmail.com --- Comment #12 from s

[Bug 28226] FPS drops to 1 on Disabling KMS while running Openarena

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28226 samit vats changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] Typos in Linux DRM Developer's Guide

2010-05-28 Thread Nicolas Kaiser
A few typos in the DRM Developer's Guide. Signed-off-by: Nicolas Kaiser Acked-by: Jesse Barnes --- --- Documentation-DocBook-drm.tmpl.orig 2010-05-06 15:15:31.759974209 +0200 +++ Documentation-DocBook-drm.tmpl 2010-05-06 15:36:41.111221911 +0200 @@ -389,7 +389,7 @@

[PATCH 1/3] r600: add span support for 2D tiling

2010-05-28 Thread Frieder Ferlemann
Hi, Am 28.05.2010 00:04, schrieb Conn Clark: > On Thu, May 27, 2010 at 8:51 AM, Brian Paul wrote: > > This code could be written with a faster algorithm requiring just 13 > operations > > + pixel_number |= ((x >> 0) & 1) << 0; // pn[0] = x[0] > + pixel_number |= ((

[PATCH 1/3] r600: add span support for 2D tiling

2010-05-28 Thread Alan Cox
> Look up tables have some hidden penalties but I think it might be a > win. Looks like we may have to benchmark the solutions against one > another to really know which is best in real life. For x86 and ppc the single assembler instruction is fastest. Can you wire an R600 to anything else ?

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28294 --- Comment #2 from Pavel Ondračka 2010-05-28 00:40:22 PDT --- Sorry I didn't noticed, few days ago Unigine updated Sanctuary benchmark to 2.3 and they dropped support for r500 cards :-( I have still the 2.2 version (terminal output and screensh

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28294 --- Comment #2 from Pavel Ondra?ka 2010-05-28 00:40:22 PDT --- Sorry I didn't noticed, few days ago Unigine updated Sanctuary benchmark to 2.3 and they dropped support for r500 cards :-( I have still the 2.2 version (terminal output and screensh

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28294 Pavel Ondračka changed: What|Removed |Added URL||http://unigine.com/download

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28294 Pavel Ondra?ka changed: What|Removed |Added URL||http://unigine.com/download

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28294 --- Comment #1 from Pavel Ondračka 2010-05-28 00:06:40 PDT --- Created an attachment (id=35900) --> (https://bugs.freedesktop.org/attachment.cgi?id=35900) screenshot -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Bug 28294] [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28294 --- Comment #1 from Pavel Ondra?ka 2010-05-28 00:06:40 PDT --- Created an attachment (id=35900) --> (https://bugs.freedesktop.org/attachment.cgi?id=35900) screenshot -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Bug 28294] New: [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28294 Summary: [r300g] Unigine Sanctuary: almost everything is black Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal

[Bug 28294] New: [r300g] Unigine Sanctuary: almost everything is black

2010-05-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28294 Summary: [r300g] Unigine Sanctuary: almost everything is black Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal