From af9fe0d472f2fa5dbe0d6c44e5452648d8c94194 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 17 Sep 2018 21:15:48 -0700 Subject: [PATCH] iris: rw_bo for pipe controls this is used for WRITE IMMEDIATE... but maybe we don't want to for the workaround BO? --- src/gallium/drivers/iris/iris_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 0485a8aa2fd..57b43876962 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -4436,7 +4436,7 @@ iris_emit_raw_pipe_control(struct iris_batch *batch, uint32_t flags, flags & PIPE_CONTROL_INDIRECT_STATE_POINTERS_DISABLE; pc.TextureCacheInvalidationEnable = flags & PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE; - pc.Address = ro_bo(bo, offset); + pc.Address = rw_bo(bo, offset); pc.ImmediateData = imm; } } -- 2.30.2