iris: rw_bo for pipe controls
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 18 Sep 2018 04:15:48 +0000 (21:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
this is used for WRITE IMMEDIATE...
but maybe we don't want to for the workaround BO?

src/gallium/drivers/iris/iris_state.c

index 0485a8aa2fd75de2967126872cd2dfc1d5b2ccd9..57b4387696206845018b42acd7630418149e3845 100644 (file)
@@ -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;
    }
 }