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

2010-02-26 Thread Matt Turner
CC: Ben Skeggs Signed-off-by: Matt Turner --- drivers/gpu/drm/nouveau/nv04_fbcon.c |2 +- drivers/gpu/drm/nouveau/nv50_fbcon.c |2 +- drivers/gpu/drm/nouveau/nv50_instmem.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv04_fbcon.c

[Nouveau] [PATCH] renouveau/nv10: remove duplicate vertex buffer registers

2010-02-26 Thread Luca Barbieri
NV10TCL defines the vertex buffer registers both as arrays and as individual named registers. This causes duplicate register definitions and the individual registers are not used either by the DDX or by the Mesa driver. Francisco Jerez said to remove them all. Signed-off-by: Luca Barbieri ---

[Nouveau] [PATCH 4/5] renouveau/nv30: remove clip planes #6 and #7

2010-02-26 Thread Luca Barbieri
These are defined for nv30 and not nv40, and they probably don't exist in the hardware. Both DirectX and OpenGL nVidia drivers support only 6 clip planes on pre-nv50 hardware. Neither the DDX nor the Gallium driver support user clip planes at all on nv30. This makes the definition the same as nv

[Nouveau] [PATCH 3/5] renouveau/nv40: set NV40TCL_LINE_STIPPLE_PATTERN to hexa like nv30

2010-02-26 Thread Luca Barbieri
--- renouveau.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/renouveau.xml b/renouveau.xml index 2b6e8d7..d305a8e 100644 --- a/renouveau.xml +++ b/renouveau.xml @@ -4271,7 +4271,7 @@ - + -- 1.6.6.1.476.g01ddb __

[Nouveau] [PATCH 2/5] renouveau/nv40: describe CLEAR_VALUE_COLOR bitfields

2010-02-26 Thread Luca Barbieri
--- renouveau.xml |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/renouveau.xml b/renouveau.xml index 2bfa1d0..2b6e8d7 100644 --- a/renouveau.xml +++ b/renouveau.xml @@ -4253,7 +4253,12 @@ - + + + + + +

[Nouveau] [PATCH 0/5] renouveau: nv30/nv40 unification

2010-02-26 Thread Luca Barbieri
This patchset applies some minor fixes to renouveau.xml and then unifies the nv30 and nv40 register definitions. nv30 and nv40 are very similar and have the same offsets for the registers they share. The major differences are: 1. Texture setup is different due to full NPOT support on nv40 2. More

[Nouveau] [PATCH 1/5] renouveau: completely describe POINT_SPRITE on nv30 and nv40

2010-02-26 Thread Luca Barbieri
This matches the behavior of the Gallium drivers. On nv20, only texture unit 3 is accelerated (according to the NV_point_sprite spec, and that is probably why only bitfield 11 was defined on nv30). --- renouveau.xml | 26 ++ 1 files changed, 22 insertions(+), 4 deletions

[Nouveau] [Bug 26767] kmemleak complain about possible memory leak

2010-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26767 --- Comment #1 from Felipe Balbi 2010-02-26 01:59:36 PST --- looking at the actual code, it appears to be a false positive since idr_remove() is called on drm_gem_handle_delete(). If I'm right, please close this bug and sorry for the inconve

[Nouveau] [Bug 26767] New: kmemleak complain about possible memory leak

2010-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26767 Summary: kmemleak complain about possible memory leak Product: xorg Version: 7.5 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium