freedreno/a6xx: don't emit YIELD packet
authorRob Clark <robdclark@chromium.org>
Fri, 21 Feb 2020 16:30:59 +0000 (08:30 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 16:53:40 +0000 (16:53 +0000)
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@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>

src/gallium/drivers/freedreno/a6xx/fd6_gmem.c

index 3214967c07c5c04e34c602535a193c42bfc8fc69..6fc9b5c06eb1484550306711625d2ddf2d592b88 100644 (file)
@@ -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