From 1a61a211f0a875050882bb050b170ecafb48faaf Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 14 Sep 2018 15:12:36 -0700 Subject: [PATCH] iris: fix memzone_for_address since multibinder changes --- src/gallium/drivers/iris/iris_bufmgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index 50e7d4f715d..30f9746a308 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -259,12 +259,12 @@ memzone_for_address(uint64_t address) if (address > IRIS_MEMZONE_DYNAMIC_START) return IRIS_MEMZONE_DYNAMIC; - if (address > IRIS_MEMZONE_BINDER_START) - return IRIS_MEMZONE_BINDER; - if (address > IRIS_MEMZONE_SURFACE_START) return IRIS_MEMZONE_SURFACE; + if (address > IRIS_MEMZONE_BINDER_START) + return IRIS_MEMZONE_BINDER; + return IRIS_MEMZONE_SHADER; } -- 2.30.2