summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-05 14:52:53 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitd78be0188e2505f8b49f5e9b65755275db545d9d (patch)
tree96d53a812576e25723662e5a2cd446723e794111 /src
parente4aa8338c30de2f99de86bcfb1a3a39a21cea5e9 (diff)
iris: fix icache memzone
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 92c9b038a3d..2a9c8ec1174 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -264,7 +264,7 @@ iris_resource_create_with_modifiers(struct pipe_screen *pscreen,
}
res->bo = iris_bo_alloc_tiled(screen->bufmgr, name, res->surf.size_B,
- IRIS_MEMZONE_OTHER,
+ memzone,
isl_tiling_to_i915_tiling(res->surf.tiling),
res->surf.row_pitch_B, 0);
if (!res->bo)