Re: [Nouveau] [PATCH] nv04_exa: kill useless WAIT_RING

2010-12-25 Thread Francisco Jerez
Xavier Chantry  writes:

> ---
>  src/nv04_exa.c |2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/src/nv04_exa.c b/src/nv04_exa.c
> index 2760d4b..bc20ca3 100644
> --- a/src/nv04_exa.c
> +++ b/src/nv04_exa.c
> @@ -148,7 +148,6 @@ NV04EXASolid (PixmapPtr pPixmap, int x1, int y1, int x2, 
> int y2)
>   int width = x2-x1;
>   int height = y2-y1;
>  
> - WAIT_RING (chan, 3);
>   BEGIN_RING(chan, rect,
>  NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT(0), 2);
>   OUT_RING  (chan, (x1 << 16) | y1);
> @@ -278,7 +277,6 @@ NV04EXACopy(PixmapPtr pDstPixmap, int srcX, int srcY, int 
> dstX, int dstY,
>   dstY = 0;
>   }
>  
> - WAIT_RING (chan, 4);
>   BEGIN_RING(chan, blit, NV01_IMAGE_BLIT_POINT_IN, 3);
>   OUT_RING  (chan, (srcY << 16) | srcX);
>   OUT_RING  (chan, (dstY << 16) | dstX);

Thanks, pushed.


pgpe7NrN8jzDN.pgp
Description: PGP signature
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [PATCH] nv04_exa: kill useless WAIT_RING

2010-12-19 Thread Xavier Chantry
---
 src/nv04_exa.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/nv04_exa.c b/src/nv04_exa.c
index 2760d4b..bc20ca3 100644
--- a/src/nv04_exa.c
+++ b/src/nv04_exa.c
@@ -148,7 +148,6 @@ NV04EXASolid (PixmapPtr pPixmap, int x1, int y1, int x2, 
int y2)
int width = x2-x1;
int height = y2-y1;
 
-   WAIT_RING (chan, 3);
BEGIN_RING(chan, rect,
   NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT(0), 2);
OUT_RING  (chan, (x1 << 16) | y1);
@@ -278,7 +277,6 @@ NV04EXACopy(PixmapPtr pDstPixmap, int srcX, int srcY, int 
dstX, int dstY,
dstY = 0;
}
 
-   WAIT_RING (chan, 4);
BEGIN_RING(chan, blit, NV01_IMAGE_BLIT_POINT_IN, 3);
OUT_RING  (chan, (srcY << 16) | srcX);
OUT_RING  (chan, (dstY << 16) | dstX);
-- 
1.7.3.3

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau