From: Kenneth Graunke Date: Tue, 18 Sep 2018 04:15:48 +0000 (-0700) Subject: iris: rw_bo for pipe controls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af9fe0d472f2fa5dbe0d6c44e5452648d8c94194;p=mesa.git iris: rw_bo for pipe controls this is used for WRITE IMMEDIATE... but maybe we don't want to for the workaround BO? --- 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; } }