Mesa (master): freedreno/a6xx: don't emit YIELD packet

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 28 17:12:35 UTC 2020


Module: Mesa
Branch: master
Commit: 9724a7c1055fb661794cdd65839812974c7e00e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9724a7c1055fb661794cdd65839812974c7e00e6

Author: Rob Clark <robdclark at chromium.org>
Date:   Fri Feb 21 08:30:59 2020 -0800

freedreno/a6xx: don't emit YIELD packet

We don't implement the rest of this.. and it would probably cause bad
things when kernel gains support for preemption.

Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>

---

 src/gallium/drivers/freedreno/a6xx/fd6_gmem.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
index 3214967c07c..6fc9b5c06eb 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
@@ -1355,9 +1355,6 @@ fd6_emit_tile_gmem2mem(struct fd_batch *batch, const struct fd_tile *tile)
 	} else {
 		emit_conditional_ib(batch, tile, batch->tile_fini);
 	}
-
-	OUT_PKT7(ring, CP_SET_MARKER, 1);
-	OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_YIELD));
 }
 
 static void



More information about the mesa-commit mailing list