[Patch 1/2] [DRM] :add the CVT algorithm in kernel space

2009-05-11 Thread yakui_zhao
Add the CVT algorithm in kernel space. And this function can be called to generate the required modeline. I copy it from the file of xserver/hw/xfree86/modes/xf86cvt.c. What I have done is to translate it by using integer calculation. This is to avoid the float-point calculation in kernel space.

[Patch 0/2] [DRM] :add the CVT/GTF algorithm in kernel space

2009-05-11 Thread yakui_zhao
Hi, All This is the patch set to add the CVT/GTF algorithm in kernel space. They are based on the CVT/GTF function in xserver. But the CVT/GTF algorithm in xserver is realized by using float-point calculation. And the float-point calculation had better be avoided in kernel space. I

[Patch 2/2] [DRM] :add the GTF algorithm in kernel space

2009-05-11 Thread yakui_zhao
Add the GTF algorithm in kernel space. And this function can be called to generate the required modeline. I copy it from the file of xserver/hw/xfree86/modes/xf86gtf.c. What I have done is to translate it by using integer calculation. This is to avoid the float-point calculation in kernel space.

Re: [Intel-gfx] compiz swapbuffers patch

2009-05-11 Thread Barry Scott
Jesse Barnes wrote: On Fri, 08 May 2009 10:27:49 +0100 Barry Scott barry.sc...@onelan.co.uk wrote: Jesse Barnes wrote: Why are you comparing booleans to TRUE and worse then negating the result? if( !noWait ) Is clearer. -waitForVideoSync (s); +

DRI2: Drawable size missmatch with getBuffersWithFormat

2009-05-11 Thread Jerome Glisse
Hi Kristian, Ian I am getting drawable size missmatch with new dri2 with format interface in ddx i get a size of screenx*(screeny-gnomebarsize) (from CreateBuffer callback in ddx) while in mesa i get screenx*screeny did you ever see that ? It happens with blender of course bad things happens

[Bug 12947] r128: system hangs when X is started with DRI enabled

2009-05-11 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12947 --- Comment #8 from Jos van der Ende ser...@xs4all.nl 2009-05-11 15:18:56 --- I did bisecting, the bad commit is: commit cdecff6864a1cd352a41d44a65e7451b8ef5cee2 Author: venkatesh.pallip...@intel.com venkatesh.pallip...@intel.com Date: Fri

Re: DRI2: Drawable size missmatch with getBuffersWithFormat

2009-05-11 Thread Jerome Glisse
On Mon, 2009-05-11 at 16:09 +0200, Jerome Glisse wrote: Hi Kristian, Ian I am getting drawable size missmatch with new dri2 with format interface in ddx i get a size of screenx*(screeny-gnomebarsize) (from CreateBuffer callback in ddx) while in mesa i get screenx*screeny did you ever see

[Bug 21223] OpenGL screensaver 'lattice' provokes driver crash

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21223 --- Comment #13 from Tormod Volden bugzi07.fdo.tor...@xoxy.net 2009-05-11 10:50:29 PST --- Confirmed on another X700 Mobility, with latest radeon-rewrite mesa and kernel 2.6.30-rc4. -- Configure bugmail:

[Bug 21688] New: [radeon-rewrite] blender crashes in radeon_update_renderbuffers

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21688 Summary: [radeon-rewrite] blender crashes in radeon_update_renderbuffers Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW

[Bug 21688] [radeon-rewrite] blender crashes in radeon_update_renderbuffers

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21688 --- Comment #1 from Tormod Volden bugzi07.fdo.tor...@xoxy.net 2009-05-11 11:56:05 PST --- Created an attachment (id=25747) -- (http://bugs.freedesktop.org/attachment.cgi?id=25747) Xorg.0.log -- Configure bugmail:

[Bug 12947] r128: system hangs when X is started with DRI enabled

2009-05-11 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=12947 Andrew Morton a...@linux-foundation.org changed: What|Removed |Added CC||mi...@elte.hu,

Re: DRI2: Drawable size missmatch with getBuffersWithFormat

2009-05-11 Thread Jerome Glisse
On Mon, 2009-05-11 at 19:20 +0200, Jerome Glisse wrote: On Mon, 2009-05-11 at 16:09 +0200, Jerome Glisse wrote: Hi Kristian, Ian I am getting drawable size missmatch with new dri2 with format interface in ddx i get a size of screenx*(screeny-gnomebarsize) (from CreateBuffer callback in

Re: DRI2: Drawable size missmatch with getBuffersWithFormat

2009-05-11 Thread Jerome Glisse
On Mon, 2009-05-11 at 21:33 +0200, Jerome Glisse wrote: On Mon, 2009-05-11 at 19:20 +0200, Jerome Glisse wrote: On Mon, 2009-05-11 at 16:09 +0200, Jerome Glisse wrote: Hi Kristian, Ian I am getting drawable size missmatch with new dri2 with format interface in ddx i get a size of

Re: DRI2: Drawable size missmatch with getBuffersWithFormat

2009-05-11 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerome Glisse wrote: On Mon, 2009-05-11 at 19:20 +0200, Jerome Glisse wrote: On Mon, 2009-05-11 at 16:09 +0200, Jerome Glisse wrote: Hi Kristian, Ian I am getting drawable size missmatch with new dri2 with format interface in ddx i get a size of

[PATCH] libdrm/intel: add drm_intel_bo_disable_reuse api

2009-05-11 Thread Keith Packard
Scanout buffers need to be freed through the kernel as it holds a reference to them; exposing this API allows applications allocating scanout buffers to flag them as not reusable. Signed-off-by: Keith Packard kei...@keithp.com --- libdrm/intel/intel_bufmgr.c |7 +++

[PATCH] Use drm_intel_bo_disable_reuse API to flag scanout and cursor buffers

2009-05-11 Thread Keith Packard
Buffers referenced by the kernel for scanout or cursor display should not be reused by the driver. Use the new drm API to disable reuse of these buffers. Signed-off-by: Keith Packard kei...@keithp.com --- src/i830.h|1 + src/i830_memory.c |7 ++- 2 files changed, 7

Re: [Intel-gfx] [PATCH] Add modesetting pageflip ioctl and corresponding drm event

2009-05-11 Thread Jesse Barnes
On Fri, 8 May 2009 17:07:01 -0400 Kristian Høgsberg k...@bitplanet.net wrote: ... + /* + * The mode_set_base call will change the domain on the new + * fb, which will force the rendering to finish and block the + * ioctl. We need to do this last part from a work queue, to

[Bug 21691] New: i945 cubemap texture layout code is buggy

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21691 Summary: i945 cubemap texture layout code is buggy Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium

[Bug 21691] i945 cubemap texture layout code is buggy

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21691 --- Comment #1 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:41:11 PST --- Created an attachment (id=25753) -- (http://bugs.freedesktop.org/attachment.cgi?id=25753) Reference rendering of test case -- Configure bugmail:

[Bug 21691] i945 cubemap texture layout code is buggy

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21691 --- Comment #3 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:42:04 PST --- Created an attachment (id=25755) -- (http://bugs.freedesktop.org/attachment.cgi?id=25755) i945 rendering of test case after patch -- Configure

[Bug 21691] i945 cubemap texture layout code is buggy

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21691 --- Comment #4 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:42:22 PST --- Created an attachment (id=25756) -- (http://bugs.freedesktop.org/attachment.cgi?id=25756) Test case source code -- Configure bugmail:

[Bug 21691] i945 cubemap texture layout code is buggy

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21691 --- Comment #2 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:41:42 PST --- Created an attachment (id=25754) -- (http://bugs.freedesktop.org/attachment.cgi?id=25754) i945 rendering of test case before patch -- Configure

[Bug 21692] New: i945_miptree_layout_cube is not right for i945GM

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21692 Summary: i945_miptree_layout_cube is not right for i945GM Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority:

[Bug 21692] i945_miptree_layout_cube is not right for i945GM

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21692 --- Comment #1 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:48:21 PST --- Created an attachment (id=25758) -- (http://bugs.freedesktop.org/attachment.cgi?id=25758) i945 rendering of test case, with i945 (default) code path

[Bug 21692] i945_miptree_layout_cube is not right for i945GM

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21692 --- Comment #2 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:48:52 PST --- Created an attachment (id=25759) -- (http://bugs.freedesktop.org/attachment.cgi?id=25759) i945 rendering of test case with Mesa hacked to use i915

[Bug 21693] New: i945 support for compressed cubemaps is completely broken

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21693 Summary: i945 support for compressed cubemaps is completely broken Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW

[Bug 21693] i945 support for compressed cubemaps is completely broken

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21693 --- Comment #1 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:57:23 PST --- Created an attachment (id=25762) -- (http://bugs.freedesktop.org/attachment.cgi?id=25762) Reference test case rendering -- Configure bugmail:

[Bug 21693] i945 support for compressed cubemaps is completely broken

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21693 --- Comment #2 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:57:50 PST --- Created an attachment (id=25763) -- (http://bugs.freedesktop.org/attachment.cgi?id=25763) i945 rendering of test case (Mesa 7.4.1) -- Configure

[Bug 21693] i945 support for compressed cubemaps is completely broken

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21693 --- Comment #3 from Steinar H. Gunderson sgunder...@bigfoot.com 2009-05-11 14:58:31 PST --- Created an attachment (id=25764) -- (http://bugs.freedesktop.org/attachment.cgi?id=25764) i945 rendering of test case (Mesa 7.4.1 + hack described

[Bug 20954] mesa/drm(git): kernel panic with radeon driver (Radeon 9500 Pro)

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20954 Daniel Drake d...@gentoo.org changed: What|Removed |Added CC||d...@gentoo.org ---

[Bug 21688] [radeon-rewrite] blender crashes in radeon_update_renderbuffers

2009-05-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21688 --- Comment #2 from Joel Bosveld joel.bosv...@gmail.com 2009-05-11 18:15:54 PST --- If this is with dri1, something like this: http://cgit.freedesktop.org/mesa/mesa/commit/?h=radeon-rewriteid=43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f is