i965/bufmgr: Use the correct argument order for bo_alloc_internal

The memzone and flags parameters were accidentally flipped in the call
from brw_bo_alloc_tiled_2d.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jason Ekstrand 2018-06-26 18:32:38 -07:00
parent 60e6b6fa96
commit 6a35ba5ce9

View file

@ -720,8 +720,8 @@ brw_bo_alloc_tiled_2d(struct brw_bufmgr *bufmgr, const char *name,
if (tiling == I915_TILING_NONE)
stride = 0;
return bo_alloc_internal(bufmgr, name, size, flags,
memzone, tiling, stride);
return bo_alloc_internal(bufmgr, name, size, memzone,
flags, tiling, stride);
}
/**