iris: fix memzone_for_address since multibinder changes

This commit is contained in:
Chris Wilson 2018-09-14 15:12:36 -07:00 committed by Kenneth Graunke
parent f6924e2379
commit 1a61a211f0

View file

@ -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;
}