From: Kenneth Graunke Date: Thu, 5 Apr 2018 21:52:53 +0000 (-0700) Subject: iris: fix icache memzone X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d78be0188e2505f8b49f5e9b65755275db545d9d;p=mesa.git iris: fix icache memzone --- 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)