iris: fix icache memzone
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 5 Apr 2018 21:52:53 +0000 (14:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_resource.c

index 92c9b038a3d522a63787eca9aba269ef4ed29410..2a9c8ec11742f668999ee78ed2e8feb8560c9db6 100644 (file)
@@ -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)