summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-09-14 15:12:36 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commit1a61a211f0a875050882bb050b170ecafb48faaf (patch)
treef801da68598edf87fecdf5bb9a1af08f465ef9b2 /src/gallium/drivers/iris/iris_bufmgr.c
parentf6924e23796ba0bd8b99b9bced9383fc50d22b0f (diff)
iris: fix memzone_for_address since multibinder changes
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.c')
-rw-r--r--src/gallium/drivers/iris/iris_bufmgr.c6
1 files 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;
}