[Nouveau] [PATCH] nv04_exa: kill useless WAIT_RING

Francisco Jerez currojerez at riseup.net
Sat Dec 25 05:58:57 PST 2010


Xavier Chantry <chantry.xavier at gmail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20101225/33739a63/attachment-0001.pgp>


More information about the Nouveau mailing list