Skip to contentSkip to conversation

nv04_exa: kill useless WAIT_RING

PATCH In review Xavier Chantry 2 participants 2 messages Dec 19, 2010 – Dec 25, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nv04_exa: kill useless WAIT_RING

---
 src/nv04_exa.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
src/nv04_exa.c +0 -2
index 2760d4b..bc20ca3 100644
@@ -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);
Signature · 1 line
1.7.3.3
#2 lore raw
In reply to a message not in the archive
Quoted 17 lines · Xavier Chantry
---
 src/nv04_exa.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
src/nv04_exa.c +0 -1
index 2760d4b..bc20ca3 100644
@@ -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);

src/nv04_exa.c NV04EXACopy(PixmapPtr pDstPixmap, int srcX, int srcY, int dstX, int dstY, · line 282

Quoted 7 lines
src/nv04_exa.c +0 -1
@@ -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.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau