Re: [Nouveau] [PATCH] [RANDR-1.2 branch] [NVSwitchMode] X crash by calling XF86 VidMode extension

2007-09-04 Thread Maarten Maathuis
The main branch now includes randr-1.2 support (Option Randr12 true), and i've begun fixing it up. I will look at this later. Maarten. On 9/4/07, Bernhard Kaindl [EMAIL PROTECTED] wrote: On Mon, 3 Sep 2007, Bernhard Kaindl wrote: Hi, Please find attached the patches which I currently

Re: [Nouveau] TVout reverse engineering GF4 etc.

2007-12-07 Thread Maarten Maathuis
TV-out is not high priority at the moment, but nevertheless, come to our irc channel some time (#nouveau on freenode). It never hurts to have a centralized place of development, especially when reverse engineering is involved. Hope to see you soon. Maarten. On 12/4/07, Dirk Thierbach [EMAIL

Re: [Nouveau] NV50: Some patches that need testing.

2008-03-11 Thread Maarten Maathuis
On 3/11/08, Maarten Maathuis [EMAIL PROTECTED] wrote: Someone with a known good setup needs to test these patches. Koala_BR is the obvious candidate, but i'm sending them to the mailinglist anyway. These are not extremely drastic, but i still need conformation that they work, before i

Re: [Nouveau] NV50: Some patches that need testing.

2008-03-12 Thread Maarten Maathuis
2abc3bea475fc5ba9912d83ffa7ee636f1e36fc3 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis [EMAIL PROTECTED] Date: Wed, 12 Mar 2008 23:16:53 +0100 Subject: [PATCH] NV50: Unbreak NV50: Kill the connection status caching (which was broken btw). --- src/nv50_dac.c |3 +++ src/nv50_sor.c |3 +++ 2

Re: [Nouveau] Unknown LVDS configuration bits, please report - Error

2008-04-28 Thread Maarten Maathuis
On 4/28/08, Andreas Happe [EMAIL PROTECTED] wrote: On Mon, 2008-04-28 at 19:33 +0300, Pekka Paalanen wrote: Framebuffer loaded is usually a bad sign. The Nouveau driver does not work reliably with a framebuffer driver loaded. Granted, there are rumours that vesafb should work, and that

Re: [Nouveau] How to set a different resolution?

2008-10-01 Thread Maarten Maathuis
On Wed, Oct 1, 2008 at 7:34 AM, Tomasz Chmielewski [EMAIL PROTECTED] wrote: Michael Kreitzer schrieb: Tomasz, It sounds to me like what may be happening is the video card is doing the scaling instead of the monitor. This is evidenced by the fact that the resolution does change, but the LCD

Re: [Nouveau] How to set a different resolution?

2008-10-01 Thread Maarten Maathuis
On Wed, Oct 1, 2008 at 3:06 PM, Maarten Maathuis [EMAIL PROTECTED] wrote: On Wed, Oct 1, 2008 at 7:34 AM, Tomasz Chmielewski [EMAIL PROTECTED] wrote: Michael Kreitzer schrieb: Tomasz, It sounds to me like what may be happening is the video card is doing the scaling instead of the monitor

Re: [Nouveau] How to set a different resolution?

2008-10-04 Thread Maarten Maathuis
On Sat, Oct 4, 2008 at 5:16 PM, Calvin Walton [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 15:06 +0200, Maarten Maathuis wrote: On Wed, Oct 1, 2008 at 7:34 AM, Tomasz Chmielewski [EMAIL PROTECTED] wrote: Michael Kreitzer schrieb: Tomasz, It sounds to me like what may be happening

Re: [Nouveau] [PATCH for review] (hopefully) improve error message upon incorrect pgraph irq

2008-11-07 Thread Maarten Maathuis
On Fri, Nov 7, 2008 at 1:26 AM, Ben Skeggs [EMAIL PROTECTED] wrote: On Fri, 2008-11-07 at 00:43 +0100, Maarten Maathuis wrote: My main question is, do the error messages accurately reflect the situation. Anything else wrong with this patch? A (n)ack by darktama would be nice. An instance

[Nouveau] Some ideas on how to mix userspace fifo's with a kernel memory manager

2008-12-20 Thread Maarten Maathuis
I was thinking of the following system: Allocate a fifo for userspace, map the fifo, map the fifo registers into userspace. These allocations are therefore pinned, so something to avoid memory fragmentation has to be done. Userspace library fills up an entire fifo, minus a few essential things

Re: [Nouveau] Some ideas on how to mix userspace fifo's with a kernel memory manager

2008-12-20 Thread Maarten Maathuis
On 12/20/2008 11:48 PM, Maarten Maathuis wrote: On 12/20/2008 10:08 PM, Ben Skeggs wrote: On Sat, Dec 20, 2008 at 11:58 PM, Maarten Maathuis madman2...@gmail.com mailto:madman2...@gmail.com wrote: I was thinking of the following system: Allocate a fifo for userspace, map the fifo

[Nouveau] A few patches for ng

2008-12-23 Thread Maarten Maathuis
The first patch (for drm) fixes a very annoying bug for nv50 gart. The 2nd is just a few cleanups in libnouveau_drm. I also pushed a few changes to the ng ddx, and I'm at the moment thinking on how to deal with the issue of nv50. We are no longer garuanteed that pixmaps are really migrated upon

[Nouveau] Does the (NV50) dma engine have trouble with hammering?

2008-12-26 Thread Maarten Maathuis
I'm doing some testing/coding on the ng branches and i've run into some problems, namely that i get PROTECTION_ERRORS after some time. It seems most common when two two dma's happen very close together on the same piece of memory (no hard proof to back this up, just something i noticed). I'm using

Re: [Nouveau] Does the (NV50) dma engine have trouble with hammering?

2008-12-26 Thread Maarten Maathuis
On Sat, Dec 27, 2008 at 2:35 AM, Maarten Maathuis madman2...@gmail.com wrote: I'm doing some testing/coding on the ng branches and i've run into some problems, namely that i get PROTECTION_ERRORS after some time. It seems most common when two two dma's happen very close together on the same

Re: [Nouveau] NV50: xv fullscreen issues

2008-12-27 Thread Maarten Maathuis
On 12/27/2008 12:36 PM, Daniel Eklöf wrote: On 12/26/08, Daniel Eklöfdan...@ekloef.se wrote: Hi, I've been trying out nouveau for a while now and I must say I'm impressed. Performance in KDE4 in general seems better than the nvidia blob; way to go! There are a couple of annoyances

[Nouveau] some patches and remarks for ng

2009-01-03 Thread Maarten Maathuis
1 patch for libnouveau_drm, 4 for drm and one work in progress patch for the ddx. Getting nv50 to run proved to be more difficult than i thought (at some point i stopped because it would require significant changes), i just have a few remarks. - Buffer object access is not guarded by fences at

Re: [Nouveau] some patches and remarks for ng

2009-01-05 Thread Maarten Maathuis
On 01/05/2009 04:07 PM, Maarten Maathuis wrote: On 01/05/2009 01:24 AM, Ben Skeggs wrote: On Sat, 2009-01-03 at 17:53 +0100, Maarten Maathuis wrote: 1 patch for libnouveau_drm, 4 for drm and one work in progress patch for the ddx. Getting nv50 to run proved to be more difficult than i

Re: [Nouveau] some patches and remarks for ng

2009-01-05 Thread Maarten Maathuis
On 01/05/2009 01:24 AM, Ben Skeggs wrote: On Sat, 2009-01-03 at 17:53 +0100, Maarten Maathuis wrote: 1 patch for libnouveau_drm, 4 for drm and one work in progress patch for the ddx. Getting nv50 to run proved to be more difficult than i thought (at some point i stopped because it would

[Nouveau] a small patch for drm-ng

2009-01-18 Thread Maarten Maathuis
A small patch to make nv50 kms a bit more robust and avoid a nasty crash. Maarten. 0001-nv50-check-if-the-framebuffer-gem-object-is-non-NUL.patch Description: Binary data ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] nouveau xorg.conf documentation

2009-02-05 Thread Maarten Maathuis
On Thu, Feb 5, 2009 at 1:26 PM, Dave Airlie airl...@gmail.com wrote: On Thu, Feb 5, 2009 at 1:16 AM, Maarten Maathuis madman2...@gmail.com wrote: On Wed, Feb 4, 2009 at 3:42 PM, Yan Seiner y...@seiner.com wrote: I'm trying to get started with nouveau. I have it compiled, I have it installed

Re: [Nouveau] DRM fills logs

2009-02-06 Thread Maarten Maathuis
Have you tried running the cards separately first? Multi card situations are pretty rare, so it's better to know if they work individually. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] DRM fills logs

2009-02-06 Thread Maarten Maathuis
On Fri, Feb 6, 2009 at 7:50 PM, Yan Seiner y...@seiner.com wrote: On Fri, February 6, 2009 10:49 am, Yan Seiner wrote: On Fri, February 6, 2009 7:13 am, Maarten Maathuis wrote: Have you tried running the cards separately first? Multi card situations are pretty rare, so it's better to know

[Nouveau] [PATCH 1/3] exa: add nouveau_exa_pixmap_is_tiled

2009-02-12 Thread Maarten Maathuis
--- src/nouveau_exa.c | 19 +++ src/nv50_exa.c|6 +++--- src/nv50_xv.c |5 + src/nv_proto.h|1 + 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index a947a31..3babfd7 100644 ---

[Nouveau] [PATCH 2/3] nv50: initial bits for shadowfb

2009-02-12 Thread Maarten Maathuis
(nv_crtc-crtc, x, y); } nv_crtc-crtc-ModeSet(nv_crtc-crtc, mode); diff --git a/src/nv50_shadow_damage.c b/src/nv50_shadow_damage.c new file mode 100644 index 000..9d1a8cb --- /dev/null +++ b/src/nv50_shadow_damage.c @@ -0,0 +1,164 @@ +/* + * Copyright 2009 Maarten Maathuis

[Nouveau] [PATCH 3/3] nv50: support frontbuffer fallbacks

2009-02-12 Thread Maarten Maathuis
--- src/nouveau_exa.c| 36 +++ src/nv50_shadow_damage.c | 108 ++ src/nv_proto.h |1 + 3 files changed, 145 insertions(+), 0 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index c4cafb0..b6ae8ca

Re: [Nouveau] [PATCH 2/3] nv50: initial bits for shadowfb

2009-02-12 Thread Maarten Maathuis
On Fri, Feb 13, 2009 at 12:11 AM, Stephane Marchesin marche...@icps.u-strasbg.fr wrote: On Thu, Feb 12, 2009 at 23:56, Maarten Maathuis madman2...@gmail.com wrote: - Fallbacks on the frontbuffer still need to be handled. --- Why are you posting this again ? It's not really better than

Re: [Nouveau] [PATCH 3/3] nv50: support frontbuffer fallbacks

2009-02-13 Thread Maarten Maathuis
These patches are workarounds, and therefore will not be applied to git. I made them out of curiosity. Maarten. On Fri, Feb 13, 2009 at 10:19 AM, Hervé Cauwelier herve.cauwel...@free.fr wrote: Maarten Maathuis a écrit : [snip] I can't tell you about the technical quality of this patch

Re: [Nouveau] [PATCH 2/2] exa: do PrepareAccess for classic too, since we do need to map the frontbuffer.

2009-02-27 Thread Maarten Maathuis
You're confusing issues, yours is a performance issue, not a correctness issue. Maarten. On Fri, Feb 27, 2009 at 11:07 AM, Hervé Cauwelier herve.cauwel...@free.fr wrote: Ben Skeggs a écrit : On Thu, 2009-02-26 at 21:55 +0100, Maarten Maathuis wrote: - I'm surprised we didn't get serious

[Nouveau] NV50 texture layout added to http://nouveau.freedesktop.org/wiki/Surface_Layouts

2009-03-05 Thread Maarten Maathuis
I've got a preliminary wfb implementation, but it still has issues. In the meantime i've added what i know to the wiki. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] preliminary nv50 wfb patch

2009-03-07 Thread Maarten Maathuis
This patch will only work with Option EXAPixmaps 1, and will prevent classic exa from working. Occasionally a pixmap fails to map, but that's not related to this patch. I haven't done any hardcore optimisations, but suggestions are ofcource appreciated. In my experience some benchmarks suck now

Re: [Nouveau] preliminary nv50 wfb patch

2009-03-07 Thread Maarten Maathuis
This version is a bit faster by avoiding the need for (SUB)TILE_WIDTH. On Sat, Mar 7, 2009 at 1:59 PM, Maarten Maathuis madman2...@gmail.com wrote: This patch will only work with Option EXAPixmaps 1, and will prevent classic exa from working. Occasionally a pixmap fails to map, but that's

Re: [Nouveau] preliminary nv50 wfb patch

2009-03-07 Thread Maarten Maathuis
This one has been optimised further, all usage of modulus has been removed. There are still optimisations to do (like using hostdata transfers for the first pixmap access), but this is getting closer to usable. Maarten. On Sat, Mar 7, 2009 at 2:20 PM, Maarten Maathuis madman2...@gmail.com wrote

[Nouveau] [PATCH 1/5] nv50: implement wfb

2009-03-08 Thread Maarten Maathuis
- Only for sufficiently new xserver's and exa_driver_pixmaps. --- src/nouveau_exa.c | 217 +++-- src/nv_driver.c | 51 +++-- src/nv_proto.h|4 + src/nv_type.h | 12 +++- 4 files changed, 267 insertions(+), 17 deletions(-)

[Nouveau] [PATCH 2/5] nv50: wfb optimisation 1

2009-03-08 Thread Maarten Maathuis
--- src/nouveau_exa.c | 17 + src/nv_type.h |1 + 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index 074a226..ae6e151 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -717,7 +717,9 @@ static NVPtr

[Nouveau] [PATCH 3/5] nv50: wfb optimisation 2

2009-03-08 Thread Maarten Maathuis
--- src/nouveau_exa.c | 10 ++ src/nv_type.h |1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index ae6e151..c44e882 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -741,8 +741,8 @@

[Nouveau] [PATCH 4/5] nv50: wfb optimisation 3

2009-03-08 Thread Maarten Maathuis
--- src/nouveau_exa.c | 97 +--- src/nv_driver.c |1 + src/nv_proto.h|1 + src/nv_type.h | 11 -- 4 files changed, 56 insertions(+), 54 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index c44e882..2d748e1

[Nouveau] [PATCH 5/5] nv50: inline linear wfb functions

2009-03-08 Thread Maarten Maathuis
--- src/nouveau_exa.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c index 2d748e1..4b82d21 100644 --- a/src/nouveau_exa.c +++ b/src/nouveau_exa.c @@ -687,7 +687,7 @@ nouveau_exa_init(ScreenPtr pScreen) /* WFB functions. */

Re: [Nouveau] wfb patches

2009-03-08 Thread Maarten Maathuis
And a combined patch for the lazy testers. Maarten. On Sun, Mar 8, 2009 at 3:37 PM, Maarten Maathuis madman2...@gmail.com wrote: These patches are pretty much done, except for a compile warning somewhere. The major remaining bottleneck is this line (as far as i can tell): offset

[Nouveau] Where did the nv50 texture unit setup come from?

2009-03-09 Thread Maarten Maathuis
I'm especially interested in the original data that was used to derive the constant buffer arguments. I'm looking for the texture unit switch for tiling format, and i'm hoping the original data will easily reveal it. Maarten. ___ Nouveau mailing list

Re: [Nouveau] Where did the nv50 texture unit setup come from?

2009-03-10 Thread Maarten Maathuis
You were right about the 3rd dword. For posterity: tileheight: 4 - 0xd0005000 8 - 0xd0405000 16 - 0xd0805000 32 - 0xd0c05000 64 - 0xd1005000 ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] [NV50] application to confirm texture layout

2009-03-11 Thread Maarten Maathuis
Here is an app to test the texture layout. No message means it's ok. Otherwise it spews a lot of errors. You have to manually set the TILE_HEIGHT, TILE_WIDTH and TILING_PARAM. TILE_WIDTH == TILE_PITCH in this case because it's 8bpp data. Use this list (TILING_PARAM) TILE_WIDTHxTILE_HEIGHT:

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-12 Thread Maarten Maathuis
), but with the smallest tile size: (TILING_PARAM) TILE_WIDTHxTILE_HEIGHT: (0x00) 32x4 (that goes for everyone sending in bug logs). Maarten. On Wed, Mar 11, 2009 at 8:09 PM, Maarten Maathuis madman2...@gmail.com wrote: I forgot to say it isn't a fast program, so be prepared to wait at least a few minutes

Re: [Nouveau] Using one buffer object per (EXA) pixmap potentially wastes memory.

2009-03-12 Thread Maarten Maathuis
Small correction, only 16 pixmaps can be placed inside a single page. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] Any ideas for the most efficient algoritm to reshuffle tiles based on this description.

2009-03-13 Thread Maarten Maathuis
This was exactracted from a 8192x4 texture, with 32x4 tiles. 4 patterns appears, each 8x128 bytes long. these patterns are repeated, and one is always left out. So 123, 234, 134, 124. The repetetive cycle is therefore 4x3x8x128 = 12288 bytes long. I've included the color code ods file, which

Re: [Nouveau] Any ideas for the most efficient algoritm to reshuffle tiles based on this description.

2009-03-13 Thread Maarten Maathuis
I can add that in all likelyhood this reshuffling of 32x4 tiles happens regardless of the largest tile size. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-14 Thread Maarten Maathuis
Update version with a NV90_MODE, please set it according to your card. Maarten. nv50_test-2.tar.bz2 Description: BZip2 compressed data ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-15 Thread Maarten Maathuis
Small update, this time you can just set TILING_PARAM and you're good to go. Maarten. nv50_test-3.tar.bz2 Description: BZip2 compressed data ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-15 Thread Maarten Maathuis
New version, with 16bpp and 32bpp tests also. Someone with a NV9X needs to run the new tests, i made a guess about what is happening after the wfb fiasco, so hopefully it's right. Maarten. nv50_test-4.tar.bz2 Description: BZip2 compressed data ___

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-16 Thread Maarten Maathuis
the searching a bit, but expect the test to run for at least half an hour. You can sent the log to me personally. Don't change any of the parameters for that test. Maarten. On Sun, Mar 15, 2009 at 11:18 PM, Maarten Maathuis madman2...@gmail.com wrote: New version, with 16bpp and 32bpp tests also. Someone

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-17 Thread Maarten Maathuis
The special test is only if i ask you fail the normal nv50_test. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [NV50] application to confirm texture layout

2009-03-17 Thread Maarten Maathuis
That came out wrong, the special test is only if the normal test fails or if i ask you to make it. I will make a faster special test in the forseeable future. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] texture layout test

2009-03-19 Thread Maarten Maathuis
NV84_MODE is for NV84, try setting it to zero. I have a NV86, so i'm pretty sure it works. Maarten. 2009/3/19 Hervé Cauwelier herve.cauwel...@free.fr: I come back on this matter because I was away when you posted it. I read you've got enough feedback for NV86 cards but mine doesn't seem to

[Nouveau] A seemingly plausible userspace command submission model.

2009-03-20 Thread Maarten Maathuis
Please tell me what can't work about this idea. - Introduce concept of batches, through some kind of marker (tied to fences). - Request buffers up front, userspace does all relocation (avoid teaching the kernel about tiling, etc). - Driver stores state for each batch. - FIRE_RING becomes an ioctl

Re: [Nouveau] KMS instructions

2009-03-24 Thread Maarten Maathuis
I suggest you file a bug for a crash (including gdb backtrace). Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] nv50: wfb patches

2009-03-29 Thread Maarten Maathuis
. Maarten. From 3425f32eb0d5c664cd5a4141812bc002960de795 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis madman2...@gmail.com Date: Sat, 7 Mar 2009 23:49:19 +0100 Subject: [PATCH 1/6] nv50: implement wfb - Only for sufficiently new xserver's and exa_driver_pixmaps. --- src/nouveau_exa.c | 282

Re: [Nouveau] (patch) Gallium NV50: honor bypass_vs_clip_and_viewport

2009-04-02 Thread Maarten Maathuis
It could be me, but i don't see the commit. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master'

2009-04-07 Thread Maarten Maathuis
Do you have strong feelings against making these ports different for 8xxx and 9xxx? Maarten. On Fri, Apr 3, 2009 at 7:12 PM, Maarten Maathuis madman2...@gmail.com wrote: The change was prompted by a personal email i recieved regarding a bug on a 9200 (which included the right ports), a mmio

Re: [Nouveau] [PATCH] nv50/gallium: small fix for nv50_transfer_rect_m2mf (sy - dy)

2009-05-12 Thread Maarten Maathuis
Perhaps you should request an account, if you feel like long term contribution. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] pre-nv50 KMS

2009-05-23 Thread Maarten Maathuis
The C51 has a very strange HW cursor issue, so that is not surprising. Bug is http://bugs.freedesktop.org/show_bug.cgi?id=15758 Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] pre-nv50 KMS

2009-05-24 Thread Maarten Maathuis
It is possible that the DDX is now masking the problem very well, if only your C51 has this cursor issue then i would really suspect this kind of bug. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] Independent screens with dual head ?

2009-05-31 Thread Maarten Maathuis
No, not unless you implement it. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] Nouveau DRM kernel tree

2009-06-03 Thread Maarten Maathuis
If you had to estimate, how long did it take you to figure out evo? Anyway, it looks nice, i will certainly try when i'm home again. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] Nouveau DRM kernel tree

2009-06-07 Thread Maarten Maathuis
Any plans on merging the wfb patch or will i get that honor when i get home (in 6 weeks)? Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master' - 2 commits

2009-06-10 Thread Maarten Maathuis
I just realised that this mode of tiling is quite different from the one i observed, this one is linear inside the tile, not recursively tiled. Also, one optimisation that you can do without fixing the xserver (which should be done anyway), is to set pread and pwrite to the linear passthrough

Re: [Nouveau] When will nouveau kernel tree be merged into master

2009-07-09 Thread Maarten Maathuis
On Thu, Jul 9, 2009 at 5:23 PM, Eric Valetteeric.vale...@free.fr wrote: Maarten Maathuis wrote: This merging you probably read about, was merging 2.6.30-rc1 into the nouveau tree, because that had upstream ttm support. OK. I read it the other way round! I saw people complaining someone

Re: [Nouveau] When will nouveau kernel tree be merged into master

2009-07-09 Thread Maarten Maathuis
Noone has ever claimed working opengl, the only parts that are supported, in the sense that you can file a bug about it, are the ddx (2d) driver and the kernel module. Getting a useable memory manager in place was a prerequisite, once that and the rest of the new kernel code stabilizes i'm sure

Re: [Nouveau] Can't build xf86-video-nouveau

2009-07-10 Thread Maarten Maathuis
Probably an older version of libdrm floating around? Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] Can't build xf86-video-nouveau

2009-07-11 Thread Maarten Maathuis
You need libdrm from GIT. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] [nv04-nv40/kms] possible fix for transparent cursor issue

2009-07-20 Thread Maarten Maathuis
ThibG from irc reported an issue with transparent cursors, i noticed the ddx had a workaround, which wasn't in the kms code. ThibG (whoever you are), please test. The patch is untested. Maarten. From 7ce90b3297782e5ecada6e4e917be7a9c316d082 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis madman2

Re: [Nouveau] backlight support

2009-07-24 Thread Maarten Maathuis
There is some support for laptop backlight control. (http://cgit.freedesktop.org/nouveau/linux-2.6/tree/drivers/gpu/drm/nouveau/nouveau_backlight.c) If you have older hw, then you may need to figure out how to control it. I see only a few bug reports related to backlights, so a lot of people

[Nouveau] [PATCH] nv50: avoid a NULL-ptr dereference when the pipe context changes

2009-08-14 Thread Maarten Maathuis
- We cannot assume all state objects are present when the pipe context changes. --- src/gallium/drivers/nv50/nv50_state_validate.c | 27 +++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c

[Nouveau] [PATCH 2/4] nv50: fix thinko in nv50_vbo_validate

2009-08-15 Thread Maarten Maathuis
--- src/gallium/drivers/nv50/nv50_vbo.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c index 17283f3..018354a 100644 --- a/src/gallium/drivers/nv50/nv50_vbo.c +++

[Nouveau] [PATCH 3/4] gallium: do not rely on the automatic values of an enum for bitmask purposes

2009-08-15 Thread Maarten Maathuis
- PIPE_TRANSFER_READ ended up being defined as 0, which is obviously fail. --- src/gallium/include/pipe/p_defines.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index bc4bc70..9d47584

[Nouveau] [PATCH 4/4] nv50: borrow some flushing code from the ddx

2009-08-15 Thread Maarten Maathuis
- This fixes neverball corruption. - I'm unsure what we're actually flushing here. --- src/gallium/drivers/nv50/nv50_context.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c

Re: [Nouveau] [PATCH 4/4] drm/nouveau: fix ring buffer wrap-around

2009-08-21 Thread Maarten Maathuis
On Fri, Aug 21, 2009 at 6:58 AM, Pekka Paalanenp...@iki.fi wrote: On Thu, 20 Aug 2009 20:27:49 +0200 Maarten Maathuis madman2...@gmail.com wrote: I think the -1 on chan-dma.free is unnecessary. Maybe it is for the wrap-around jump command, the OUT_RING? I don't any other way of reserving

Re: [Nouveau] [PATCH] drm/nouveau: rewrite nouveau_dma_wait()

2009-08-21 Thread Maarten Maathuis
The timeout is too short, the gallium driver will easily trigger an assert. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [PATCH] drm/nouveau: rewrite nouveau_dma_wait()

2009-08-21 Thread Maarten Maathuis
On Sat, Aug 22, 2009 at 1:26 AM, Ben Skeggsskeg...@gmail.com wrote: On Fri, 2009-08-21 at 21:30 +0200, Maarten Maathuis wrote: The timeout is too short, the gallium driver will easily trigger an assert. Oops, that was a typo.  Thanks, fixed. Any other comments? Not really, it's been running

Re: [Nouveau] [PATCH 1/2] man page: Fix the supported fb depths.

2009-08-24 Thread Maarten Maathuis
On Mon, Aug 24, 2009 at 4:03 PM, Francisco Jerezcurroje...@riseup.net wrote: Signed-off-by: Francisco Jerez curroje...@riseup.net ---  man/nouveau.man |    7 ---  1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/man/nouveau.man b/man/nouveau.man index 87f645a..5c4e4ae

[Nouveau] [PATCH] drm/nouveau: init some list_heads

2009-08-26 Thread Maarten Maathuis
- In the case of nvbo-head it is really important to avoid an OOPS if ttm_buffer_object_init fails. Signed-off-by: Maarten Maathuis madman2...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_bo.c |2 ++ drivers/gpu/drm/nouveau/nouveau_channel.c |1 + drivers/gpu/drm/nouveau

Re: [Nouveau] Debugging help needed

2009-08-29 Thread Maarten Maathuis
What are you using? are you using master from the nouveau kernel? git versions for the rest? self made or prepackaged stuff? More info is a must. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org

Re: [Nouveau] Put acpi/backlight code into kernel

2009-09-14 Thread Maarten Maathuis
Find someone who wants to create and maintain it. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] [PATCH 1/2] nv50: use flush_notify to reduce number of relocs

2009-09-14 Thread Maarten Maathuis
--- src/gallium/drivers/nv50/nv50_context.c|3 +++ src/gallium/drivers/nv50/nv50_context.h|1 + src/gallium/drivers/nv50/nv50_state_validate.c |6 ++ 3 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_context.c

[Nouveau] [PATCH 2/2] nv50: avoid excessive FIRE_RING

2009-09-14 Thread Maarten Maathuis
--- src/gallium/drivers/nv50/nv50_context.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index 935de8a..6b31da4 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++

[Nouveau] [PATCH] nouveau: avoid running out of relocs

2009-12-04 Thread Maarten Maathuis
Signed-off-by: Maarten Maathuis madman2...@gmail.com --- src/gallium/drivers/nouveau/nouveau_stateobj.h | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_stateobj.h b/src/gallium/drivers/nouveau/nouveau_stateobj.h index

[Nouveau] [PATCH] nouveau: avoid running out of relocs

2009-12-04 Thread Maarten Maathuis
Signed-off-by: Maarten Maathuis madman2...@gmail.com --- src/gallium/drivers/nouveau/nouveau_stateobj.h | 12 src/gallium/drivers/nv50/nv50_query.c |2 +- src/gallium/drivers/nv50/nv50_surface.c|2 ++ src/gallium/drivers/nv50/nv50_transfer.c |4

[Nouveau] [PATCH] nouveau: avoid running out of relocs (attempt 3)

2009-12-05 Thread Maarten Maathuis
- NV30 and NV40 need testing. - I'll take better naming suggestions for so_get_push_reloc(). --- src/gallium/drivers/nouveau/nouveau_stateobj.h | 49 +++- src/gallium/drivers/nv04/nv04_surface_2d.c |9 +++- src/gallium/drivers/nv30/nv30_state_emit.c | 26

[Nouveau] [PATCH] nouveau: avoid running out of relocs (attempt 4)

2009-12-05 Thread Maarten Maathuis
- Added flush notify functions for NV30 and NV40. - NV30 and NV40 need testing. --- src/gallium/drivers/nouveau/nouveau_stateobj.h | 42 ++-- src/gallium/drivers/nv04/nv04_surface_2d.c |9 +++-- src/gallium/drivers/nv30/nv30_context.c|3 ++

Re: [Nouveau] low memory

2009-12-11 Thread Maarten Maathuis
On Fri, Dec 11, 2009 at 8:11 PM, Xavier shinin...@gmail.com wrote: On Fri, Dec 11, 2009 at 1:30 PM, Ben Skeggs skeg...@gmail.com wrote: On Fri, 2009-12-11 at 13:23 +0100, Anders Eriksson wrote: skeg...@gmail.com said: It'd be useful to know of any cases out there where UMS is being used

Re: [Nouveau] low memory

2009-12-12 Thread Maarten Maathuis
On Sat, Dec 12, 2009 at 1:04 AM, Maarten Maathuis madman2...@gmail.com wrote: On Fri, Dec 11, 2009 at 8:11 PM, Xavier shinin...@gmail.com wrote: On Fri, Dec 11, 2009 at 1:30 PM, Ben Skeggs skeg...@gmail.com wrote: On Fri, 2009-12-11 at 13:23 +0100, Anders Eriksson wrote: skeg...@gmail.com said

Re: [Nouveau] [PATCH] nouveau: avoid running out of relocs (attempt 4)

2009-12-12 Thread Maarten Maathuis
On Sat, Dec 5, 2009 at 9:55 PM, Maarten Maathuis madman2...@gmail.com wrote: - Added flush notify functions for NV30 and NV40. - NV30 and NV40 need testing. ---  src/gallium/drivers/nouveau/nouveau_stateobj.h |   42 ++--  src/gallium/drivers/nv04/nv04_surface_2d.c

[Nouveau] [PATCH] nouveau: avoid running out of relocs (attempt 5)

2009-12-13 Thread Maarten Maathuis
- Added flush notify functions for NV30 and NV40. - NV30 and NV40 need testing (check for regressions). --- src/gallium/drivers/nouveau/nouveau_stateobj.h | 47 +++- src/gallium/drivers/nv04/nv04_surface_2d.c |9 +++-- src/gallium/drivers/nv30/nv30_context.c|

[Nouveau] [PATCH] drm/nouveau: use drm debug levels

2009-12-13 Thread Maarten Maathuis
- Use driver level (0x2) for NV_DEBUG instead of all levels - Create a NV_DEBUG_KMS for KMS level (04) and use them in modesetting code - Remove a few odd NV_TRACE calls and replace with NV_DEBUG_KMS Signed-off-by: Maarten Maathuis madman2...@gmail.com --- drivers/gpu/drm/nouveau/nouveau_bios.c

Re: [Nouveau] [PATCH] drm/nouveau: use drm debug levels

2009-12-13 Thread Maarten Maathuis
On Sun, Dec 13, 2009 at 4:56 PM, Maarten Maathuis madman2...@gmail.com wrote: - Use driver level (0x2) for NV_DEBUG instead of all levels - Create a NV_DEBUG_KMS for KMS level (04) and use them in modesetting code I just noticed this typo, replaced it with 0x4 in my local copy. - Remove a few

Re: [Nouveau] [PATCH] drm/nouveau: use drm debug levels

2009-12-13 Thread Maarten Maathuis
In case it isn't clear, i can push this myself, just need a few acks so i know people agree. Maarten. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [PATCH] drm/nouveau: use drm debug levels

2009-12-14 Thread Maarten Maathuis
On Sun, Dec 13, 2009 at 8:56 PM, Francisco Jerez curroje...@riseup.net wrote: Maarten Maathuis madman2...@gmail.com writes: - Use driver level (0x2) for NV_DEBUG instead of all levels - Create a NV_DEBUG_KMS for KMS level (04) and use them in modesetting code - Remove a few odd NV_TRACE calls

[Nouveau] [PATCH] drm/nouveau: use drm debug levels

2009-12-14 Thread Maarten Maathuis
- Use driver level (0x2) for NV_DEBUG instead of all levels - Create a NV_DEBUG_KMS for KMS level (0x4) and use them in modesetting code - Remove a few odd NV_TRACE calls and replace some of them with NV_DEBUG_KMS or NV_INFO Signed-off-by: Maarten Maathuis madman2...@gmail.com --- drivers/gpu

[Nouveau] questions about the changes in development model

2009-12-16 Thread Maarten Maathuis
Now that we are in staging and patches are expected to be pulled into that tree (instead of one big nouveau commit) it seems obvious that commits should try to follow the kernel rules. Some are more obvious than others, i for one just remembered that patches should be run through checkpatch. My

[Nouveau] [PATCH] nouveau: don't emit reloc markers for bo's that are mapped

2009-12-17 Thread Maarten Maathuis
Signed-off-by: Maarten Maathuis madman2...@gmail.com --- src/gallium/drivers/nouveau/nouveau_stateobj.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_stateobj.h b/src/gallium/drivers/nouveau/nouveau_stateobj.h index 9aee9e4

Re: [Nouveau] [PATCH] nouveau: don't emit reloc markers for bo's that are mapped

2009-12-18 Thread Maarten Maathuis
On Fri, Dec 18, 2009 at 10:57 AM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: Maarten Maathuis schrieb: Signed-off-by: Maarten Maathuis madman2...@gmail.com ---  src/gallium/drivers/nouveau/nouveau_stateobj.h |    9 +  1 files changed, 9 insertions(+), 0 deletions

[Nouveau] we don't synchronize in our buffer object move driver hook

2009-12-18 Thread Maarten Maathuis
ttm_bo_validate() calls ttm_bo_move_buffer() which calls ttm_bo_handle_move_mem() which calls bdev-driver-move() which calls nouveau_bo_move_m2mf(), which doesn't ensure synchronization (nowait == false) if the bo is moved on another channel (which is common for nv50). I suspect this to be the

  1   2   3   >